ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-39821

This behavior can lead to privilege escalation in programs using the idna package.

CVSS
9.6Critical
Chance of exploitation (EPSS)
1.8%
Published
May 22, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A critical security flaw in Golang Net that can be attacked over the network by someone with an account. No attacks are reported yet, but patch it soon.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 0.55.0, 1.25.13, 1.26.6, 1.27.0-rc.3

Affected versions
Go Standard Library Net HTTP
Before 1.25.13; 1.26.0-0 to before 1.26.6; 1.27.0-0 to before 1.27.0-rc.3
Go Standard Library Net HTTP Internal Http2
Before 1.25.13; 1.26.0-0 to before 1.26.6; 1.27.0-0 to before 1.27.0-rc.3
Golang Net
Before 0.55.0
Golang.org X Net Idna
Before 0.55.0

Description

The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com".

CWE-1289

Affected products

Get alerts for these →

Timeline 21

Latest change: Nessus plugin 379033: RHEL 7 : rhc (RHSA-2026:98794) (Nov 10, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, May 22, 2026

  1. CVECVE-2026-39821 published (CVSS 9.6)CVE Program · 16:16 UTC

References 40

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”