Skip to content

[dev-v3] fix(deps): bump golang.org/x/net to v0.55.0 to address GO-2026-5026#32152

Merged
gjenkins8 merged 1 commit into
helm:dev-v3from
TerryHowe:fix/bump-x-net-go-2026-5026-dev-v3
May 27, 2026
Merged

[dev-v3] fix(deps): bump golang.org/x/net to v0.55.0 to address GO-2026-5026#32152
gjenkins8 merged 1 commit into
helm:dev-v3from
TerryHowe:fix/bump-x-net-go-2026-5026-dev-v3

Conversation

@TerryHowe

@TerryHowe TerryHowe commented May 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps golang.org/x/net from v0.53.0 to v0.55.0 to fix GO-2026-5026 / CVE-2026-39821.

v3 backport of #32153

Vulnerability

The ToASCII and ToUnicode functions in the golang.org/x/net/idna package incorrectly accept Punycode-encoded labels that decode to ASCII-only labels. For example, ToUnicode("xn--example-.com") returns "example.com" instead of an error. This allows privilege escalation by bypassing hostname-based security checks.

Helm's call chain that triggers the finding:

  • registry.LoggingTransport.RoundTriphttp.Transport.RoundTripidna.ToASCII
  • repotest.OCIServer.Runregistry.Registry.ListenAndServeidna.Profile.ToASCII

Changes

The golang.org/x/ packages share a coordinated release cycle, so the following were updated together:

Module Before After
golang.org/x/net v0.53.0 v0.55.0
golang.org/x/crypto v0.50.0 v0.51.0
golang.org/x/sys v0.43.0 v0.45.0
golang.org/x/term v0.42.0 v0.43.0

This also unblocks the dependabot x/term bump PR (#32151) which was failing govulncheck due to this vulnerability.

Upgrades golang.org/x/net from v0.53.0 to v0.55.0 to fix CVE-2026-39821
(GO-2026-5026), where idna.ToASCII/ToUnicode incorrectly accept Punycode-
encoded labels that decode to ASCII-only labels, enabling privilege escalation
via hostname check bypass.

Coordinated x/ upgrades pulled in by the module graph:
- golang.org/x/crypto v0.50.0 => v0.51.0
- golang.org/x/sys v0.43.0 => v0.45.0
- golang.org/x/term v0.42.0 => v0.43.0

Signed-off-by: Terry Howe <[email protected]>
@pull-request-size pull-request-size Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 22, 2026
@TerryHowe TerryHowe added the Has One Approval This PR has one approval. It still needs a second approval to be merged. label May 23, 2026
@gjenkins8 gjenkins8 changed the title fix(deps): bump golang.org/x/net to v0.55.0 to address GO-2026-5026 fix(deps): bump golang.org/x/net to v0.55.0 to address GO-2026-5026 [dev-v3] May 27, 2026
@gjenkins8
gjenkins8 merged commit cd4c53d into helm:dev-v3 May 27, 2026
5 checks passed
@promptless-for-oss

Copy link
Copy Markdown

📝 Documentation Updated

I've created a docs PR to add this security fix to the changelog: helm/helm-www#2118

The changelog entry documents the golang.org/x/net bump to v0.55.0 addressing GO-2026-5026 / CVE-2026-39821 (backported to dev-v3).

@scottrigby scottrigby added the dependencies Pull requests that update a dependency file label Jun 12, 2026
@scottrigby scottrigby added this to the 4.2.1 milestone Jun 12, 2026
@scottrigby scottrigby changed the title fix(deps): bump golang.org/x/net to v0.55.0 to address GO-2026-5026 [dev-v3] [dev-v3] fix(deps): bump golang.org/x/net to v0.55.0 to address GO-2026-5026 Jun 12, 2026
@scottrigby scottrigby modified the milestones: 4.2.1, 3.21.1 Jun 12, 2026
@scottrigby scottrigby added needs-pick Indicates that a PR needs to be cherry-picked into the next release candidate. picked Indicates that a PR has been cherry-picked into the next release candidate. and removed Has One Approval This PR has one approval. It still needs a second approval to be merged. needs-pick Indicates that a PR needs to be cherry-picked into the next release candidate. labels Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file picked Indicates that a PR has been cherry-picked into the next release candidate. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants