Skip to content

fix(security): extend the kubectl Trivy ignores to 2026-12-15 - #6574

Merged
dan-petty merged 2 commits into
mainfrom
fix/6573-kubectl-ignore-owner-date
Nov 21, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/6573-kubectl-ignore-owner-date

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The MCP Server Image check fails because two kubectl entries in .trivyignore.yaml expired on 2026-11-21. Two more expire on 2026-11-22.

No stable kubectl release holds the fixes on 2026-11-21. kubectl v1.37.2 is the newest stable release, and its go.mod holds x/net v0.57.0 and x/text v0.40.0. The 14-day limit of SECURITY.md (A Finding with No Fix) ends on 2026-11-22 for the oldest entries, so an agent cannot renew them. On 2026-11-21, the owner extended the entries to 2026-12-15.

This change sets expired_at: 2026-12-15 on the four kubectl entries: CVE-2026-56851, CVE-2026-78669, CVE-2026-78661 and CVE-2026-97054. Each statement names the owner decision. The ids, paths and purls do not change. The kubectl bump deletes the entries (Refs #6084).

Closes #6573

Change: openspec/changes/archive/2026-11-21-6573-kubectl-ignore-owner-date/

…r decision

No stable kubectl release holds x/net 0.62.0, x/text 0.41.0 or Go 1.26.11 on 2026-11-21.
The owner extended the four kubectl entries past the 14-day limit (SECURITY.md, A Finding
with No Fix).

Refs #6084
@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 21, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence for the kubectl entries in .trivyignore.yaml, read on 2026-11-21 (about 00:07 UTC).

Scanner (MCP Server Image, job 136648122309, target usr/local/bin/kubectl (gobinary), Total: 2 HIGH):

  • CVE-2026-78661: golang.org/x/net v0.57.0, fixed in 0.62.0.
  • CVE-2026-78669: golang.org/x/net v0.57.0, fixed in 0.60.0.
  • The other entries: CVE-2026-56851 (x/text v0.40.0, fixed in 0.41.0) and CVE-2026-97054 (Go stdlib v1.26.10, fixed in Go 1.26.11).

Newest stable kubectl: v1.37.2 (published 2026-10-28). https://dl.k8s.io/release/stable.txt and stable-1.37.txt give v1.37.2. No v1.37.3 tag exists.

go.mod of kubernetes/kubernetes:

  • v1.37.2: x/net v0.57.0, x/text v0.40.0, .go-version 1.26.10.
  • release-1.37: x/net v0.57.0, x/text v0.40.0, .go-version 1.26.11.
  • v1.38.0-beta.0 (pre-release, 2026-11-06): x/net v0.62.0, x/text v0.43.0.
  • v1.36.6 and v1.35.10: x/net v0.56.0, x/text v0.39.0.

Source of kubectl: Dockerfile:169 copies /usr/local/bin/kubectl from the devtools image (Dockerfile:15). The devtools repository pins kubectl = "1.37.2" in mise.toml (aqua backend in mise.lock). A devtools bump has no newer stable release to take.

14-day counts (git log -S on .trivyignore.yaml, .trivyignore-mcp-server and .trivyignore):

Local check: Trivy v0.76.2 (DB of 2026-11-20), trivy rootfs --scanners vuln --severity HIGH,CRITICAL --ignore-unfixed --exit-code 1 on a root with the kubectl v1.37.2 binary at usr/local/bin/kubectl: exit 1 with the ignore file of main (CVE-2026-78661 and CVE-2026-78669), exit 0 with the file of #6574.

Owner decision of 2026-11-21: extend the four kubectl entries to 2026-12-15, past the 14-day limit. #6574 (Closes #6573) sets the date. The kubectl bump of #6084 deletes the entries.

@dan-petty
dan-petty marked this pull request as ready for review November 21, 2026 00:25
@dan-petty
dan-petty merged commit 32e9d2b into main Nov 21, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/6573-kubectl-ignore-owner-date branch November 21, 2026 00:47
dan-petty-release Bot added a commit that referenced this pull request Nov 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.185.3](v0.185.2...v0.185.3)
(2026-11-21)


### Bug Fixes

* **security:** extend the kubectl Trivy ignores to 2026-12-15
([#6574](#6574))
([32e9d2b](32e9d2b))

---
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): extend the kubectl Trivy ignores to 2026-12-15

1 participant