danger danger-js CLI localGetFileAtSHA.ts danger.git.diffForFile os command injection
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| danger | danger-js | 13.0.0; 13.0.1; 13.0.2; 13.0.3; 13.0.4; 13.0.5; 13.0.6; 13.0.7 | 13.0.8 | Patch available | CNA |
| — | danger (npm) | before 13.0.8 | 13.0.8 | Patch available | GHSA-3x93-p86w-5jvh |
- danger-js Vendordanger Affected 13.0.0; 13.0.1; 13.0.2; 13.0.3; 13.0.4; 13.0.5; 13.0.6; 13.0.7 Fixed in 13.0.8 Patch available CNA
- danger (npm) Vendor— Affected before 13.0.8 Fixed in 13.0.8 Patch available GHSA-3x93-p86w-5jvh
Remediation
- Fix · CNA danger-js (danger) Fixed in 13.0.8
- Fix · GHSA-3x93-p86w-5jvh danger (npm) Fixed in 13.0.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-16629
- 2026-10-03 Alias added: GHSA-3x93-p86w-5jvh
References
Patch 3
Sources
- CVE-2026-16629 · CVE Program
- CVE-2026-16629 · NVD
- FIRST EPSS
- GHSA-3x93-p86w-5jvh · 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