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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-126193— Soup Sieve: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selectors exhaust the Python call stack

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 的 CSS 选择器库。从 0.4 版本到 3.0 版本,深度嵌套的 CSS 伪类选择器可能导致递归解析超出 Python 的递归限制,从而引发 异常。如果应用程序接受不可信的选择器且未处理该异常,则受影响的请求或任务可能会失败。已证实的行为是可恢复的,不会导致解释器崩溃或持续性的全局服务拒绝(DoS)。此漏洞已在 3.0 版本中修复。

CVSS 5.3 · Medium EPSS 0.31% · P24

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
facelessuser soupsieve >= 0.4, < 3.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-126193

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: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selectors exhaust the Python call stack
Source: CVE Program / CVE List V5
Vulnerability Description
Soup Sieve is a CSS selector library for Beautiful Soup. From 0.4 until 3.0, deeply nested CSS pseudo-class selectors can cause recursive parsing to exceed Python’s recursion limit and raise  RecursionError . Applications accepting untrusted selectors may experience failure of the affected request or task if the exception is not handled. The demonstrated behavior is recoverable and does not establish an interpreter crash or persistent service-wide denial of service. This vulnerability is fixed in version 3.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:L
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
facelessuser soupsieve >= 0.4, < 3.0 -

II. Public POCs for CVE-2026-126193

# 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-126193

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

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

Vendor Advisories for CVE-2026-126193 (1)

Vendor Pages for CVE-2026-126193 (1)

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

CVE-2026-126190 7.5 HIGH Soup Sieve: Polynomial-time denial of service in the descendant combinator
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()`

IV. Related Vulnerabilities