Skip to main content
← All vulnerabilities
CVE-2026-63374GHSA-82R6-8W77-94W6PYSEC-2026-4025

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.14.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • agronholm anyio

    fixed in 4.14.2

  • anyioPyPI

    fixed in 4.14.2

References 4

GitHub · agronholm/anyio