目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-126189— Soup Sieve :has()匹配拒绝服务漏洞

一分钟漏洞结论

影响对象
facelessuser soupsieve
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Soup Sieve 是一个专为配合 Beautiful Soup 4 使用的 CSS 选择器库。在 4.0.1 版本之前,Soup Sieve 在处理 伪类时,会对每个候选元素反复搜索其后代子树,并且对于包含 的父元素,会为每个子元素重复重新评估该条件。这导致在面对深度嵌套或宽度较大、且由攻击者可控的 HTML 或 XML 文档时,匹配过程呈现二次方复杂度(quadratic matching)。 使用常规固定选择器通过 、 或 Beautiful Soup 的 CSS API 处理不可信文档的应用程序,可能会因

CVSS 5.3 · Medium EPSS 0.30% · P23

可能的 ATT&CK 技术 1 AI

T1499 · Endpoint Denial of Service

影响版本矩阵 1

厂商产品 版本范围状态
facelessuser soupsieve < 4.0.1 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-126189 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Soup Sieve: Quadratic-time denial of service when matching `:has()`
来源: 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.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.
来源: 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
来源: CVE Program / CVE List V5
Vulnerability Type
算法复杂性
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
facelessuser soupsieve < 4.0.1 -

二、漏洞 CVE-2026-126189 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-126189 的情报信息

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

CVE-2026-126189 补丁与修复 (3)

CVE-2026-126189 厂商安全公告 (1)

CVE-2026-126189 厂商页面 (1)

同批安全公告 · facelessuser · 2026-11-12 · 共 5 条

CVE-2026-126190 7.5 HIGH Soup Sieve 后代选择器拒绝服务漏洞
CVE-2026-126191 7.5 HIGH Soup Sieve 选择器编译ReDoS漏洞
CVE-2026-126192 6.3 MEDIUM Soup Sieve :has() 选择器 DoS
CVE-2026-126193 5.3 MEDIUM Soup Sieve CSS解析器栈耗尽漏洞

IV. Related Vulnerabilities