{"id":"CVE-2026-27448","aliases":["CVE-2026-27448","GHSA-vp96-hxj8-p424","PYSEC-2026-2268"],"related":[],"kind":"vulnerability","state":"published","title":"pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nUnhandled exceptions now result in rejecting the connection.\n\nCredit to **Leury Castillo** for reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"pyOpenSSL es un envoltorio de Python alrededor de la biblioteca OpenSSL. A partir de la versión 0.14.0 y antes de la versión 26.0.0, si un callback proporcionado por el usuario a `set_tlsext_servername_callback` generaba una excepción no controlada, esto daba como resultado que se aceptara una conexión. Si un usuario dependía de este callback para cualquier comportamiento sensible a la seguridad, esto podría permitir eludirlo. A partir de la versión 26.0.0, las excepciones no controladas ahora dan como resultado el rechazo de la conexión.","source":"nvd"}],"published":"2026-03-16T15:15:43.000Z","modified":"2026-09-10T03:51:00.753Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":1.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":1.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-636"],"affected":[{"ranges":[{"version":">= 0.14.0, < 26.0.0","status":"affected"}],"vendor":"pyca","product":"pyopenssl","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.14.0","status":"affected","fixed":"26.0.0"}],"ecosystem":"PyPI","package":"pyopenssl","purl":"pkg:pypi/pyopenssl","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.14","fixed":"26.0.0"}],"vendor":"pyopenssl","product":"pyopenssl","cpe":"cpe:2.3:a:pyopenssl:pyopenssl:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.14","status":"affected","fixed":"26.0.0"}],"ecosystem":"PyPI","package":"pyopenssl","purl":"pkg:pypi/pyopenssl","source":"pysec"}],"references":[{"url":"https://github.com/pyca/pyopenssl/security/advisories/GHSA-vp96-hxj8-p424","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pyca/pyopenssl/commit/d41a814759a9fb49584ca8ab3f7295de49a85aa0","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst#L27","tags":["advisory","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27448","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pyca/pyopenssl","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-18T20:17:52.492Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27448","url":"https://www.cve.org/CVERecord?id=CVE-2026-27448","licence":"CVE Terms of Use","modified":"2026-03-18T20:18:08.768Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vp96-hxj8-p424","url":"https://github.com/advisories/GHSA-vp96-hxj8-p424","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:00.753Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27448","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27448","licence":"Public domain","modified":"2026-06-17T10:27:10.570Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2268","url":"https://osv.dev/vulnerability/PYSEC-2026-2268","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:42.074Z"}],"updatedAt":"2026-11-25T22:59:16.062Z","epss":{"score":0.00455,"percentile":0.31461,"date":"2026-11-30T12:00:22.000Z"}}