# CVE-2026-27448: pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback

- Severity: Low 1.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 31% of CVEs (2026-11-30)
- Published: 2026-03-16T15:15:43.000Z
- Modified: 2026-09-10T03:51:00.753Z
- Also known as: GHSA-vp96-hxj8-p424, PYSEC-2026-2268
- Weaknesses: CWE-636
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- pyca pyopenssl: >= 0.14.0, < 26.0.0
- pyopenssl (PyPI): from 0.14.0 before 26.0.0; from 0.14 before 26.0.0
- pyopenssl pyopenssl: from 0.14 before 26.0.0

## Every score

- GitHub_M: CVSS:4.0 1.7 Low `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`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/pyca/pyopenssl/security/advisories/GHSA-vp96-hxj8-p424> (advisory, vendor-advisory, web)
- <https://github.com/pyca/pyopenssl/commit/d41a814759a9fb49584ca8ab3f7295de49a85aa0> (fix, patch, web)
- <https://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst#L27> (advisory, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27448> (advisory)
- <https://github.com/pyca/pyopenssl> (package)

## Sources

- CVE List: [CVE-2026-27448](https://www.cve.org/CVERecord?id=CVE-2026-27448), CVE Terms of Use, modified 2026-03-18
- GitHub Advisory Database: [GHSA-vp96-hxj8-p424](https://github.com/advisories/GHSA-vp96-hxj8-p424), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-27448](https://nvd.nist.gov/vuln/detail/CVE-2026-27448), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2268](https://osv.dev/vulnerability/PYSEC-2026-2268), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-27448 · Whole record: https://cve.day/CVE-2026-27448.json · Rebuilt by cve.day 2026-11-25T22:59:16.062Z
