# git-diff (npm) vulnerabilities

1 known vulnerability (1 critical), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 2.0.7 (Jun 26, 2026): no advisory affects it
- Newest unaffected release: 2.0.7 (Jun 26, 2026), the latest release
- Weekly downloads: 884.4K
- Dependents: 150
- Releases: 16 since 1.0.0 (Aug 24, 2017)
- Registry: https://www.npmjs.com/package/git-diff
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-110634: 1.0.0 to 2.0.6 (2.0.7 is outside it)

## Advisories (1)

### [CVE-2026-110634](https://cve.now/CVE-2026-110634): git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings

- Severity: Critical 9.3
- Published: Oct 14, 2026
- Affected: fixed in 2.0.7.
- Fixed in 2.0.7 (released Jun 26, 2026, 110 days before disclosure).
- The latest release, 2.0.7, is not affected.
- 70% of git-diff downloads last week were affected versions (645.1K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/git-diff
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
