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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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
- Awaiting Analysis
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-85983The Auth0 AD/LDAP Connector improperly processes a configura…7.8
- CVE-2026-85984The miniOrange OTP Login, Verification and SMS Notifications…9.8
- CVE-2026-85985MariaDB server is a community developed fork of MySQL server…5.4
- CVE-2026-8599The MailerPress – Email Marketing, Newsletter, Email Automat…6.4
- CVE-2026-85990Leantime is an open source project management system. Prior …8.8
- CVE-2026-85995Notepad++ is a free and open-source source code editor. From…7.3
- CVE-2026-86000Soup Sieve is a CSS selector library designed to be used wit…5.3
- CVE-2026-86002Dokku is a docker-powered platform as a service. In Dokku ve…9
- CVE-2026-86003CoreDNS is a DNS server written in Go. Prior to 1.14.7, the …7.5
- CVE-2026-86008Mailu is a mail server distributed as a set of Docker images…7.2
- CVE-2026-86009Mailu is a mail server distributed as a set of Docker images…8.2
- CVE-2026-86016VNote is a note-taking platform. Prior to 4.3.0, VNote uses …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
