- Home
- Vulnerabilities
- CVE-2026-126190
CVE-2026-126190
Soup Sieve: Polynomial-time denial of service in the descendant combinator
Summary
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.
Affected products and versions
Facelessuser (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| soupsieve | Versions not specified | — | CNA (vendor or assigner) |
Pypi (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| soupsieve | before 4.0.0 (excluded) |
4.0.0 |
GitHub Advisory |
Fix
Upgrade — PyPI/soupsieve 4.0.0official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-mmhr-3c5m-f64f — Soup Sieve: Polynomial-time denial of service in the descendant combinator 13 Nov 2026
References
- https://github.com/facelessuser/soupsieve/security/advisories/GHSA-mmhr-3c5m-f64fx_refsource_CONFIRM
- https://github.com/facelessuser/soupsieve/pull/351x_refsource_MISC
- https://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320x_refsource_MISC
- https://github.com/facelessuser/soupsieve/releases/tag/4.0x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-126190ADVISORY
- https://github.com/facelessuser/soupsievePACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-407 · Autre (CWE-407)