Skip to content

chore: bump golang.org/x/net to v0.55.0 to fix vulnerability CVE-2026-39821 - #424

Open
JosephineKwa wants to merge 4 commits into
mittwald:masterfrom
JosephineKwa:fix/golang-x-net-cve
Open

chore: bump golang.org/x/net to v0.55.0 to fix vulnerability CVE-2026-39821#424
JosephineKwa wants to merge 4 commits into
mittwald:masterfrom
JosephineKwa:fix/golang-x-net-cve

Conversation

@JosephineKwa

@JosephineKwa JosephineKwa commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • Bumps golang.org/x/net from v0.38.0 to v0.55.0 to fix a flagged security vulnerability in the older version.
  • v0.55.0 requires Go >= 1.25, so the go directive in go.mod was bumped from 1.24.13 to 1.25.0, with matching updates in build.yml, release.yml, and Dockerfile.buildx.
  • go mod tidy also pulled in transitive upgrades to golang.org/x/sys, golang.org/x/term, golang.org/x/text, and golang.org/x/tools.
  • Optional/discretionary: the final commit further bumps Go to 1.27.0 (not required by x/net, just picking up the latest release). Happy to drop that commit if maintainers prefer staying at the minimum required 1.25.0.

Reference: CVE-2026-39821

golang.org/x/net v0.38.0 was flagged with a security vulnerability;
v0.55.0 contains the fix. This requires bumping go.mod to Go 1.25
and pulls in transitive upgrades to x/sys, x/term, x/text, and x/tools.
@JosephineKwa JosephineKwa changed the title chore: bump golang.org/x/net to v0.55.0 to fix vulnerability chore: bump golang.org/x/net to v0.55.0 to fix vulnerability CVE-2026-39821 Aug 20, 2026
Not required by golang.org/x/net v0.55.0 (which only needs Go 1.25+);
this goes further to pick up the latest Go release. Happy to drop this
commit if maintainers prefer staying closer to the minimum required
version.
@JosephineKwa

Copy link
Copy Markdown
Author

@elenz97 would you be able to help review this, I see that you helped review previous vulnerability fix PRs as well. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant