CVE-2026-124249
Python Software Foundation CPython cross-domain cookie deletion in http.cookiejar
A remote attacker can delete cookies for other domains from a shared cookie jar, with no login or user action.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-124249 divulgada · CVSS 6.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
A remote attacker can, without logging in and without any user action, make a malicious server's response delete cookies that belong to other domains from a shared cookie jar, such as the one used by urllib's HTTPCookieProcessor. The flaw is in Python's http.cookiejar module, which removed stored cookies when a response carried an already expired Set-Cookie header without first checking the cookie policy.
Descripción original del registro (PSF)
http.cookiejar.CookieJar deleted a stored cookie when a response carried an already expired Set-Cookie header for it, using the Domain and Path attributes from the header without consulting the cookie policy. A server could therefore delete cookies belonging to other domains from a shared cookie jar, such as the one used by urllib's HTTPCookieProcessor. The fix consults the cookie policy before an expired cookie may delete an existing one, as required by RFC 6265 section 5.3.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
CPython |
Corregida | 3.16.0a2 | — | — |
3.16.0a2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://mail.python.org/archives/list/security-announce@python.org/thread/Y6IKNZ2VZUS2L6CLQICSFUEMCLT7OLTY/https://github.com/python/cpython/pull/161570https://github.com/python/cpython/commit/4e9d037f1cfc8e29efcb1f67bc668e06ff2b6643https://github.com/python/cpython/commit/8eb3d2c1c41ca7ce628554413981c1eb763a1494https://github.com/python/cpython/commit/ac1d49f4fbb33941475c5aa3cb663ab39d64cb73http://www.openwall.com/lists/oss-security/2026/11/09/24https://github.com/python/cpython/issues/161569Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
