CVE-2026-27448
MEDIUM5.3EPSS 0.04%pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback
Published: 3/16/2026Modified: 5/11/2026
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.
Affected packages (2)
- Debian/pyopensslfrom 0
- PyPI/pyopenssl>= 0.14.0, < 26.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-27448
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-27448
- PATCHhttps://github.com/pyca/pyopenssl
- WEBhttps://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst#L27
- WEBhttps://github.com/pyca/pyopenssl/commit/d41a814759a9fb49584ca8ab3f7295de49a85aa0
- WEBhttps://github.com/pyca/pyopenssl/security/advisories/GHSA-vp96-hxj8-p424