{"answers":{"affected":"2 open source packages ship an affected version, including git-diff.","exploited":"There is no known exploitation of CVE-2026-110634 in the wild and no public exploit code.","fix":"Upgrade git-diff to 2.0.7 or later.","what":"CVE-2026-110634 is a critical command injection vulnerability in danday74 git-diff, published on 14 Oct 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-110634 and fix it if it is affected.\n\nWhat it is: CVE-2026-110634 is a critical command injection vulnerability in danday74 git-diff, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-110634 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- git-diff (npm): affected all versions; fixed in 2.0.7\n- git-diff (npm): affected all versions; fixed in 2.0.7\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-110634/ (Markdown: https://insights.sbomify.com/CVE-2026-110634/index.md)","id":"CVE-2026-110634","markdown":"https://insights.sbomify.com/CVE-2026-110634/index.md","name":"CVE-2026-110634","record":{"aliases":["GHSA-6wfj-92cw-88vg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js git-diff library","requires_auth":"none","summary":"Attackers can execute arbitrary shell commands by providing crafted strings to the gitDiff API in the git-diff library.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"git-diff before 2.0.7 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying crafted strings to the gitDiff API. Attackers who control a diffed document string can embed $(cmd) or backtick substitutions that shelljs.exec evaluates, running commands with Node.js process privileges.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings","id":"CVE-2026-110634","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"webp-converter before 3.0.0 OS Command Injection via File Names and Options","id":"CVE-2026-110635"},"packages":[{"ecosystem":"npm","fixed":["2.0.7"],"introduced":["0"],"last_affected":[],"package":"git-diff","purl":null,"source":"GHSA-6wfj-92cw-88vg"},{"ecosystem":"npm","fixed":["2.0.7"],"introduced":["0"],"last_affected":[],"package":"git-diff","purl":"pkg:npm/git-diff","source":"GHSA-6wfj-92cw-88vg"}],"prev":{"headline":"MyReport Updater through 2.1.1 Local Privilege Escalation via Updater Service","id":"CVE-2026-110633"},"products":["git-diff"],"published":"2026-10-14","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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["danday74"]},"summary":"Attackers can execute arbitrary shell commands by providing crafted strings to the gitDiff API in the git-diff library.","url":"https://insights.sbomify.com/CVE-2026-110634/"}