Skip to content

fix(deps): bump bundled helm to 4.3.2 and cilium-cli to 0.20.3 - #118

Merged
danielle-mustillo merged 2 commits into
mainfrom
danielle-mustillo/cve-bundled-clis
Nov 20, 2026
Merged

danielle-mustillo merged 2 commits into
mainfrom
danielle-mustillo/cve-bundled-clis

Conversation

@danielle-mustillo

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

Copy link
Copy Markdown
Contributor

Why

The tools:0.3.1 image has HIGH CVEs in the helm and cilium-cli binaries that it bundles. Newer releases of both CLIs fix them.

What changed

  • TOOLS_HELM_VERSION 4.3.1 → 4.3.2 (built with Go 1.27.4).
  • TOOLS_CILIUM_VERSION 0.20.2 → 0.20.3 (golang.org/x/net 0.62.0).

Scope

  • Fixes two HIGH CVEs from the 0.3.1 scan. The appendix lists them.
  • Cannot be fixed yet: the CVEs in kubectl 1.37.2 and kubectl-argo-rollouts 1.10.2, including one CRITICAL. Neither CLI has a stable release with the fixes. CVE-2026-78661 stays flagged on the image until both CLIs update.

Blast Radius

The helm_* and cilium_* tools now call the new CLI versions. Both are patch releases. In the A/B test below, every helm_*, istio_* and cilium_* tool gave the same result on 0.3.1 and on this branch.

Verification

  • make docker-build (arm64), then go version -m on each binary in /opt/kagent-tools/bin. helm has Go 1.27.4 and x/net 0.62.0. cilium has x/net 0.62.0. istioctl has go-jose 4.1.7 and klauspost/compress 1.20.3.
  • A/B test on a kind cluster with Cilium 1.20.3 and Istio 1.32.0 ambient. tools:0.3.1 and an image from this branch ran side by side. All 50 read-only helm_*, istio_* and cilium_* tools ran twice on each image. No regressions: each image had 39 passes and the same 11 failures. Nine failures need cluster features that are off. Two are existing bugs in istio_waypoint_status and istio_ztunnel_config.

Appendix: CVEs

Fixed by this PR:

CVE Severity CLI in 0.3.1 → 0.3.2
CVE-2026-111943 HIGH helm 4.3.1 → 4.3.2
CVE-2026-78661 HIGH cilium-cli 0.20.2 → 0.20.3

Still open (no stable release with the fixes):

CLI CVEs Fix lands in
kubectl 1.37.2 CVE-2026-78663 (CRITICAL), x/net, x/text v1.38, or v1.37.3 via kubernetes/kubernetes#143802
kubectl-argo-rollouts 1.10.2 x/net, x/text, x/crypto, grpc, otel, compress none stable yet

Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
@danielle-mustillo
danielle-mustillo marked this pull request as ready for review November 19, 2026 19:32
@danielle-mustillo
danielle-mustillo marked this pull request as draft November 19, 2026 19:34
@danielle-mustillo
danielle-mustillo marked this pull request as ready for review November 19, 2026 22:59

@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.

Optional: helm-unit-tests still pins Helm v4.3.1 (.github/workflows/ci.yaml:119). #104 kept it in step with the bundled version, so bumping it to v4.3.2 would keep them aligned.

Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
@danielle-mustillo

Copy link
Copy Markdown
Contributor Author

Agreed, done

@danielle-mustillo
danielle-mustillo merged commit 073c2b3 into main Nov 20, 2026
10 of 11 checks passed
iplay88keys pushed a commit to kagent-dev/kagent that referenced this pull request Nov 23, 2026
….10.x (#3779)

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

## What changed

- `python/uv.lock`: `mcp` (Python SDK) 1.28.1 -> 1.30.0, for
CVE-2026-115563 (the OAuth client could send credentials to an
authorization server chosen by the MCP server). `kagent-adk` already
allows it (`mcp>=1.25.0`). `python/Dockerfile` and
`python/Dockerfile.full` install with `uv sync --frozen`, so both images
pick it up.
- `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.

## 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

```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.

---------

Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants