Skip to content

🔒 Bump Go to 1.26.3 to fix 7 stdlib security vulnerabilities - #22

Merged
kylegalloway merged 1 commit into
mainfrom
fix/go-1.26.3-security-vulns
May 29, 2026
Merged

🔒 Bump Go to 1.26.3 to fix 7 stdlib security vulnerabilities#22
kylegalloway merged 1 commit into
mainfrom
fix/go-1.26.3-security-vulns

Conversation

@kylegalloway

@kylegalloway kylegalloway commented May 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bumps go directive in go.mod from 1.26.01.26.3
  • Fixes all 7 vulnerabilities reported by govulncheck in the weekly security scan
ID Package Issue
GO-2026-4982 html/template XSS via meta content URL escaping bypass
GO-2026-4980 html/template XSS via escaper bypass
GO-2026-4947 crypto/x509 DoS via unexpected cert chain building work
GO-2026-4946 crypto/x509 DoS via inefficient policy validation
GO-2026-4870 crypto/tls DoS via unauthenticated TLS 1.3 KeyUpdate (connection retention)
GO-2026-4918 net/http Infinite loop in HTTP/2 transport on bad SETTINGS_MAX_FRAME_SIZE
GO-2026-4971 net Panic in net.Dial/LookupPort on NUL byte input (Windows)

All workflows use go-version-file: go.mod so they automatically pick up the new version.

The Trivy filesystem scan was already clean — no third-party dependency CVEs.

Test plan

  • CI passes (all matrix jobs green)
  • Security scan workflow re-run shows 0 govulncheck findings

The govulncheck security scanner started rattling chains — seven CVEs
haunting the codebase, all lurking inside go1.26.0's standard library.

The specters:
- GO-2026-4982 & GO-2026-4980: XSS in html/template (escaper/meta URL bypasses)
- GO-2026-4947 & GO-2026-4946: DoS in crypto/x509 (cert chain work, policy validation)
- GO-2026-4870: DoS in crypto/tls (unauthenticated TLS 1.3 KeyUpdate connection retention)
- GO-2026-4918: HTTP/2 infinite loop in net/http on bad SETTINGS_MAX_FRAME_SIZE
- GO-2026-4971: Panic in net.Dial on Windows NUL byte input

One bump to go1.26.3 in go.mod sends them all back to whatever
dimension they crawled out of. All workflows use go-version-file: go.mod
so they automatically pick up the fix.
@kylegalloway
kylegalloway enabled auto-merge May 29, 2026 21:56
@kylegalloway
kylegalloway merged commit d921b7c into main May 29, 2026
13 checks passed
@kylegalloway
kylegalloway deleted the fix/go-1.26.3-security-vulns branch May 29, 2026 21:59
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