danger allows local OS command injection through crafted file paths
A vulnerability was identified in danger danger-js up to 13.0.7. Impacted is the function danger.git.diffForFile of the file source/platforms/git/localGetFileAtSHA.ts of the component CLI. Such manipulation of the argument File leads to os command injection. The attack needs to be performed locally. Upgrading to version 13.0.8 is recommended to address this issue. The name of the patch is 087a7290264cc6fb7154ea8c2552a7b2cb8b33a3. It is advisable to upgrade the affected component.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | danger | < 13.0.8 | 13.0.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-16629
- https://github.com/danger/danger-js/pull/1513
- https://github.com/danger/danger-js/commit/087a7290264cc6fb7154ea8c2552a7b2cb8b33a3
- https://github.com/danger/danger-js
- https://github.com/danger/danger-js/releases/tag/13.0.8
- https://vuldb.com/cve/CVE-2026-16629
- https://vuldb.com/submit/860211
- https://vuldb.com/vuln/382377
- https://vuldb.com/vuln/382377/cti
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-77- Platform
- npm
- Package
danger- Disclosed
- 23.07.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3x93-p86w-5jvh - CC BY 4.0
Vulnerability history: danger
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.