CVE-2026-126192: Soup Sieve · General sibling combinator inside :has() matches untrusted HTML in quadratic time
Affects subliminalSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.7.1_1 when convenient.
Data as of 13 Nov 2026, 21:33 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.3 |
|---|
- Patch
- Available – fixed in 2.7.1_1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade subliminal to 2.7.1_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewsubliminalpkg:brew/subliminalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Soup Sieve version 2.7.1_1 and users should upgrade to this version or later. Users should also apply selectors with :has() thoughtfully, avoiding anchors with many children and preferring combinators like > or + inside :has() to limit traversal. If the risk is high, user input containing :has selectors can be scanned and denied, or selector evaluation can be wrapped in a timeout to prevent long-running processes. Quadratic time complexity in some cases is expected behavior due to the design of :has() and is not considered a bug.
Description
Soup Sieve versions from 2.1.0 up to but not including 2.7.1_1 have a performance issue when evaluating selectors with a general sibling combinator inside :has(), such as div:has(a ~ b), against untrusted HTML. This causes quadratic time complexity in the number of sibling elements, potentially stalling processing for minutes on inputs with a few thousand siblings. The issue arises because the evaluation cannot short-circuit when the sibling element is absent, leading to nested scans. This behavior is inherent to the design of :has() and the general sibling combinator, and while optimizations exist, linear time performance cannot be guaranteed in all cases. The vulnerability impacts availability by allowing CPU exhaustion via crafted HTML inputs. A fix is available in version 2.7.1_1.
References
- github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126192 (opens in a new tab)
- github.com/facelessuser/soupsieve/pull/304 (opens in a new tab)
- github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0 (opens in a new tab)
- github.com/facelessuser/soupsieve (opens in a new tab)
- github.com/facelessuser/soupsieve/releases/tag/2.10 (opens in a new tab)