Skip to main content
VulnerabilityPublished

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

Affects gimme-aws-credsSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.8.2_16 when convenient.

Data as of 13 Nov 2026, 21:54 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 2.8.2_16
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 gimme-aws-creds to 2.8.2_16.

Affected software

ProductAffectedFixed in
Homebrewgimme-aws-credspkg:brew/gimme-aws-credsOther threatsAffected
  • >=2.3.3_1 <2.8.2_16
Fixed in
  • 2.8.2_16

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.8.2_16. Users should upgrade to this version or later to resolve the issue. Additionally, users should carefully design selectors using :has() to avoid general sibling combinators (~) inside it when processing untrusted HTML. Prefer using combinators like adjacent sibling (+) or child (>) inside :has() to limit traversal. If risk remains high, input containing :has selectors can be denied or selector evaluation wrapped in timeouts to prevent long-running processes. Quadratic time complexity is expected behavior for some :has() selectors, so thoughtful use is recommended.

Description

CVE-2026-126192 describes a performance issue in Soup Sieve when using a CSS selector with a general sibling combinator inside :has(), such as div:has(a ~ b). This selector runs in quadratic time relative to the number of sibling elements when matched against untrusted HTML, causing significant CPU delays. The issue arises because Soup Sieve performs nested scans for each candidate element, leading to O(n²) complexity. This can stall applications processing attacker-controlled HTML. The vulnerability is mitigated by careful selector design and is fixed in version 2.8.2_16.

References

Community reviews

Loading reviews…