Skip to content
RedCVE

CVE-2026-85999Facelessuser Soupsieve uncontrolled resource consumption

facelessuserPublished:

CVSS score

5.3

Medium

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.61%

0.61% chance of exploitation in the next 30 days, higher than 50.1% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, selector_iter in src/soupsieve/css_parser.py trims the raw selector with RE_WS_END, an end-anchored WSC whitespace-and-comment expression used with search(), so the regular expression engine retries a greedy scan at every starting offset. An attacker-controlled valid selector containing a long internal whitespace run, or a selector containing a long CSS comment run followed by another token, causes quadratic CPU work before tokenization. User-controlled selectors can reach the path through soupsieve.compile() and BeautifulSoup.select(), while applications using only hard-coded selectors are unaffected. This root cause is separate from the IDENTIFIER and VALUE backtracking vulnerability because the cost occurs in RE_WS_END.search during trimming rather than token matching. The resulting CPU consumption can hold the Python GIL, exhaust workers, and stall a service without causing memory corruption or code execution. The issue is fixed in version 2.9.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running facelessuser Soupsieve and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Soupsieve to 2.9 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

Affected productsVersions
facelessuser Soupsieve< 2.9

Weakness

  • CWE-400 uncontrolled resource consumption
  • CWE-1333 regular expression denial of service (ReDoS)

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-85999 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-85999?

CVE-2026-85999 has a CVSS 3.1 base score of 5.3 (medium).

Which versions are affected?

Facelessuser Soupsieve (< 2.9)

Is there a patch for CVE-2026-85999?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.