Vulnerability
CVE-2026-126191
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 3.0, the CSS_ESCAPES and IDENTIFIER regular-expression subpatterns can backtrack exponentially on runs of ambiguous digit escapes in an attribute-name or tag position of an otherwise valid selector. The failure occurs during selector compilation through soupsieve.compile() or Beautiful Soup select() before SELECTOR_LIMIT is applied, so an application that accepts untrusted selector strings can have a worker stalled by a short input. This issue is fixed in version 3.0.
39 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
AZL-113920
CVE-2026-126191 affecting package python-soupsieve 2.6-3
- CGA-365j-ph3r-4qp6
- CGA-3vcp-6x42-639x
- CGA-5qp9-gpg5-j9qx
- CGA-5w26-cvm4-chjf
- CGA-6ggh-v4qj-x6h9
- CGA-74f4-j2fm-pv7g
- CGA-7797-25gg-w3pw
- CGA-9xmv-j492-cw88
- CGA-f7qr-25g7-mq9j
- CGA-fvm7-5hwp-f8vq
- CGA-g327-pw9p-p85r
- CGA-g55h-3v74-wxx9
- CGA-g6gc-jpwq-67gq
- CGA-gwwj-9pv2-29j8
- CGA-h3qx-gf87-wr6m
- CGA-h732-vwg3-r7p7
- CGA-j5hr-x5v8-25jv
- CGA-j5xj-8wmh-8v6j
- CGA-m3w8-grvf-47c8
- CGA-m65r-5m6r-jhv2
- CGA-mfr5-jgf4-mh3c
- CGA-pfqq-4j2c-5528
- CGA-q7pm-v5wp-9pv6
- CGA-qvhq-vjch-j298
- CGA-r328-fx78-8j37
- CGA-v86w-29mj-hq83
- CGA-v9vc-3hc7-w4w8
- CGA-vqf3-8mmv-g3xq
- CGA-w2xx-vhf9-3x59
- CGA-w7hr-qw8g-7qfh
- CGA-x398-jqcg-8hv6
- CGA-x4c4-wqxv-7cv4
- CGA-x6c2-349x-93p5
- CGA-xgvv-7pc9-8hf9
- CGA-xj5p-5qr3-rqj6
-
DEBIAN-CVE-2026-126191
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 3.0, the CSS_ESCAPES and IDENTIFIER regular-expression subpatterns can backtrack exponentially on runs of ambiguous digit escapes…
-
GHSA-6655-6qjp-jx7x
Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER
-
UBUNTU-CVE-2026-126191
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 3.0, the CSS_ESCAPES and IDENTIFIER regular-expression subpatterns can backtrack exponentially on runs of ambiguous digit escapes…