CVE-2026-110634: Schwachstelle in git-diff
Kritisch. 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.
npm, CWE-78
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 9,8 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Korrigierte Version bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-6wfj-92cw-88vg
- Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Fehlerklasse
- CWE-78
- Veröffentlicht
- 14. Okt. 2026
- Letzte Änderung
- 27. Okt. 2026
- Ökosystem
- npm
Betroffene Pakete
Anfällige Versionsbereiche und korrigierte Versionen
- git-diff npm, Betroffen: Vor 2.0.7. Behoben in 2.0.7
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/danday74/git-diff/blob/a85a649badc4c6bba991e87e82382b7d3cdd6634/js/gitDiffRe...
- vulncheck.com/advisories/git-diff-before-2.0.7-os-command-injection-via-gitdiff-input-s...
Updates und Korrekturen
Updates, Commits und Versionshinweise