Skip to main content
VulnerabilityPublished

CVE-2026-126192: Soup Sieve · General sibling combinator inside :has() matches untrusted HTML in quadratic time

Affects aqtinstallSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126192· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 3.3.0_11 when convenient.

Data as of 13 Nov 2026, 21:33 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.06.3
Patch
Available – fixed in 3.3.0_11
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 aqtinstall to 3.3.0_11.

Affected software

ProductAffectedFixed in
Homebrewaqtinstallpkg:brew/aqtinstallOther threatsAffected
  • >=3.2.0 <3.3.0_11
Fixed in
  • 3.3.0_11

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in version 3.3.0_11 of aqtinstall that addresses this issue. Users should upgrade to this version or later. The vendor notes that quadratic time complexity for :has() in some cases is expected due to selector semantics, so users should apply :has() selectors thoughtfully. Specifically, avoid using :has() with general sibling combinators (~) on elements with many children or untrusted input. Use more constrained combinators like > or + inside :has() to limit traversal. Additionally, scanning user input for :has usage and denying such input or wrapping selector evaluation calls in timeouts can mitigate risk. If the risk is unacceptable, avoid running selectors with :has() on untrusted HTML.

Description

CVE-2026-126192 describes a performance issue in Soup Sieve when using the CSS selector pattern with a general sibling combinator inside :has(), such as div:has(a ~ b). This pattern causes the selector matching to run in quadratic time relative to the number of sibling elements, leading to potentially long CPU processing times on untrusted HTML inputs. The issue is due to nested scanning of siblings when the right-hand side element is absent, causing O(n²) complexity. This can be exploited to cause denial of service by stalling applications that run such selectors on attacker-controlled HTML. The vulnerability affects versions >=3.2.0 and <3.3.0_11 of the product aqtinstall. A fix is available in version 3.3.0_11. The vendor advises careful use of :has() selectors and suggests mitigation strategies including limiting the use of general sibling combinators and applying timeouts or input scanning to prevent abuse.

References

Community reviews

Loading reviews…