llamaCVEVulnerability Intelligence
/
Python Software Foundation CPython

CVE-2026-19553

Python Software Foundation TLS hostname check bypass in SSLContext.wrap_bio

An attacker can impersonate a TLS server and intercept traffic when hostname checks are silently skipped.

Specific setups onlyParche disponibleimproper certificate validation
Descargar PNG JSON
CVSS 4.0
7.6
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónExploit públicoSSVC: none · no figura en CISA KEV
Exploits públicos31 fuente · 1 confirmado en GitHub
Parche6 versiones3.10.22 · 3.11.17 · 3.12.15 · 3.13.16 …
Exposición49 dDesde la divulgación, 30 sept 2026, 11:17 a. m.
Detección22 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Exploit en GitHub
Remediación
Monitoreo
Detectada
Fuente: OSV
Fuente: PoC-in-GitHub
Verificada
30 sept 26
16 oct 26
22 oct 26
24 oct 26
9 nov 26
10 nov 26
16 nov 26
19 nov 26
30 sept 26
13 oct 26
25 oct 26
7 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-19553 divulgada · CVSS 7.6 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Explotación Exploit en GitHub Tharsh2003/INF2005-ACW3-PythonSSL
Monitoreo Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

ssl.SSLContext.wrap_bio() didn't require the server_hostname argument to not be None if ssl.SSLContext.check_hostname was set. Due to a missing parameter check in SSLObject, if the server_hostname argument isn't supplied then hostname verification would be silently skipped. This defect could lead to programs where certificate hostname verification *appeared* to be succeeding with SSLContext.check_hostname = True and no ValueError being raised due to misconfiguration. If the program passes a server_hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability. Mitigating this vulnerability doesn't require updating Python or applying the patch. To mitigate, pass a valid non-None and non-empty server_hostname value to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls() and certificate hostname verification will proceed as expected. Upgrading to the latest version of Python or applying the patch only changes the behavior from silently skipping hostname verification to raising a ValueError, similar to SSLContext.wrap_socket(), when server_hostname isn't supplied.

Affects CPython before 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8 and 3.15.0rc3 when check_hostname is True and server_hostname is omitted. Fixed in those releases.

¿Qué significa?When check_hostname is True but server_hostname is not passed to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls(), Python silently skips hostname verification of the server certificate. A program can appear to verify certificates while never checking the hostname.
¿Quién está afectado?CPython releases before 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, and 3.15.0rc3 (3.15.0a1 onward) are listed as affected. Check the version with python --version, and check whether the code sets SSLContext.check_hostname to True on a path that omits server_hostname.
¿Qué hacer?Upgrade to the fixed release for your branch: 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, or 3.15.0rc3. Until then, pass a valid non-empty server_hostname to the affected calls.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
SSLContext.check_hostname is set to True and server_hostname is not supplied to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls().“to not be None if ssl.SSLContext.check_hostname was set.”
MitigaciónPass a valid non-None and non-empty server_hostname value to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls().
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
CPython · libpython · python · python-min< 3.10.22
CPython · libpython · python · python-min≥ 3.11.0 < 3.11.17
CPython · libpython · python · python-min≥ 3.12.0 < 3.12.15
CPython · libpython · python · python-min≥ 3.13.0 < 3.13.16
CPython · libpython · python · python-min≥ 3.14.0 < 3.14.8
CPython≥ 3.15.0a1 < 3.15.0rc3
3.10.22
3.11.0
3.11.17
3.12.0
3.12.15
3.13.0
3.13.16
3.14.0
3.14.8
3.15.0a1
3.15.0rc3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
CPython
Corregida 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, 3.15.0rc3 — —
libpython
Corregida 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8 — —
python
Corregida 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8 — —
Versiones corregidas3.10.223.11.173.12.153.13.163.14.83.15.0rc3
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
Tharsh2003/INF2005-ACW3-PythonSSL · abraxas/cve-2026-19553-wrap-bio · monkeyyey/acw3-tls-lab
3
Ver los 3 repositorios de GitHub (1 con exploit confirmado)
Tharsh2003/INF2005-ACW3-PythonSSLexploit
abraxas/cve-2026-19553-wrap-bio
monkeyyey/acw3-tls-lab

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Registro
EscenarioGENERALPSF
Referencias
Fabricantehttps://mail.python.org/archives/list/security-announce@python.org/thread/QNZRG3YOAMTHDCMVCICXGY6YEFPY2VDL/
Parchehttps://github.com/python/cpython/pull/158503
Parchehttps://github.com/python/cpython/commit/1697ea386c707142555d98a1263176bbbc014a96
Parchehttps://github.com/python/cpython/commit/641390146a16a38e6701923f4ee4f1940ae77082
Parchehttps://github.com/python/cpython/commit/966bf426d0b6c31c1b0a255ff14a17143a466ced
Parchehttps://github.com/python/cpython/commit/f4e43ba525187282f2011da0e6ffc0d2b08d8062
Parchehttps://github.com/python/cpython/commit/869069d52ce0efab2f8c38197e92cdaaa312f1ed
Parchehttps://github.com/python/cpython/commit/5867d4e4ae6d1062352baf6b497a4026e8578ccf
Parchehttps://github.com/python/cpython/commit/bdebbf9b366ec91e9cd9daa0b3510c9e84b60b80
Análisishttp://www.openwall.com/lists/oss-security/2026/09/30/16
Reportehttps://github.com/python/cpython/issues/156793
Exploithttps://github.com/Tharsh2003/INF2005-ACW3-PythonSSL
Ver 3 referencias más
Exploithttps://github.com/abraxas/cve-2026-19553-wrap-bio
Exploithttps://github.com/monkeyyey/acw3-tls-lab
Otrahttps://cert-portal.siemens.com/productcert/html/ssa-457936.html

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.