CVE-2026-49476
Soup Sieve is a CSS selector library designed to be used with …
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 allocates unbounded memory when compiling large comma-separated selector lists, allowing an attacker who can supply a crafted selector string to soupsieve.compile() or Beautiful Soup .select() / .select_one() to allocate hundreds of megabytes of heap memory from a relatively small input and cause denial of service. This issue is fixed in version 2.8.4.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x
- github.com/advisories/GHSA-2wc2-fm75-p42x
- github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39
- github.com/facelessuser/soupsieve/releases/tag/2.8.4
- nvd.nist.gov/vuln/detail/CVE-2026-49476
- cve.org/CVERecord?id=CVE-2026-49476
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.