Skip to content

ci(security): ignore CVE-2026-78661 until 2026-11-21 - #3926

Merged
dan-petty merged 2 commits into
mainfrom
ci/3881-trivyignore-expiring-gh-cve
Nov 7, 2026
Merged

dan-petty merged 2 commits into
mainfrom
ci/3881-trivyignore-expiring-gh-cve

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add the time-limited .trivyignore entry for CVE-2026-78661 that the owner allowed. The pinned gh vendors golang.org/x/net v0.60.0, and no cli/cli release has the fix in 0.62.0. The entry ends on 2026-11-21: from that day the image scans fail again, which is the reminder to bump gh. The invariant tests fail when an entry has no reason, no exp date, or an exp date that is past. The bump of the pin and the removal of the entry move to #3920.

Closes #3881

Change: openspec/changes/archive/2026-11-07-3881-time-limited-gh-cve-ignore/

…ore file rule

The pinned gh v2.102.1 vendors golang.org/x/net v0.60.0, and no cli/cli
release has the fix in 0.62.0. The owner allowed a 14 day entry in
.trivyignore. Trivy drops the entry on its exp date, so the image scans
fail again from 2026-11-21.

The invariant tests fail when an entry has no reason, no exp date, or an
exp date that is past.

Refs #3881
@dan-petty dan-petty added type/infra Type infra: the build, CI, images or cluster scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 7, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 04:00
@dan-petty

Copy link
Copy Markdown
Owner Author

Proof for this pull request.

Image checks. Both checks ran on this pull request, because .trivyignore is an image input in ci.yml. Run 42336151020 (CI Quality Gate):

Before this change, both scans failed with CVE-2026-78661 on pull requests that change no image (see the comments on #3881). All 23 checks of the pull request passed.

Scan input. The scan steps need no trivyignores input. aquasecurity/trivy-action v0.36.0 sets no ignore-file variable, and Trivy v0.75.0 reads .trivyignore from the checkout by default. The text format has no path field, so the entry holds the id alone. The Trivy source (pkg/result/ignore.go) drops an entry whose exp: date is before the current time.

Tests. uv run devops ci test tests/invariants/test_service_image.py: 13 passed. The new tests fail on an entry with no reason, with no exp: date, with a date that Trivy cannot parse, and with a date that is today or past.

Full uv run devops ci under the shared lock: exit 0, every row passed. The test row took 9m 2s, over the 5 minute budget (known, #3593; host load from other runs).

After merge. The entry ends on 2026-11-21. The real fix is #3920. Pull requests #3891 and #3900 need a rebase onto main after this pull request merges. I did not touch them.

@dan-petty
dan-petty merged commit 9ca54d1 into main Nov 7, 2026
23 checks passed
@dan-petty
dan-petty deleted the ci/3881-trivyignore-expiring-gh-cve branch November 7, 2026 04:00
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/infra Type infra: the build, CI, images or cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): bump the pinned GitHub CLI for CVE-2026-78661

1 participant