Red Hat VEX
RHVEX-CVE-2026-27448
pyOpenSSL: TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback
Details
A flaw was found in pyOpenSSL. The set_tlsext_servername_callback callback function can be used to implement Server Name Indication (SNI) during the TLS handshake. When the callback raises an unhandled exception, the handshake incorrectly proceeds instead of terminating. This fail-open behavior can allow an attacker to bypass SNI-based security controls and access restricted endpoints.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | python3-pyOpenSSL | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-27448
- https://bugzilla.redhat.com/show_bug.cgi?id=2448508
- https://www.cve.org/CVERecord?id=CVE-2026-27448
- https://nvd.nist.gov/vuln/detail/CVE-2026-27448
- https://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst#L27
- https://github.com/pyca/pyopenssl/commit/d41a814759a9fb49584ca8ab3f7295de49a85aa0
- https://github.com/pyca/pyopenssl/security/advisories/GHSA-vp96-hxj8-p424