CVE-2026-27448: pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback
Vulnerability summary
CVE-2026-27448 is a medium (CVSS 5.3) Not Failing Securely vulnerability in pyca pyopenssl. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.3% of scored vulnerabilities.
Not severe (CVSS 1.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 10Timeline
- 17-03-2026PublishedVulnerability first disclosed.
- 18-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS: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:UDiffers
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS: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:UDiffers
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS: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:UDiffers
- NVDNIST1.7LowCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
Decrease -0.14 pp
From 0.39% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard40 products
- airflow-2< 2.11.2-r2
- airflow-3< 3.1.8-r8
- authentik< 2026.2.1-r4
- authentik-fips< 2026.2.1-r3
- awx< 24.6.1-r31
Wolfi13 products
- airflow-3< 3.1.8-r8
- az< 2.84.0-r3
- datadog-agent-7.72-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.73-core-integrations< 7.73.3-r23
- datadog-agent-7.74-core-integrations< 7.74.1-r24
Suse6 products
- python-pyOpenSSL&distro=SUSE Linux Enterprise Micro 5.2< 19.0.0-150300.3.3.1
- python-pyOpenSSL&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 17.1.0-4.32.1
- python3-pyOpenSSL&distro=SUSE Linux Enterprise Micro 5.3< 21.0.0-150400.22.1
- python3-pyOpenSSL&distro=SUSE Linux Enterprise Micro 5.4< 21.0.0-150400.22.1
- python3-pyOpenSSL&distro=SUSE Linux Enterprise Micro 5.5< 21.0.0-150400.22.1
Alpine1 product
- py3-openssl< 26.1.0-r0
Debian1 product
- pyopensslAll versions (No fix recorded) | < 25.0.0-1+deb13u1 | < 26.0.0-1
Pyca1 product
- pyopenssl≥ 0.14.0, < 26.0.0
Pyopenssl1 product
- pyopenssl≥ 0.14, < 26.0.0
PyPI1 product
- pyopenssl≥ 0.14.0, < 26.0.0 | ≥ 0.14, < 26.0.0
Ubuntu1 product
- pyopenssl< 21.0.0-1ubuntu0.1 | < 23.2.0-1ubuntu0.1 | < 25.0.0-1ubuntu0.1 | < 0.15.1-2ubuntu0.2+esm1 | < 17.5.0-1ubuntu1+esm1 | < 19.0.0-1ubuntu0.1~esm1
9 vendors · 65 products
References
17 links- github.com/pyca/pyopenssl/security/advisories/GHSA-vp96-hxj8-p424X Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/pyca/pyopenssl/commit/d41a814759a9fb49584ca8ab3f7295de49a85aa0X Refsource MISCWEBFIXPatch
- github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rstX Refsource MISCWEBAdvisoryRelease Notes
- github.com/pyca/pyopensslPACKAGE