Repository navigation
fix: upgrade brotli to v1.2.7 for CVE-2026-111497 - #3786
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 indirect github.com/andybalholm/brotli dependency from v1.2.2 to v1.2.7, the lowest fixed release identified by the official advisory. This removes the vulnerable component without changing application code or unrelated dependencies.
Vulnerability Fixed
GO-2026-6888-github.com/andybalholm/brotli (GO-2026-6888; CVE-2026-111497; GHSA-c9gr-gmg4-2vqv), severity: CRITICAL. Crafted compressed streams can trigger excessive decompressor allocations and memory-exhaustion denial of service.
Changes Made
Verification
go list -m -json github.com/andybalholm/brotli@v1.2.7andgo mod download -json github.com/andybalholm/brotli@v1.2.7; the official advisory endpointhttps://vuln.go.dev/ID/GO-2026-6888.jsonidentifies 1.2.7 as the first fixed version.go get github.com/andybalholm/brotli@v1.2.7, then ran the fullgo mod tidyin the repository root. A writable temporary GOPATH and GOMODCACHE were used for dependency resolution with checksum verification enabled.go mod tidy -diff,go mod verify, andgit diff --check -- go.mod go.sumall passed. Application builds and tests were not run.syft dir:repo -o cyclonedx-json=verify/sbom-before.json, thenGRYPE_DB_AUTO_UPDATE=false grype sbom:verify/sbom-before.json --only-fixed -o json.syft dir:repo -o cyclonedx-json=verify/sbom-after.json, thenGRYPE_DB_AUTO_UPDATE=false grype sbom:verify/sbom-after.json --only-fixed -o json.Risk Assessment
View the risk assessment in Chainloop