High severity7.5OSV Advisory· Published Jul 14, 2026· Updated Jul 28, 2026
CVE-2026-49477
CVE-2026-49477
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
soupsievePyPI | < 2.8.4 | 2.8.4 |
Affected products
312.8.3, 2.8.2, 2.8.1, …+ 2 more
- (no CPE)range: 2.8.3, 2.8.2, 2.8.1, …
- cpe:2.3:a:facelessuser:soup_sieve:*:*:*:*:*:beautiful_soup:*:*range: <2.8.4
- (no CPE)range: <2.8.4
- osv-coords28 versionspkg:apk/chainguard/datadog-agent-7.71-core-integrationspkg:apk/chainguard/datadog-agent-7.72-core-integrationspkg:apk/chainguard/datadog-agent-7.73-core-integrationspkg:apk/chainguard/datadog-agent-7.74-core-integrationspkg:apk/chainguard/datadog-agent-7.76-core-integrationspkg:apk/chainguard/datadog-agent-7.77-core-integrationspkg:apk/chainguard/datadog-agent-7.78-core-integrationspkg:apk/chainguard/datadog-agent-7.79-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.71-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.72-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.73-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.74-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.76-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.77-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.78-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.79-core-integrationspkg:apk/chainguard/kubeflow-pipelines-visualization-serverpkg:apk/chainguard/open-webuipkg:apk/wolfi/datadog-agent-7.72-core-integrationspkg:apk/wolfi/datadog-agent-7.73-core-integrationspkg:apk/wolfi/datadog-agent-7.74-core-integrationspkg:apk/wolfi/datadog-agent-7.76-core-integrationspkg:apk/wolfi/datadog-agent-7.77-core-integrationspkg:apk/wolfi/datadog-agent-7.78-core-integrationspkg:apk/wolfi/datadog-agent-7.79-core-integrationspkg:apk/wolfi/kubeflow-pipelines-visualization-serverpkg:apk/wolfi/open-webuipkg:rpm/opensuse/python-soupsieve&distro=openSUSE%20Leap%2016.0
< 7.71.2-r31+ 27 more
- (no CPE)range: < 7.71.2-r31
- (no CPE)range: < 7.72.4-r33
- (no CPE)range: < 7.73.3-r23
- (no CPE)range: < 7.74.1-r23
- (no CPE)range: < 7.76.3-r30
- (no CPE)range: < 7.77.3-r22
- (no CPE)range: < 7.78.4-r15
- (no CPE)range: < 7.79.2-r13
- (no CPE)range: < 7.71.2-r24
- (no CPE)range: < 7.72.4-r27
- (no CPE)range: < 7.73.3-r25
- (no CPE)range: < 7.74.1-r25
- (no CPE)range: < 7.76.3-r30
- (no CPE)range: < 7.77.3-r26
- (no CPE)range: < 7.78.4-r12
- (no CPE)range: < 7.79.2-r6
- (no CPE)range: < 2.16.1-r9
- (no CPE)range: < 0.10.1-r3
- (no CPE)range: < 7.72.4-r33
- (no CPE)range: < 7.73.3-r23
- (no CPE)range: < 7.74.1-r23
- (no CPE)range: < 7.76.3-r30
- (no CPE)range: < 7.77.3-r22
- (no CPE)range: < 7.78.4-r15
- (no CPE)range: < 7.79.2-r13
- (no CPE)range: < 2.16.1-r9
- (no CPE)range: < 0.10.1-r3
- (no CPE)range: < 2.6-160000.4.1
Patches
Vulnerability mechanics
References
4- github.com/facelessuser/soupsieve/commit/eb4397618709186c109400448c6043b728217dc3nvdPatch
- github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m37nvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-836r-79rf-4m37ghsaADVISORY
- github.com/facelessuser/soupsieve/releases/tag/2.8.4nvdRelease Notes
News mentions
0No linked articles in our index yet.