CVE-2026-110634
CRITICAL 9.3git-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.
Severe if exploited (CVSS 9.3), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
2.3%chance of exploitation in 30 days · 84th percentile
Impact if exploited
9.3CVSS 4.0 · CRITICAL
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSS 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
References and research data (JSON)
All CVSS metrics
- CRITICAL 9.3 v4.0 · CNA Primary
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 - CRITICAL 9.8 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CRITICAL 9.3 v4.0 · NVD Secondary
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CRITICAL 9.8 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://github.com/danday74/git-diff/pull/16 CVE record · VulnCheck · Updated 2026-10-14T14:17:07.089Z
NVD · CVE-2026-110634 · Updated 2026-10-16T19:18:44.867 - https://github.com/danday74/git-diff/commit/bfd727b6cf1daa671c3528d1d681f55b70e8fb19 CVE record · VulnCheck · Updated 2026-10-14T14:17:07.089Z
NVD · CVE-2026-110634 · Updated 2026-10-16T19:18:44.867
Advisories
- https://www.vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-strings CVE record · VulnCheck · Updated 2026-10-14T14:17:07.089Z
NVD · CVE-2026-110634 · Updated 2026-10-16T19:18:44.867 - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-101262 EUVD · EUVD-2026-101262
Technical & other
- https://github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffReal/generateDiff/index.js#L26-L30 CVE record · VulnCheck · Updated 2026-10-14T14:17:07.089Z
NVD · CVE-2026-110634 · Updated 2026-10-16T19:18:44.867 - https://github.com/danday74/git-diff CVE record · VulnCheck · Updated 2026-10-14T14:17:07.089Z
NVD · CVE-2026-110634 · Updated 2026-10-16T19:18:44.867