Skip to content

fix(deps): bump mcp to 1.30.0 and kagent-tools to 0.3.2 on release/v0.10.x - #3779

Merged
iplay88keys merged 2 commits into
release/v0.10.xfrom
danielle-mustillo/cve-mcp
Nov 23, 2026
Merged

iplay88keys merged 2 commits into
release/v0.10.xfrom
danielle-mustillo/cve-mcp

Conversation

@danielle-mustillo

@danielle-mustillo danielle-mustillo commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Fixes CVEs in the app, app-full and tools images on release/v0.10.x.

What changed

Verification

  • uv lock --upgrade-package mcp changes only the mcp entry.
  • pytest packages/kagent-adk packages/kagent-core: 519 passed. The 9 failures are TLS e2e tests in test_tls_e2e.py; the same 9 fail on release/v0.10.x without this change.
  • make helm-test pulls kagent-tools 0.3.2; 313 chart tests pass. The chart renders ghcr.io/kagent-dev/kagent/tools:0.3.2.
  • The released tools:0.3.2 image has helm 4.3.2 (go1.27.4), cilium-cli 0.20.3 (go1.27.3), and istioctl with go-jose 4.1.7 and klauspost/compress 1.20.3.

Release note

Updated `mcp` to 1.30.0 and `kagent-tools` to 0.3.2 to fix CVE-2026-115563, CVE-2026-111943, CVE-2026-116587 and CVE-2026-116591. A `RemoteMCPServer` whose URL redirects to another host or port now fails to connect; set its URL to the redirect target.

/kind fix

Follow-up to #3738.

app and app-full install mcp from python/uv.lock. Bump it from 1.28.1
to 1.30.0.

Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
@github-actions github-actions Bot added the bug Something isn't working label Nov 23, 2026
@danielle-mustillo
danielle-mustillo marked this pull request as ready for review November 23, 2026 19:41
@danielle-mustillo
danielle-mustillo requested a review from a team as a code owner November 23, 2026 19:41
kagent-tools 0.3.2 bundles helm 4.3.2 and cilium-cli 0.20.3, which fix
CVE-2026-111943, CVE-2026-116587 and CVE-2026-116591 in the tools image.

Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
@danielle-mustillo danielle-mustillo changed the title fix(deps): bump mcp to 1.30.0 for CVE-2026-115563 on release/v0.10.x fix(deps): bump mcp to 1.30.0 and kagent-tools to 0.3.2 on release/v0.10.x Nov 23, 2026
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Nov 23, 2026

@iplay88keys iplay88keys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 AI-generated review. I reviewed the findings before posting.

Two small notes below. Neither blocks the merge.

Comment thread python/uv.lock
[[package]]
name = "mcp"
version = "1.28.1"
version = "1.30.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mcp 1.30.0 follows MCP redirects only on the same origin. It ignores follow_redirects: True in kagent/adk/types.py:165. A RemoteMCPServer URL that redirects to another host or port now fails at connect. Please add this to the PR body for the release notes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added it to the release-note block in the PR body. mcp 1.30.0 still follows a same-origin redirect (such as /mcp -> /mcp/) and an http -> https upgrade on the same host. A redirect to another host or port now fails at connect, with an error that names the redirect target. I sent an MCP initialize request to 20 public MCP servers (GitHub, Notion, Linear, Atlassian, Sentry, Stripe, Hugging Face, Cloudflare and others): none of them answered with a redirect.

condition: substrate.enabled
- name: kagent-tools
version: 0.3.1
version: 0.3.2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main still uses kagent-tools 0.3.1, so these CVEs stay open there. Is a main PR planned?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes: #3781 bumps kagent-tools to 0.3.2 on main. main already has mcp 2.3.0, which has the CVE-2026-115563 fix, so it needs only the tools bump.

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Nov 23, 2026
@iplay88keys
iplay88keys merged commit 16e5363 into release/v0.10.x Nov 23, 2026
37 checks passed
@iplay88keys
iplay88keys deleted the danielle-mustillo/cve-mcp branch November 23, 2026 21:32
alan-bentley-pgh pushed a commit to alan-bentley-pgh/kagent that referenced this pull request Nov 23, 2026
Fixes CVEs in the `tools` image on `main`. Same fix as kagent-dev#3779 on
`release/v0.10.x`.

## What changed

- `helm/kagent/Chart-template.yaml`: `kagent-tools` chart 0.3.1 ->
0.3.2. kagent-tools 0.3.2 bundles helm 4.3.2 and cilium-cli 0.20.3
(kagent-dev/tools#118), which fix CVE-2026-111943, CVE-2026-116587 and
CVE-2026-116591 in the `tools` image.
- `helm/kagent/files/builtin-skills.json`: regenerated with `make
builtin-skills-catalog` for the 0.3.2 image digest. The skills in it are
unchanged.

`main` does not need the `mcp` bump from kagent-dev#3779: it already uses `mcp`
2.3.0, and CVE-2026-115563 is fixed in 2.2.0.

## Verification

- `make helm-test` pulls kagent-tools 0.3.2; 385 chart tests pass. The
chart renders `ghcr.io/kagent-dev/kagent/tools:0.3.2`.

## Release note

```release-note
Updated `kagent-tools` to 0.3.2 to fix CVE-2026-111943, CVE-2026-116587 and CVE-2026-116591.
```

/kind fix

Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants