Skip to main content
VulnerabilityPublished Updated

CVE-2026-49477: Soup Sieve · Regular Expression Denial of Service (ReDoS) via Selector Parser

Affects gptlineSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 1.0.8_22 soon.

Data as of 4 Dec 2026, 20:05 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.0.8_22, 2.8.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 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 4 Dec 2026.

What to do

Upgrade gptline to 1.0.8_22; soupsieve to 2.8.4.

Affected software

ProductAffectedFixed in
Homebrewgptlinepkg:brew/gptlineOther threatsAffected
  • >=1.0.8 <1.0.8_22
Fixed in
  • 1.0.8_22
PyPIsoupsievepkg:pypi/soupsieveOther threatsAffected
  • <2.8.4
Fixed in
  • 2.8.4

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 and should be applied by upgrading soupsieve to version 1.0.8_22 or later. Applications should avoid passing untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup's .select()/.select_one() methods until patched. No other mitigations are indicated by the vendor advisory.

Description

A Regular Expression Denial of Service (ReDoS) vulnerability exists in soupsieve's CSS selector parser due to catastrophic backtracking in the regex pattern that parses attribute selectors with unterminated quoted values. This flaw allows an attacker to cause CPU exhaustion by supplying a crafted CSS selector string with an unterminated quote, leading to exponential regex backtracking and thread blocking. The issue affects applications using soupsieve versions prior to 1.0.8_22 that compile untrusted CSS selectors. A fix is available in version 1.0.8_22.

References

Community reviews

Loading reviews…