llamaCVEVulnerability Intelligence
/
Soup Sieve

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.

UnclearParche disponibledenial of service
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -9 d de la divulgación
Exposición8 dDesde la divulgación, 12 nov 2026, 11:54 a. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 4.0.0
Monitoreo
Detectada +2
Fuente: OSV
Verificada
3 nov 26
12 nov 26
13 nov 26
16 nov 26
21 nov 26
3 nov 26
8 nov 26
12 nov 26
16 nov 26
21 nov 26
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0 · 12 nov 2026

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.

¿Qué significa?A crafted, deeply nested HTML or XML document can make a selector with descendant combinators take polynomial time to process, so a small document can keep a CPU or worker busy for seconds to minutes. This is a denial of service.
¿Quién está afectado?Applications are affected if they run selectors with descendant combinators against documents that untrusted users can supply or influence. Applications that only run selectors against trusted documents are not affected. To check, look at the soupsieve version installed in the application's environment, since versions before 4.0 contain the flaw.
¿Qué hacer?Upgrade soupsieve to version 4.0 or later, which contains the fix from facelessuser/soupsieve#351.
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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Selector uses descendant combinators (for example section div div)“Applications are affected if they run selectors with descendant combinators against documents that untrusted users can”
02
Document is HTML or XML that an attacker controls or influences“An attacker who controls the HTML or XML that an application passes to Soup Sieve”
03
Applications that only process trusted documents are not affected“Applications that only run selectors against trusted documents are not affected.”
¿Quién debe revisar?Teams running soupsieve before 4.0 (used by Beautiful Soup 4 CSS select APIs) that select with descendant combinators on untrusted HTML or XML, such as scrapers and sanitizers
No protegeSelectors compiled with NOCACHE remain subject to polynomial-time matching.
MitigaciónUse as few descendant combinators as you can in selectors that run on untrusted documents.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
soupsieve< 4.0
soupsieve< 4.0.0
4.0
4.0.0
4.1.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypisoupsieve
Corregida 4.0.0 -9 d 4.1.2 no afectada
Versiones corregidas4.04.0.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/facelessuser/soupsieve/security/advisories/GHSA-mmhr-3c5m-f64f
Otrahttps://github.com/facelessuser/soupsieve/pull/351
Otrahttps://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320
Otrahttps://github.com/facelessuser/soupsieve/releases/tag/4.0

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