Skip to main content
VulnerabilityPublished

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

Affects gptlineSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium : upgrade to 1.0.8_24 when convenient.

Data as of 13 Nov 2026, 21:20 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 1.0.8_24
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 gptline to 1.0.8_24.

Affected software

ProductAffectedFixed in
Homebrewgptlinepkg:brew/gptlineOther threatsAffected
  • >=1.0.8 <1.0.8_24
Fixed in
  • 1.0.8_24

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

AI-suggested

A fix for this performance issue is available in Soup Sieve version 1.0.8_24; users should upgrade to this version or later. Additionally, users should avoid applying :has() selectors with general sibling combinators (~) on untrusted HTML inputs, especially when the anchor element has many children. Using more restrictive combinators such as > or + inside :has() can reduce traversal and improve performance. If the risk is significant, input containing :has() selectors can be rejected or calls wrapped in timeouts to prevent long-running evaluations. These mitigations align with the vendor's guidance that quadratic time complexity is expected behavior for certain :has() uses and should be managed thoughtfully.

Description

CVE-2026-126192 is a performance-related vulnerability in Soup Sieve where using a general sibling combinator (~) inside the :has() CSS selector causes quadratic time complexity when matching against untrusted HTML with many sibling elements. This can lead to significant CPU consumption and potential denial of service by stalling the process for minutes on relatively small HTML inputs. The issue arises because the selector implementation performs nested scans that scale poorly with the number of siblings. The vulnerability is mitigated by careful use of :has() selectors and has been fixed in version 1.0.8_24.

References

Community reviews

Loading reviews…