Intel

AIKIDO-2026-762161

trio is vulnerable to Improper Certificate Validation

GHSA-cfgw-hm5q-5rrvPublished 3 days ago
November 26, 2026

63

CVE Score

Medium

Improper Certificate Validation

Are you affected? Scan for Free

TL;DR

Trio can resolve a hostname using IDNA 2008 but authenticate the connection using its different IDNA 2003 encoding. If the encodings differ, the connection can reach one location while accepting a certificate for another. The fix uses a shared IDNA 2008 hostname encoder for DNS and TLS handling.

How do I fix this?

Upgrade the trio library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you pass Trio a string hostname and rely on it connecting to and authenticating only the IDNA 2008 encoding.

Package

Versions

0.0.1 - 0.34.0

Fixed in 0.35.0

Background info

trio is vulnerable to Improper Certificate Validation in versions 0.0.1 - 0.34.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea