fix: remediate GO-2026-5026 in extras/dagger#3275
Closed
chainloop-development[bot] wants to merge 1 commit into
Closed
fix: remediate GO-2026-5026 in extras/dagger#3275chainloop-development[bot] wants to merge 1 commit into
chainloop-development[bot] wants to merge 1 commit into
Conversation
…2026-5026-golang.org/x/net
migmartri
added a commit
to migmartri/chainloop
that referenced
this pull request
Jul 9, 2026
Combined upgrade of the extras/dagger module dependencies to resolve all four open security advisories in a single change, since the individual bot PRs (chainloop-dev#3273, chainloop-dev#3274, chainloop-dev#3275, chainloop-dev#3276) conflict with each other by modifying the same go.mod lines. Advisories resolved: - GHSA-p77j-4mvh-x3m3 (CRITICAL): gRPC-Go authorization bypass via missing leading slash in :path. Fixed by grpc v1.80.0 (>= v1.79.3). - GHSA-mh2q-q3fh-2475 (HIGH): OpenTelemetry-Go baggage header DoS. Fixed by OTel v1.43.0 (>= v1.41.0). - GHSA-hfvc-g4fc-pqhx (HIGH): OpenTelemetry-Go BSD kenv PATH hijack. Fixed by OTel SDK v1.43.0. - GO-2026-5026 (HIGH): golang.org/x/net idna Punycode bypass. Fixed by x/net v0.55.0. Verification performed: - dagger develop (codegen) succeeds - go build ./... compiles - go vet ./... passes - golangci-lint run: 0 issues - go mod verify: all modules verified - dagger call loads and instantiates the module - with-instance function executes - init function executes (fails at auth layer, not code) - init --enterprise pulls enterprise image and executes 🤖 _Posted by Maximus bot on behalf of @migmartri_
migmartri
added a commit
to migmartri/chainloop
that referenced
this pull request
Jul 9, 2026
Combined upgrade of the extras/dagger module dependencies to resolve all four open security advisories in a single change, since the individual bot PRs (chainloop-dev#3273, chainloop-dev#3274, chainloop-dev#3275, chainloop-dev#3276) conflict with each other by modifying the same go.mod lines. Advisories resolved: - GHSA-p77j-4mvh-x3m3 (CRITICAL): gRPC-Go authorization bypass via missing leading slash in :path. Fixed by grpc v1.80.0 (>= v1.79.3). - GHSA-mh2q-q3fh-2475 (HIGH): OpenTelemetry-Go baggage header DoS. Fixed by OTel v1.43.0 (>= v1.41.0). - GHSA-hfvc-g4fc-pqhx (HIGH): OpenTelemetry-Go BSD kenv PATH hijack. Fixed by OTel SDK v1.43.0. - GO-2026-5026 (HIGH): golang.org/x/net idna Punycode bypass. Fixed by x/net v0.55.0. Assisted-by: Claude Code Signed-off-by: Miguel Martinez <migmartri@gmail.com> Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
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
Updated the optional extras/dagger module to resolve golang.org/x/net to v0.55.0, the first fixed release for this advisory. Because v0.55.0 requires Go 1.25, the submodule's Go version and companion x/* indirect modules were raised by Go's module resolver.
Vulnerability Fixed
GO-2026-5026-golang.org/x/net (HIGH): the idna package accepted certain Punycode labels that decode to ASCII-only labels, which can bypass hostname-based privilege checks.
Changes Made
Verification
Ran
syft dir:. -o cyclonedx-json=<tempfile> && grype sbom:<tempfile> --only-fixed -o jsonfrom the repository root. Outcome: resolved — GO-2026-5026-golang.org/x/net and golang.org/x/net no longer appear in the scan results after the bump. The scan still reports unrelated fixed vulnerabilities in other extras/dagger dependencies.Risk Assessment
View the risk assessment in Chainloop