CVE-2026-63374: AnyIO · TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
Affects coconutSource GCVE Database
Not known to be exploited · CVSS 9.3 Critical : upgrade to 3.2.0_3 as a priority.
Data as of 2 Dec 2026, 21:49 UTC
- Patch
- Available – fixed in 3.2.0_3, 4.14.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade coconut to 3.2.0_3; anyio to 4.14.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewcoconutpkg:brew/coconutOther threats | Affected
| Fixed in
|
PyPIanyiopkg:pypi/anyioOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in AnyIO version 3.2.0_3; upgrading to this version or later fully resolves the vulnerability. As a workaround before patching, users should encode host names using the 'idna' package prior to making TLS connections with AnyIO. No other vendor advisories indicate additional mitigations or that no action is required.
Description
AnyIO's TLSStream component has a vulnerability in its handling of internationalized domain names (IDNA 2003 encoding), which can enable TLS certificate spoofing. An attacker who hijacks and redirects a TLS connection to a malicious server can present a legitimate certificate encoded with IDNA 2003, causing the client to accept it as valid. This affects versions from 3.0.4 up to but not including 3.2.0_3. The issue is patched in version 3.2.0_3. A workaround is to manually encode host names using the 'idna' package before connecting.
References
- github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6 (opens in a new tab)
- github.com/agronholm/anyio/pull/1208 (opens in a new tab)
- github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce (opens in a new tab)
- github.com/agronholm/anyio (opens in a new tab)
- github.com/agronholm/anyio/releases/tag/4.14.2 (opens in a new tab)