CVE-2026-126190
Soup Sieve polynomial-time denial of service in descendant combinator
A remote attacker without logging in can tie up a server worker by submitting deeply nested HTML or XML.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 4.0.0 | soupsieve · -9 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-126190 divulgada · CVSS 7.5 (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 |
Soup Sieve, a CSS selector library used with Beautiful Soup 4, contains a flaw in how it matches descendant combinators, letting a remote attacker without logging in cause a denial of service by submitting deeply nested HTML or XML. Each additional descendant combinator in a selector greatly increases the processing work, so applications that run such selectors against untrusted documents can tie up a worker for seconds or minutes.
Only affects applications running Soup Sieve selectors with descendant combinators, such as section div div, against HTML or XML that untrusted users control. Fixed in 4.0.
Descripción original del registro (GitHub_M)
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0, Soup Sieve repeatedly walks the same ancestors while matching descendant combinators, and each additional descendant combinator raises the polynomial degree of the work on deeply nested attacker-influenced HTML or XML. Applications using selectors such as section div div through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while trusted-only document processing is not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.0.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypisoupsieve |
Corregida | 4.0.0 | -9 d | 4.1.2 no afectada |
4.04.0.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/facelessuser/soupsieve/security/advisories/GHSA-mmhr-3c5m-f64fhttps://github.com/facelessuser/soupsieve/pull/351https://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320https://github.com/facelessuser/soupsieve/releases/tag/4.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
