CVE-2026-126192 Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux python-soupsieve(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/soupsieve(Debian 12) | = 2.3.2-1; = 2.4-1; = 2.4.1-1; = 2.4.1-2 +9 more | No fix listed | No fix yet |
| debian/soupsieve(Debian 13) | = 2.7-1; = 2.7-2; = 2.8.1-1; = 2.8.3-1 +3 more | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/soupsieve(Debian 14) | < 4.1-1; = 2.7-1; = 2.7-2; = 2.8.1-1 +2 more | 4.1-1 | Fixed |
| pypi soupsieve(PyPI) | < 2.10.0; <= 2.9.2; = 0.4; = 0.5 +53 more | 2.10.0 | Fixed |
| facelessuser soupsieve | = < 2.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| facelessuser soupsieve | = < 2.10 | No fix listed |
| pypi soupsieve(PyPI) | <= 2.9.2 | No fix listed |
| pypi soupsieve(PyPI) | < 2.10.0 | 2.10.0 |
| pypi soupsieve(PyPI) | = 0.4 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5.1 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5.2 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5.3 | No fix listed |
| pypi soupsieve(PyPI) | = 0.6 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0b1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0b2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.2.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.3 | No fix listed |
| pypi soupsieve(PyPI) | = 1.3.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.4 | No fix listed |
| pypi soupsieve(PyPI) | = 1.5 | No fix listed |
| pypi soupsieve(PyPI) | = 1.6 | No fix listed |
| pypi soupsieve(PyPI) | = 1.6.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.6.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.7 | No fix listed |
Show 64 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi soupsieve(PyPI) | = 1.7.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.7.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.7.3 | No fix listed |
| pypi soupsieve(PyPI) | = 1.8 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.3 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.4 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.5 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.6 | No fix listed |
| pypi soupsieve(PyPI) | = 2.0 | No fix listed |
| pypi soupsieve(PyPI) | = 2.0.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.2 | No fix listed |
| pypi soupsieve(PyPI) | = 2.2.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3.2 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3.2.post1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.4 | No fix listed |
| pypi soupsieve(PyPI) | = 2.4.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.5 | No fix listed |
| pypi soupsieve(PyPI) | = 2.6 | No fix listed |
| pypi soupsieve(PyPI) | = 2.7 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.2 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.3 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.4 | No fix listed |
| pypi soupsieve(PyPI) | = 2.9 | No fix listed |
| pypi soupsieve(PyPI) | = 2.9.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.9.2 | No fix listed |
| debian/soupsieve(Debian:12) | All versions | No fix listed |
| debian/soupsieve(Debian:12) | = 2.3.2-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.4-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.4.1-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.4.1-2 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.5-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.6-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.7-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.7-2 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.8.1-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.8.3-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.8.4-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 4.1-1 | No fix listed |
| debian/soupsieve(Debian:13) | All versions | No fix listed |
| debian/soupsieve(Debian:13) | = 2.7-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.7-2 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.8.1-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.8.3-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.8.4-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 4.1-1 | No fix listed |
| debian/soupsieve(Debian:14) | < 4.1-1 | 4.1-1 |
| debian/soupsieve(Debian:14) | = 2.7-1 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.7-2 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.8.1-1 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.8.3-1 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.8.4-1 | No fix listed |
| ubuntu/soupsieve(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/soupsieve(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/soupsieve(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/soupsieve(Ubuntu:26.10) | All versions | No fix listed |
| azure linux python-soupsieve(Azure Linux:4.0) | All versions | No fix listed |
References
- https://github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4 exploit vendor-advisory
- https://github.com/facelessuser/soupsieve/pull/304 patch
- https://github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0 patch
- https://github.com/facelessuser/soupsieve/releases/tag/2.10
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2026-126192 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-124557 third-party-advisory