CVE-2026-63374: AnyIO · TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
Affects fastapiSource GCVE Database
Not known to be exploited · CVSS 9.3 Critical : upgrade to 0.139.1 as a priority.
Data as of 9 Nov 2026, 20:02 UTC
- Patch
- Available – fixed in 0.139.1
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 9 Nov 2026.
What to do
Upgrade fastapi to 0.139.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewfastapipkg:brew/fastapiOther 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
Upgrade AnyIO to version 0.139.1 or later where the vulnerability is patched. As a workaround, encode host names using the 'idna' package prior to connecting to avoid the vulnerable IDNA 2003 encoding behavior.
Description
AnyIO versions from 0.111.0 up to but not including 0.139.1 have a vulnerability in TLSStream where the use of IDNA 2003 host name encoding can enable TLS certificate spoofing. This affects services using internationalized domain names, allowing an attacker who hijacks and redirects a connection to present a legitimate certificate encoded with IDNA 2003, which the client would accept as valid. The issue is fixed in version 0.139.1.
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)