Advisory

PYSEC-2026-2268

Also known as: CVE-2026-27448, GHSA-vp96-hxj8-p424

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2026-03-18 00:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

pyopenssl

PyPI · All systems

Affected

  • introduced 0.14, fixed 26.0.0 (ecosystem)

Fixed versions

26.0.0

Fix

  • Fixed version 26.0.0
    pip install --upgrade pyopenssl==26.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences