CVE-2026-126192

MEDIUM CVSS 4.0: 6.3 EPSS 0.52%
Updated Nov 13, 2026
Soup
Parameter Value
CVSS 6.3 (MEDIUM)
Fixed In 2.10
Type CWE-407, CWE-400 (Uncontrolled Resource Consumption)
Vendor Soup
Public PoC No

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.10, matching a developer-authored selector that places the general sibling combinator inside :has() repeatedly scans each candidate element's following siblings when the right-hand side is absent, producing quadratic work on attacker-controlled HTML. Applications that evaluate a fixed selector such as div:has(a ~ b) over untrusted markup can have a worker occupied for minutes by a small document, while the adjacent sibling form and trusted-only document processing are not affected in the same way.

This issue is fixed in version 2.10.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0