GHSA-vp96-hxj8-p424

pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback

En bref

Publiée
Mise à jour
CVE
CVE-2026-27448
Alias
PYSEC-2026-2268
CVSS_V4
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U

Description

If a user provided callback to `set_tlsext_servername_callback` raised an unhandled exception, this would result in a connection being accepted. If a user was relying on this callback for any security-sensitive behavior, this could allow bypassing it. Unhandled exceptions now result in rejecting the connection. Credit to **Leury Castillo** for reporting this issue.

Paquets affectés

PaquetVersions
PyPI · pyopensslintroduced 0.14.0, fixed 26.0.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database