Vulnerability · Published Sep 22, 2026 · Assigned by GitHub_M
CVE-2026-63374AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
Critical 9.3
In plain English
A critical-severity improper certificate validation in anyio from agronholm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
AnyIO is a high level asynchronous concurrency and networking framework that works on top of either Trio or asyncio. Prior to 4.14.2, connect_tcp() and TLSStream.wrap() can validate internationalized host names after the standard library converts them with IDNA 2003 instead of IDNA 2008. When a connection to a non-ASCII domain is hijacked or redirected, an attacker can obtain a legitimate certificate for the different ASCII hostname produced by IDNA 2003 and present it to the client, causing the malicious endpoint's certificate to validate. This issue is fixed in version 4.14.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-anyio | no fix listed | DEBIAN-CVE-2026-63374 |
| Debian:13 | python-anyio | no fix listed | DEBIAN-CVE-2026-63374 |
| Debian:14 | python-anyio | 4.15.1-1 | DEBIAN-CVE-2026-63374 |
| PyPI | anyio | 4.14.2 | GHSA-82r6-8w77-94w6 |
| PyPI | anyio | 4.14.2 | PYSEC-2026-4025 |
| Ubuntu:22.04:LTS | python-anyio | no fix listed | UBUNTU-CVE-2026-63374 |
| Ubuntu:24.04:LTS | python-anyio | no fix listed | UBUNTU-CVE-2026-63374 |
| Ubuntu:26.04:LTS | python-anyio | no fix listed | UBUNTU-CVE-2026-63374 |
| Ubuntu:26.10 | python-anyio | no fix listed | UBUNTU-CVE-2026-63374 |
Affected products (as reported)
Weakness: CWE-295, CWE-297 · Vector: 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
References
- https://github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6 x_refsource_CONFIRM
- https://github.com/agronholm/anyio/pull/1208 x_refsource_MISC
- https://github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce x_refsource_MISC
- https://github.com/agronholm/anyio/releases/tag/4.14.2 x_refsource_MISC