CVE-2026-126193

GHSA-7g44-g9rc-x53w · published 12 Nov 2026 · updated 16 Nov 2026

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

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in soupsieve 3.0.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
facelessuser>=0.4 <3.0
pypi: soupsieve>=0.4 <3.0.2, >=0.4 <=2.103.0.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in soupsieve (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126193 severity on Zeptric[![CVE-2026-126193](https://zeptric.io/badge/cve/CVE-2026-126193.svg)](https://zeptric.io/cve/CVE-2026-126193)