---
title: "CVE-2026-110634: git-diff - Command Injection"
description: "git-diff < 2.0.7 contains a command injection caused by improper handling of crafted strings in the gitDiff API, letting attackers execute arbitrary shell commands with Node.js process privileges, exploit requires control over diffed document string."
url: https://panop.io/threat-heartbeat/CVE-2026-110634/
---

# CVE-2026-110634 git-diff - Command Injection

git-diff < 2.0.7 contains a command injection caused by improper handling of crafted strings in the gitDiff API, letting attackers execute arbitrary shell commands with Node.js process privileges, exploit requires control over diffed document string.

CVSS base score 9.8 /10

Critical

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-110634)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

14 October 2026

Updated

15 October 2026

Weakness

[CWE-78](https://cwe.mitre.org/data/definitions/78.html)

## Vendor fix

Update to version 2.0.7 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-110634](https://nvd.nist.gov/vuln/detail/CVE-2026-110634)
- [https://github.com/danday74/git-diff](https://github.com/danday74/git-diff)
- [https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30](https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30)
- [https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19](https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19)
- [https://github.com/danday74/git-diff/pull/16](https://github.com/danday74/git-diff/pull/16)
- [https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings](https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
