Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-126190— Soup Sieve: Polynomial-time denial of service in the descendant combinator

Quick assessment

Affected
facelessuser soupsieve
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Soup Sieve 是一个专为配合 Beautiful Soup 4 使用的 CSS 选择器库。在 4.0 版本之前,Soup Sieve 在匹配后代组合符(descendant combinators)时,会反复遍历相同的祖先节点。每增加一个后代组合符,都会使针对深层嵌套的、由攻击者控制的 HTML 或 XML 文档进行匹配时的计算复杂度呈多项式级增长。 如果应用程序使用类似 的选择器,并通过 、 或 Beautiful Soup 的 CSS API 对不可信文档进行处理,可能导致工作线程被占用数秒甚至数分钟之

CVSS 7.5 · High EPSS 0.54% · P46

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 1

VendorProduct Version RangeStatus
facelessuser soupsieve < 4.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-126190

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Soup Sieve: Polynomial-time denial of service in the descendant combinator
Source: CVE Program / CVE List V5
Vulnerability Description
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0, Soup Sieve repeatedly walks the same ancestors while matching descendant combinators, and each additional descendant combinator raises the polynomial degree of the work on deeply nested attacker-influenced HTML or XML. Applications using selectors such as section div div through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while trusted-only document processing is not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
算法复杂性
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
facelessuser soupsieve < 4.0 -

II. Public POCs for CVE-2026-126190

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-126190

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-126190 (2)

Vendor Advisories for CVE-2026-126190 (1)

Vendor Pages for CVE-2026-126190 (1)

Same Patch Batch · facelessuser · 2026-11-12 · 5 CVEs total

CVE-2026-126191 7.5 HIGH Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER
CVE-2026-126192 6.3 MEDIUM Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic t
CVE-2026-126189 5.3 MEDIUM Soup Sieve: Quadratic-time denial of service when matching `:has()`
CVE-2026-126193 5.3 MEDIUM Soup Sieve: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selec

IV. Related Vulnerabilities