Skip to main content
VulnerabilityPublished Updated

CVE-2026-63374: AnyIO · TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing

Affects fastapiSource GCVE Database

0
Compare
Authoritative record:CVE-2026-63374· Critical 9.3

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

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewfastapipkg:brew/fastapiOther threatsAffected
  • >=0.111.0 <0.139.1
Fixed in
  • 0.139.1

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

Community reviews

Loading reviews…