# CVE-2026-126190: Soup Sieve: Polynomial-time denial of service in the descendant combinator

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-11-12T16:54:14.644Z
- Modified: 2026-11-13T23:17:15.307Z
- Also known as: GHSA-mmhr-3c5m-f64f
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- facelessuser soupsieve: < 4.0
- soupsieve (PyPI): before 4.0.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/facelessuser/soupsieve/security/advisories/GHSA-mmhr-3c5m-f64f> (web)
- <https://github.com/facelessuser/soupsieve/pull/351> (web)
- <https://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320> (web)
- <https://github.com/facelessuser/soupsieve/releases/tag/4.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126190> (advisory)
- <https://github.com/facelessuser/soupsieve> (package)

## Sources

- CVE List: [CVE-2026-126190](https://www.cve.org/CVERecord?id=CVE-2026-126190), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-mmhr-3c5m-f64f](https://github.com/advisories/GHSA-mmhr-3c5m-f64f), CC-BY-4.0, modified 2026-11-13
- NVD: [CVE-2026-126190](https://nvd.nist.gov/vuln/detail/CVE-2026-126190), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126190 · Whole record: https://cve.day/CVE-2026-126190.json · Rebuilt by cve.day 2026-11-25T22:59:50.539Z
