CVE-2026-63374agronholm anyio
Improper TLS Certificate Validation in AnyIO due to IDNA 2003
Critical 9.3 No auth needed
Follow: this CVE · agronholm · agronholm anyio We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 22, 2026
- Updated
- Sep 28, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- 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/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
What happens
AnyIO validates internationalized domain names using IDNA 2003 instead of IDNA 2008, allowing an attacker to present a legitimate certificate for a different ASCII hostname during connection hijacking or redirection attacks. This affects connect_tcp() and TLSStream.wrap() functions in versions prior to 4.14.2.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 4.14.2
Update AnyIO to version 4.14.2 or later to fix TLS certificate validation with IDNA 2008.
- Apply the vendor's security update for anyio.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | anyio |
< 4.14.2 |
4.14.2 |
pip install "anyio>=4.14.2" |
| PyPI | anyio |
< 4.14.2 |
4.14.2 |
pip install "anyio>=4.14.2" |
Per OSV / GitHub Advisories (GHSA-82r6-8w77-94w6, PYSEC-2026-4025). Check the version in your lockfile before upgrading.
Affected products
- agronholm · anyio
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- graphifyy-0.9.97-1.1 on GA media · SUSE · openSUSE-SU-2026:12324-1 · Oct 28, 2026 Critical
- Security update for python-anyio · SUSE · openSUSE-SU-2026:22060-1 · Oct 8, 2026 Critical
- Security update for python-anyio · SUSE · SUSE-SU-2026:24208-1 · Oct 8, 2026 Critical
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.