Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyOpenSSL
  4. ›
  5. CVE-2026-27448

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

March 16, 2026 (updated March 19, 2026)

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.

References

  • github.com/advisories/GHSA-vp96-hxj8-p424
  • github.com/pyca/pyopenssl
  • github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst
  • github.com/pyca/pyopenssl/commit/d41a814759a9fb49584ca8ab3f7295de49a85aa0
  • github.com/pyca/pyopenssl/security/advisories/GHSA-vp96-hxj8-p424
  • nvd.nist.gov/vuln/detail/CVE-2026-27448

Code Behaviors & Features

Detect and mitigate CVE-2026-27448 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.14.0 before 26.0.0

Fixed versions

  • 26.0.0

Solution

Upgrade to version 26.0.0 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-636: Not Failing Securely ('Failing Open')

Source file

pypi/pyOpenSSL/CVE-2026-27448.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.