CVE-2026-126192
Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
Also known as GHSA-4j63-6c4x-wfg4
Mitigation
- Upgrade soupsieve to 2.10.0 or later.
Who should check
- Projects that depend on PyPI package soupsieve (<= 2.9.2)
- Anyone running facelessuser soupsieve < 2.10
Vulnerability facts
- Affected
- soupsieve <= 2.9.2
- Fixed in
- 2.10.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.52% chance of exploitation in 30 days (percentile 38, 2026-11-28)
- CWE
- CWE-400, CWE-407
- Modified
Description
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.10, matching a developer-authored selector that places the general sibling combinator inside :has() repeatedly scans each candidate element's following siblings when the right-hand side is absent, producing quadratic work on attacker-controlled HTML. Applications that evaluate a fixed selector such as div:has(a ~ b) over untrusted markup can have a worker occupied for minutes by a small document, while the adjacent sibling form and trusted-only document processing are not affected in the same way. This issue is fixed in version 2.10.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI soupsieve | <= 2.9.2 | 2.10.0 | ghsa |
| facelessuser soupsieve | < 2.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-126192. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-126192.md Affected: soupsieve <= 2.9.2 Fixed in: 2.10.0 Steps: 1. Search this machine and project for soupsieve (PyPI), facelessuser soupsieve: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Patches
FAQ
Is CVE-2026-126192 being exploited?
There is no confirmed exploitation: CVE-2026-126192 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-126192?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-126192?
soupsieve <= 2.9.2.
Is there a fix for CVE-2026-126192?
Yes. Fixed in 2.10.0. Upgrade soupsieve to 2.10.0 or later.
How do I check if I'm affected by CVE-2026-126192?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More soupsieve vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.3 | CVE-2026-126193 Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack | PyPI packages | EPSS 38% | |
| HIGH 7.5 | CVE-2026-126191 Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER | PyPI packages | EPSS 45% | |
| HIGH 7.5 | CVE-2026-126190 Soup Sieve: Polynomial-time denial of service in the descendant combinator | PyPI packages | EPSS 45% |