CVE-2026-49477: Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4
CVE-2026-49477 is a high-severity flaw (CVSS 7.5) affecting soup sieve. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-49477?
soup sieve: upgrade to 2.8.4. Exact commands for each OS are on this page.
Is CVE-2026-49477 being exploited?
CVE-2026-49477 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-49477 affect?
CVE-2026-49477 affects soup sieve. Severity is high (CVSS 7.5). 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
How urgent is CVE-2026-49477?
Priority 49/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-49476 HIGH 7.5 UPGRADE Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4