# CVE-2026-126193: Soup Sieve: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selectors exhaust the Python call stack

- Severity: Medium 5.3 (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:L`
- 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.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-12T17:12:02.083Z
- Modified: 2026-11-16T20:18:59.157Z
- Also known as: GHSA-7g44-g9rc-x53w
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Soup Sieve is a CSS selector library for Beautiful Soup. From 0.4 until 3.0, deeply nested CSS pseudo-class selectors can cause recursive parsing to exceed Python’s recursion limit and raise  RecursionError . Applications accepting untrusted selectors may experience failure of the affected request or task if the exception is not handled. The demonstrated behavior is recoverable and does not establish an interpreter crash or persistent service-wide denial of service. This vulnerability is fixed in version 3.0.

(As written by CVE List.)

## Affected

- facelessuser soupsieve: >= 0.4, < 3.0
- soupsieve (PyPI): from 0.4 before 3.0.2

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/facelessuser/soupsieve/security/advisories/GHSA-7g44-g9rc-x53w> (exploit, web)
- <https://github.com/facelessuser/soupsieve/pull/306> (web)
- <https://github.com/facelessuser/soupsieve/commit/52de12f157a373614ad0f486d434551c5a4378ee> (web)
- <https://github.com/facelessuser/soupsieve/releases/tag/3.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126193> (advisory)
- <https://github.com/facelessuser/soupsieve> (package)

## Sources

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

---

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