Skip to content

fix(security): renew the kubectl Trivy ignores of the MCP image - #6088

Merged
dan-petty merged 2 commits into
mainfrom
fix/6079-renew-mcp-kubectl-ignores
Nov 17, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/6079-renew-mcp-kubectl-ignores

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Since 2026-11-17 00:00 UTC, the three entries of .trivyignore-mcp-server for the pinned kubectl v1.37.2 are past their date. Thus the scan of the MCP server image and an invariant test fail on main and on each pull request.

No stable kubectl release holds the fixes. v1.37.2 is the newest stable release, and its go.mod and the go.mod of the branch release-1.37 hold golang.org/x/text v0.40.0 (CVE-2026-56851, fixed in 0.41.0) and golang.org/x/net v0.57.0 (CVE-2026-78669, fixed in 0.60.0; CVE-2026-78661, fixed in 0.62.0). Only the pre-release v1.38.0-beta.0 holds the fixes. As SECURITY.md "A Finding with No Fix" lets an agent do, the three entries get 3 more days, to 2026-11-20, in the limit of 14 days in all (2026-11-22). Issue #6084 tracks the kubectl bump that removes them.

Closes #6079

Change: openspec/changes/archive/2026-11-17-6079-renew-mcp-kubectl-ignores/

No stable kubectl release holds the fixes of CVE-2026-56851, CVE-2026-78669 and CVE-2026-78661. Renew the three entries for 3 days, to 2026-11-20, in the limit of 14 days (2026-11-22). #6084 tracks the kubectl bump.
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 17, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Proof of no released fix (read on 2026-11-17)

SECURITY.md "A Finding with No Fix" asks for this proof.

Finding Package in kubectl v1.37.2 Fixed version (Go vulnerability database) Renewed entry Tracking issue
CVE-2026-56851 (HIGH) golang.org/x/text v0.40.0 0.41.0, GO-2026-6629 exp:2026-11-20 #6084
CVE-2026-78669 (HIGH) golang.org/x/net v0.57.0 0.60.0, GO-2026-6611 exp:2026-11-20 #6084
CVE-2026-78661 (HIGH) golang.org/x/net v0.57.0 0.62.0, GO-2026-6860 exp:2026-11-20 #6084
  • Newest stable kubectl: v1.37.2. Sources: https://dl.k8s.io/release/stable.txt and https://dl.k8s.io/release/stable-1.37.txt. The release list of kubernetes/kubernetes gives v1.37.2, v1.36.6, v1.35.10 and v1.34.13, all from 2026-10-28. v1.38.0-beta.0 (2026-11-06) is a pre-release.
  • go.mod of kubernetes/kubernetes:
    • v1.37.2 and the branch release-1.37 have x/net v0.57.0 and x/text v0.40.0.
    • v1.36.6 has x/net v0.56.0 and x/text v0.39.0.
    • Only v1.38.0-beta.0 and master have x/net v0.62.0 and x/text v0.43.0.
  • Trivy 0.76.2 (DB of 2026-11-16) on the kubectl 1.37.2 linux-amd64 binary uses rootfs --scanners vuln --severity HIGH,CRITICAL --ignore-unfixed --exit-code 1. The digest of the binary is the same as in tools.lock.
    • With no ignore file, the scan exits 1 and shows CVE-2026-78669 and CVE-2026-56851.
    • With --ignorefile .trivyignore-mcp-server of this branch, the scan exits 0.
    • This DB does not show CVE-2026-78661 for the binary. The entry stays because the requirement "The MCP ignore file holds the kubectl x/net entry" asks for it.
  • Cap: the first entries are from 2026-11-08, so the limit of 14 days in all is 2026-11-22. A renewal on 2026-11-20 can go to 2026-11-22 only. After that date, the owner decides.
  • Local check: uv run devops ci test tests/invariants/test_mcp_server_image.py gives 14 passed. On the base, the same command gave 1 failed and 13 passed.

@dan-petty
dan-petty marked this pull request as ready for review November 17, 2026 00:35
@dan-petty
dan-petty enabled auto-merge (squash) November 17, 2026 00:35
@dan-petty
dan-petty merged commit 73ca153 into main Nov 17, 2026
22 checks passed
@dan-petty
dan-petty deleted the fix/6079-renew-mcp-kubectl-ignores branch November 17, 2026 00:37
dan-petty-release Bot added a commit that referenced this pull request Nov 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.169.2](v0.169.1...v0.169.2)
(2026-11-17)


### Bug Fixes

* **cloudflare:** Key the webhook rate limit on each client
([#6050](#6050))
([9cc974b](9cc974b))
* **deps:** give a Helm chart update the fix prefix
([#6057](#6057))
([9b69d07](9b69d07)),
closes [#6054](#6054)
* **deps:** give SearXNG its own Renovate branch behind approval
([#6052](#6052))
([515a968](515a968))
* **deps:** update helm charts (patch)
([#6046](#6046))
([ebc1e68](ebc1e68))
* **k8s:** Roll the MCP server with no gap
([#6070](#6070))
([00c730b](00c730b))
* **k8s:** State the NVMe rule and cover CNPG claims
([#6062](#6062))
([e04435a](e04435a))
* **security:** renew the kubectl Trivy ignores of the MCP image
([#6088](#6088))
([73ca153](73ca153))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(security): Renew or drop the expired kubectl ignores of the MCP image

1 participant