CVE-2026-39821
The Go net package’s IDNA handling incorrectly accepts Punycode labels that decode to plain ASCII, allowing a malicious name to bypass security checks. This flaw can let attackers impersonate legitimate hostnames and gain unauthorized access.
No official fix yet. If none appears within 45 days of first tracking, this entry is removed automatically.
Who is affected
Go developers using the standard net package, especially those that perform hostname privilege checks.
Real-world impact
An attacker can craft a Punycode hostname that looks like a trusted domain, trick a program into granting access, and then use the Unicode form to access resources it should not reach.
Why this severity
The CVSS score is high because the flaw is network‑accessible, requires low effort, and can be exploited without user interaction. It changes the scope of the vulnerability, and it compromises both confidentiality and integrity of the system.
What to do about it
No official fix or mitigation is documented in the sources yet. Monitor the vendor advisory and apply the patch as soon as it is released.
No fix documented in sources
Timeline
- May 22, 2026 · May 22, 2026PublishedDisclosed and added to the National Vulnerability Database.
- Aug 4, 2026 · 7h agoAdvisory updatedThe NVD record was last revised.
How it’s attacked
References & advisories
- go.dev/cl/767220issue tracking
- go.dev/issue/78760issue tracking
- groups.google.com/g/golang-announce/c/iI-mYSI…mailing list
- pkg.go.dev/vuln/GO-2026-5026vendor advisory
- access.redhat.com/errata/RHSA-2026:23262
- access.redhat.com/errata/RHSA-2026:23264
- access.redhat.com/errata/RHSA-2026:26546
- access.redhat.com/errata/RHSA-2026:26547
- access.redhat.com/errata/RHSA-2026:30650
- access.redhat.com/errata/RHSA-2026:30651
- access.redhat.com/errata/RHSA-2026:30853
- access.redhat.com/errata/RHSA-2026:30854
- access.redhat.com/errata/RHSA-2026:30855
- access.redhat.com/errata/RHSA-2026:33155
- access.redhat.com/errata/RHSA-2026:33160
- access.redhat.com/errata/RHSA-2026:33163
- access.redhat.com/errata/RHSA-2026:33173
- access.redhat.com/errata/RHSA-2026:33183
- access.redhat.com/errata/RHSA-2026:33524
- access.redhat.com/errata/RHSA-2026:33531