CVE-2026-126193
MEDIUM 5.3CVSS 3.1Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack
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.
- Published
- 12 Nov 2026
- Last modified
- 16 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-674
- Also known as
- GHSA-7g44-g9rc-x53w
- Sources
- NVDJSONOSV GHSA-7g44-g9rc-x53wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | soupsieve | >= 0.4, < 3.0.2 | 3.0.2 |
References
- https://github.com/facelessuser/soupsieve/commit/52de12f157a373614ad0f486d434551c5a4378ee · WEB
- https://github.com/facelessuser/soupsieve/pull/306 · WEB
- https://github.com/facelessuser/soupsieve/releases/tag/3.0 · WEB
- https://github.com/facelessuser/soupsieve/security/advisories/GHSA-7g44-g9rc-x53w · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-126193 · ADVISORY
- https://github.com/facelessuser/soupsieve · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 12 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Nov 2026)