Skip to main content
← All vulnerabilities
CVE-2026-27448GHSA-VP96-HXJ8-P424PYSEC-2026-2268

pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback

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

Summary

pyOpenSSL is a Python wrapper around the OpenSSL library. Starting in version 0.14.0 and prior to version 26.0.0, 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. Starting in version 26.0.0, unhandled exceptions now result in rejecting the connection.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • pyca pyopenssl

    From 0.14.0 · fixed in 26.0.0

  • pyopensslPyPI

    From 0.14.0 · fixed in 26.0.0

  • pyopensslPyPI

    From 0.14 · fixed in 26.0.0

References 3

GitHub · pyca/pyopenssl