Skip to main content

CVE-2026-63374 — Vulnerability in anyio — CVE Details

CRITICAL

AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing

Published September 18, 2026Updated October 1, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.32%). Schedule for your next planned update.

Does your project use an affected anyio version?

Paste your requirements.txt to check it for CVE-2026-63374 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

Summary

Impact

Services using internationalized (non-ASCII) domain names are potentially vulnerable to TLS connections made from AnyIO's connect_tcp() or directly via TLSStream.wrap() where the connection has (through other means) been hijacked and redirected to a malicious server. The attacker would obtain a legitimate certificate using the IDNA 2003 encoded version of the domain name and offer it to the connecting client, making the certificate validate properly on the client's end.

Patches

The vulnerability will be patched in v4.14.2.

Workarounds

Encode host names via the idna package prior to connecting.

Advisory Timeline

  • First published September 18, 2026 (69 days ago).
  • Last revised October 1, 2026 — 13 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update anyio to 4.14.2 or later
pip install "anyio>=4.14.2"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: PyPI (1).

PackageFixed In
anyio PyPI · Affected: 1.0.0, 1.0.0a1, 1.0.0a2, 1.0.0b1 (+65 more)4.14.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-63374?
AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2026-63374?
CVE-2026-63374 affects anyio. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-63374 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.32%
EPSS percentile: 17.3

This is a below-median EPSS score — only 17.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-82r6-8w77-94w6
PYSEC-2026-4025

Related CVEs

  • CVE-2026-77359
    CRITICAL

    Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes

  • CVE-2026-77312
    CRITICAL

    Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)

  • CVE-2026-64847
    MEDIUM

    AnyIO process-pool workers can block indefinitely on undrained stderr

  • CVE-2026-64847
    MEDIUM

    AnyIO process-pool workers can block indefinitely on undrained stderr

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt