CVE
CVE-2026-63374
AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
Severity
Critical
Base CVSS
9.1
Fixed in
4.14.2,2.11.2-r23,2.11.2-r8,2026.5.7-r2,2026.5.7-r4,0.20.0-r9,0.21.0-r4,1.101.0-r2,4.14.0-r25,0.11.3-r7,4.15.1-r1,4.14.7-r4,4.14.7-r5
Description
Impact
Services using internationalized (non-ASCII) domain names are potentially vulnerable to TLS connections made from AnyIO's connect_tcp() or directly via TLSStream.wrap() where the connection has (through other means) been hijacked and redirected to a malicious server. The attacker would obtain a legitimate certificate using the IDNA 2003 encoded version of the domain name and offer it to the connecting client, making the certificate validate properly on the client's end.
Patches
The vulnerability will be patched in v4.14.2.
Workarounds
Encode host names via the idna package prior to connecting.
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.3
4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV
0
Endor Labs
9.1
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Required action
Known ransomware campaign use
References
https://github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6, https://github.com/agronholm/anyio/pull/1208, https://github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce, https://github.com/agronholm/anyio, https://github.com/agronholm/anyio/releases/tag/4.14.2
Basic information
Base CVSS
9.1
EPSS probability
0.0
EPSS percentile
0.23084
Introduced version
0,3.0.0rc1,2.0.0b1,1.4.0,1.0.0b1,1.0.0a1
Fix available
4.14.2,2.11.2-r23,2.11.2-r8,2026.5.7-r2,2026.5.7-r4,0.20.0-r9,0.21.0-r4,1.101.0-r2,4.14.0-r25,0.11.3-r7,4.15.1-r1,4.14.7-r4,4.14.7-r5
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.