CVE-2026-85999
Last modified
CVE-2026-85999 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| facelessuser | soupsieve | < 2.9 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-85999?
How severe is CVE-2026-85999?
How do I fix CVE-2026-85999?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-85979Affected versions of Puppet Enterprise contain a command inj…8.6
- CVE-2026-8598An undocumented configuration export port is accessible on s…9.1
- CVE-2026-85981The administrative panel of the Auth0 AD/LDAP Connector (ver…6.7
- CVE-2026-85982The Auth0 AD/LDAP Connector is vulnerable to stored Cross-Si…9
- CVE-2026-85983The Auth0 AD/LDAP Connector improperly processes a configura…7.8
- CVE-2026-8599The MailerPress – Email Marketing, Newsletter, Email Automat…6.4
- CVE-2026-86000Soup Sieve is a CSS selector library designed to be used wit…5.3
- CVE-2026-86003CoreDNS is a DNS server written in Go. Prior to 1.14.7, the …7.5
- CVE-2026-8602In ScadaBR version 1.2.0, a Missing Authentication for Criti…9.1
- CVE-2026-8603In ScadaBR version 1.2.0, an OS Command Injection vulnerabil…9.8
- CVE-2026-86038libp2p is a JavaScript implementation of the libp2p networki…7.5
- CVE-2026-86039libp2p is a JavaScript implementation of the libp2p networki…8.2
Are you affected by CVE-2026-85999?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
