Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. anyio
  4. ›
  5. CVE-2026-63374

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

September 18, 2026

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.

References

  • github.com/advisories/GHSA-82r6-8w77-94w6
  • github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce
  • github.com/agronholm/anyio/pull/1208
  • github.com/agronholm/anyio/releases/tag/4.14.2
  • github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6
  • nvd.nist.gov/vuln/detail/CVE-2026-63374

Code Behaviors & Features

Detect and mitigate CVE-2026-63374 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.14.2

Fixed versions

  • 4.14.2

Solution

Upgrade to version 4.14.2 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation
  • CWE-297: Improper Validation of Certificate with Host Mismatch

Source file

pypi/anyio/CVE-2026-63374.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:51 +0000.