Repository navigation
fix: patch root x/net dependency for CVE-2026-78661 - #3787
Merged
Merged
Conversation
Contributor
Author
AI Session Checks —
|
jiparis
approved these changes
Nov 6, 2026
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
Upgrade the assessed root module's golang.org/x/net dependency from v0.61.0 to v0.62.0, the first fixed release for GO-2026-6860 (CVE-2026-78661). Keep the change limited to the root dependency requirement and its generated checksums.
Vulnerability Fixed
GO-2026-6860-golang.org/x/net / CVE-2026-78661 — HIGH severity. Repeated text-node coalescing in the HTML parser can cause quadratic allocations and copying, exhausting CPU or memory when processing crafted HTML.
Changes Made
Verification
syft dir:repo -o cyclonedx-json=verify/sbom-before.json, thenGRYPE_DB_AUTO_UPDATE=false timeout 120 grype sbom:verify/sbom-before.json --only-fixed -o json. The baseline reports GO-2026-6860 and its CVE-2026-78661 alias for golang.org/x/net v0.61.0 at /go.mod and v0.60.0 at /extras/dagger/go.mod. The initial scan with automatic database updates did not complete and was terminated; both completed comparison scans use the existing database with updates disabled.syft dir:repo -o cyclonedx-json=verify/sbom-after.json, thenGRYPE_DB_AUTO_UPDATE=false timeout 120 grype sbom:verify/sbom-after.json --only-fixed -o json. Both commands complete successfully. The advisory no longer appears for the assessed root module, now resolved to v0.62.0.go mod tidycompletes successfully in the root module.go mod tidy -diffexits 0 with no differences, confirming the generated manifest and checksums are current.go test golang.org/x/net/htmlpasses.go list -m -json golang.org/x/netconfirms v0.62.0.git diff --checkpasses. Full application tests are not run.Risk Assessment
View the risk assessment in Chainloop