CVE-2026-126189
Last modified
CVE-2026-126189 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 4.0.1, Soup Sieve repeatedly searches descendant subtrees for each candidate evaluated by :has() and repeatedly reevaluates a parent containing :has(> ...) for each child, causing quadratic matching on deeply nested or wide attacker-influenced HTML or XML.
Description
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0.1, Soup Sieve repeatedly searches descendant subtrees for each candidate evaluated by :has() and repeatedly reevaluates a parent containing :has(> ...) for each child, causing quadratic matching on deeply nested or wide attacker-influenced HTML or XML. Applications using ordinary fixed selectors through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while applications that process only trusted documents are not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.0.1.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| facelessuser | soupsieve | < 4.0.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126189?
How severe is CVE-2026-126189?
How do I fix CVE-2026-126189?
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-126183A authorization bypass through user-controlled key vulnerabi…8.7
- CVE-2026-126184A authentication bypass by spoofing vulnerability in Fortine…8.2
- CVE-2026-126185A improper control of generation of code ('code injection') …7.2
- CVE-2026-126186Active Storage makes it simple to upload and reference files…8.8
- CVE-2026-126187React is a JavaScript library for building user interfaces. …9.5
- CVE-2026-126188Active Storage makes it simple to upload and reference files…3.7
- CVE-2026-12619Improper Neutralization of Input During Web Page Generation …5.4
- CVE-2026-126190Soup Sieve is a CSS selector library designed to be used wit…7.5
- CVE-2026-126191Soup Sieve is a CSS selector library designed to be used wit…7.5
- CVE-2026-126192Soup Sieve is a CSS selector library designed to be used wit…6.3
- CVE-2026-126193Soup Sieve is a CSS selector library for Beautiful Soup. Fro…5.3
- CVE-2026-126196pgEdge Postgres MCP Server enables SQL queries against Postg…8.1
Are you affected by CVE-2026-126189?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
