OS command injection in git-diff-apply
Priority MEDIUM 46CWE-78Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all versions prior to 0.22.2.
Why it matters now
EPSS 0.02147 82nd percentileScored 2026-11-07
Fix Fixed git-diff-apply (npm): 0.22.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | git-diff-apply | All versions prior to version 0.22.2 | — | No fix listed | CNA |
| — | git-diff-apply (npm) | before 0.22.2 | 0.22.2 | Patch available | GHSA-84cm-v6jp-gjmr |
- git-diff-apply Vendor— Affected All versions prior to version 0.22.2 Fixed in — No fix listed CNA
- git-diff-apply (npm) Vendor— Affected before 0.22.2 Fixed in 0.22.2 Patch available GHSA-84cm-v6jp-gjmr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:git-diff-apply_project:git-diff-apply:*:*:*:*:*:*:*:* | before 0.22.2 | Vulnerable | Git-diff-apply Project |
- cpe:2.3:a:git-diff-apply_project:git-diff-apply:*:*:*:*:*:*:*:* Versions before 0.22.2 Vulnerable ·Git-diff-apply Project
Remediation
- Fix · GHSA-84cm-v6jp-gjmr git-diff-apply (npm) Fixed in 0.22.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-10776
- 2026-10-03 Alias added: GHSA-84cm-v6jp-gjmr
References
Sources
- CVE-2019-10776 · CVE Program
- CVE-2019-10776 · NVD
- FIRST EPSS
- GHSA-84cm-v6jp-gjmr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences