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.
CVE-2026-49477
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.6%, top 55% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS
- 45.1%
- KEV
- Not listed
Published
July 9, 2026
Last Modified
July 21, 2026
Advisory Details (3)
Auto-updated Jul 15, 2026Regular Expression Denial of Service (ReDoS) in soupsieve Selector Parser · Advisory · facelessuser/soupsieve · GitHub
https://github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m372.8.4
Patch available: facelessuser/soupsieve 2.8.4
https://github.com/facelessuser/soupsieve/releases/tag/2.8.4commit eb4397618709 (facelessuser/soupsieve)
Patch available: facelessuser/soupsieve 2.8.4 (contains commit eb4397618709)
https://github.com/facelessuser/soupsieve/commit/eb4397618709186c109400448c6043b728217dc3Vendor Advisories for CVE-2026-49477(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- GHSA-836r-79rf-4m37GitHub Security AdvisoriesHigh
Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser
- RHSA-2026:34119Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:23992Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | python-rpds-py-main-2026.6.3-1.hum1 | 2026-07-01 | redhat |
| redhat | python-attrs-main-26.1.0-3.hum1 | 2026-06-07 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| soupsieve | 0.4 ... 2.8.3 (51 versions) | 2.8.4 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 03:18 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 19:51 UTCVendor advisory
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 07:25 UTCVendor advisory
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-09 13:45 UTCEG score recompute
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2026-49477?
When was CVE-2026-49477 disclosed?
Is CVE-2026-49477 actively exploited?
What is the CVSS score of CVE-2026-49477?
How do I remediate CVE-2026-49477?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-49477
Is Your Infrastructure Affected by CVE-2026-49477?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.