fix(deps): bump go 1.26.4 -> 1.26.5 to patch stdlib CVEs#1864
Closed
Nandu-pns wants to merge 1 commit into
Closed
Conversation
Resolves the Go stdlib vulnerabilities flagged by the daily Trivy/Grype security scan (CVE-2026-39822 / GO-2026-4970 [HIGH] and CVE-2026-42505 / GO-2026-5856 [MEDIUM]), all fixed on the 1.26 line in Go 1.26.5. The scan builds the binary via setup-go's `go-version-file: go.mod`, so the `go` directive is what pins the compiled-in stdlib. Other workflows already float on `go-version: 1.26.x` and pick up the patch automatically. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Closing this as this is being addressed here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the
godirective ingo.modfrom1.26.4to1.26.5to resolve the Go stdlib vulnerabilities flagged by the daily Trivy/Grype security scan (scan run).CVEs resolved
Trivy and Grype each report the same two underlying stdlib issues under different IDs, so this is 2 vulnerabilities — both patched on the 1.26 line by Go 1.26.5.
Why this is the right fix
setup-gowithgo-version-file: go.mod(.github/workflows/vuln-scan-report.yml:33), so thegodirective is exactly what pins the compiled-in stdlib version.go-version: 1.26.xand will pick up the 1.26.5 patch automatically — no changes needed there.Verification
Built
./cmd/newrelic/locally and confirmed the resulting binary reportsgo1.26.5(patched stdlib):The next scheduled scan (1:00 AM UTC daily) should report clean once this merges.