Uncontrolled Recursion Affecting soupsieve package, versions <4.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.31% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-SOUPSIEVE-22565078
  • published16 Nov 2026
  • disclosed12 Nov 2026

Introduced: 12 Nov 2026

NewCVE-2026-126193  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Debian:unstable soupsieve to version 4.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream soupsieve package and not the soupsieve package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.