Misconfiguration
Fail-Open in set_tlsext_servername_callback on pyopenssl via unhandled exceptions leads to security bypass
The pyopenssl library's SNI callback wrapper catches exceptions from user code but returns success to OpenSSL, so a TLS handshake continues even when the security check crashes. An attacker could bypass SNI-based access controls if they can trigger an exception in the callback.
Python Cryptographic Authority
Low