{"answers":{"affected":"3 open source packages ship an affected version, including soupsieve. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49477 exists.","fix":"Upgrade soupsieve to 2.8.4 or later.","what":"CVE-2026-49477 is a high-severity denial of service vulnerability in facelessuser soupsieve, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49477 and fix it if it is affected.\n\nWhat it is: CVE-2026-49477 is a high-severity denial of service vulnerability in facelessuser soupsieve, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49477 exists.\n\nAffected packages and fixed versions:\n- soupsieve (PyPI): affected all versions; fixed in 2.8.4\n- soupsieve (PyPI): affected all versions; fixed in 2.8.4\n- soupsieve (PyPI): affected all versions; fixed in 2.8.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49477/ (Markdown: https://insights.sbomify.com/CVE-2026-49477/index.md)","id":"CVE-2026-49477","markdown":"https://insights.sbomify.com/CVE-2026-49477/index.md","name":"CVE-2026-49477","record":{"aliases":["CLEANSTART-2026-DI63885","DEBIAN-CVE-2026-49477","ECHO-a29a-2b91-4618","GHSA-836r-79rf-4m37","MINI-5f4f-5wj2-954v","MINI-5pfr-qxr9-8qxw","MINI-79mj-2544-q8fc","MINI-8jcw-m5jc-f8jq","MINI-gg9p-72hr-vcx3","MINI-mv5x-g7x5-mw36","PYSEC-2026-3072","ROOT-APP-PYPI-CVE-2026-49477","UBUNTU-CVE-2026-49477"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python CSS selector library","requires_auth":"none","summary":"An attacker can cause CPU exhaustion and denial of service by supplying malicious CSS selector strings to the soupsieve library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"soup_sieve","vendor":"facelessuser"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Soup Sieve: Regular Expression Denial of Service (ReDoS) in soupsieve Selector Parser","id":"CVE-2026-49477","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Fulcio has OIDC Discovery Redirect Following Allows SSRF and JWKS Substitution for Meta-Issuer Paths, with Kubernetes Service-Account Token Leakage","id":"CVE-2026-49478"},"packages":[{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"soupsieve","purl":null,"source":"GHSA-836r-79rf-4m37"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"soupsieve","purl":"pkg:pypi/soupsieve","source":"GHSA-836r-79rf-4m37"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"soupsieve","purl":"pkg:pypi/soupsieve","source":"PYSEC-2026-3072"}],"prev":{"headline":"Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve","id":"CVE-2026-49476"},"products":["soupsieve"],"published":"2026-07-14","related":[{"cvss_score":7.5,"headline":"Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve","id":"CVE-2026-49476","kev_date_added":null,"published":"2026-07-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-21","vendors":["facelessuser"]},"summary":"An attacker can cause CPU exhaustion and denial of service by supplying malicious CSS selector strings to the soupsieve library.","url":"https://insights.sbomify.com/CVE-2026-49477/"}