CVE-2026-126193
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.
Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · source cna
Exploit chance (EPSS)
0.308%
chance of exploitation in the next 30 days
higher than 24% of scored CVEs · 2026-11-18
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-674: Uncontrolled Recursion
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-16 |
Timeline
- 2026-11-12Published by the CNA17:12 UTC
- 2026-11-12Published in NVD17:17 UTC · 5 minutes after the CNA
- 2026-11-13GitHub advisory published (GHSA-7g44-g9rc-x53w)1 day after publication
- 2026-11-16CISA SSVC decision recorded4 days after publication
Exploit and advisory records
GitHub advisory GHSA-7g44-g9rc-x53w, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI soupsieve | from 0.4 before 3.0.2 | 3.0.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| facelessuser soupsieve |
References
- https://github.com/facelessuser/soupsieve/commit/52de12f157a373614ad0f486d434551c5a4378ee
- https://github.com/facelessuser/soupsieve/pull/306
- https://github.com/facelessuser/soupsieve/releases/tag/3.0
- https://github.com/facelessuser/soupsieve/security/advisories/GHSA-7g44-g9rc-x53w
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-126193'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-126193'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-126193'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-126193'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).