CVE-2026-49477
soupsieve: Soupsieve: Denial of Service via crafted CSS selector strings
Overview
Description
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.8.4, the CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value in soupsieve/css_parser.py, allowing an attacker who can supply untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup .select() / .select_one() to cause CPU exhaustion and denial of service. This issue is fixed in version 2.8.4.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400, CWE-1333
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | soupsieve | <2.8.4 | 2.8.4 |
Open a package to see all its vulnerabilities.
Operating systems · 45 fixes
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-ose-olm-catalogd-rhel9 | affected |
| 8 | openshift4-ose-olm-catalogd-rhel9 | affected |
| 9 | openshift4-ose-olm-catalogd-rhel9 | affected |
SUSE Linux Enterprise 5 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | python3-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| 15.5 | python3-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| 15.6 | python3-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| 15.6 | python311-soupsieve | 2.5-150600.3.3.1 | SUSE-SU-2026:3240-1 |
| 15.7 | python3-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| 15.7 | python311-soupsieve | 2.5-150600.3.3.1 | SUSE-SU-2026:3240-1 |
1 more row
chainguard 1 release · 19 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.10.1-r3 | |
| airflow-2 | 2.11.2-r22 | |
| kubeflow-pipelines-visualization-server | 2.16.1-r9 | |
| datadog-agent-fips-7-71 | 7.71.2-r24 | |
| datadog-agent-7-71 | 7.71.2-r31 | |
| datadog-agent-fips-7-72 | 7.72.4-r27 |
13 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | soupsieve | affected |
| 12 | soupsieve | affected |
| 13 | soupsieve | affected |
| 14 | soupsieve | 2.8.4-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| soupsieve | affected |
minimos 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| mcp-server-fetch | 2026.8.18-r0 | |
| airflow-3 | 3.3.0-r0 | |
| datadog-agent-7 +1 | 7.82.3-r0 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-soupsieve | 2.6-160000.4.1 | openSUSE-SU-2026:21342-1 |
wolfi 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.10.1-r3 | |
| kubeflow-pipelines-visualization-server | 2.16.1-r9 | |
| datadog-agent-7-72 | 7.72.4-r33 | |
| datadog-agent-7-73 | 7.73.3-r23 | |
| datadog-agent-7-77 | 7.77.3-r22 | |
| datadog-agent-7-78 | 7.78.4-r15 |
1 more row
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-49477
- github.com https://github.com/facelessuser/soupsieve
- github.com https://github.com/facelessuser/soupsieve/commit/eb4397618709186c109400448c6043b728217dc3
- github.com https://github.com/facelessuser/soupsieve/releases/tag/2.8.4
- github.com https://github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m37
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-49477
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-49477
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.