{"answers":{"affected":"4 open source packages ship an affected version, including degit.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-11572 exists.","fix":"Upgrade degit to a fixed version for your release line: 2.8.6 or 3.3.1.","what":"CVE-2026-11572 is a high-severity command injection vulnerability in degit, published on 9 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-11572 and fix it if it is affected.\n\nWhat it is: CVE-2026-11572 is a high-severity command injection vulnerability in degit, published on 9 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-11572 exists.\n\nAffected packages and fixed versions:\n- degit (npm): affected all versions; fixed in 2.8.6\n- degit (npm): affected all versions; fixed in 2.8.6\n- degit (npm): affected from 3.0.0; fixed in 3.3.1\n- degit (npm): affected from 3.0.0; fixed in 3.3.1\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-11572/ (Markdown: https://insights.sbomify.com/CVE-2026-11572/index.md)","id":"CVE-2026-11572","markdown":"https://insights.sbomify.com/CVE-2026-11572/index.md","name":"CVE-2026-11572","record":{"aliases":["GHSA-77c7-pq4r-6mcq"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"npm package","requires_auth":"none","summary":"An attacker can execute arbitrary OS commands by supplying a crafted git repository name to the degit library.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Versions of the package degit before 2.8.6, from 3.0.0 and before 3.3.1 are vulnerable to Command Injection due to improper sanitisation of user input for git shell commands directly invoked with exec() method by _cloneWithGit() and fetchRefs() functions. An attacker can execute arbitrary operating system commands as the process user by supplying a specially crafted git repository name.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"degit has a Command Injection issue","id":"CVE-2026-11572","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Uncontrolled recursion in QDomDocument/QDomNode serialization causes stack exhaustion (QtXml)","id":"CVE-2026-11573"},"packages":[{"ecosystem":"npm","fixed":["2.8.6"],"introduced":["0"],"last_affected":[],"package":"degit","purl":null,"source":"GHSA-77c7-pq4r-6mcq"},{"ecosystem":"npm","fixed":["2.8.6"],"introduced":["0"],"last_affected":[],"package":"degit","purl":"pkg:npm/degit","source":"GHSA-77c7-pq4r-6mcq"},{"ecosystem":"npm","fixed":["3.3.1"],"introduced":["3.0.0"],"last_affected":[],"package":"degit","purl":null,"source":"GHSA-77c7-pq4r-6mcq"},{"ecosystem":"npm","fixed":["3.3.1"],"introduced":["3.0.0"],"last_affected":[],"package":"degit","purl":"pkg:npm/degit","source":"GHSA-77c7-pq4r-6mcq"}],"prev":{"headline":"Everest Forms \u003c 3.5.0 - Unauthenticated Sensitive Information Exposure via Residual CSV Artifacts","id":"CVE-2026-11571"},"products":["degit"],"published":"2026-06-09","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-09","vendors":["n/a"]},"summary":"An attacker can execute arbitrary OS commands by supplying a crafted git repository name to the degit library.","url":"https://insights.sbomify.com/CVE-2026-11572/"}