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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.08% (percentile 65, 2026-11-26)
- **CWE:** CWE-78, CWE-77
- **Aliases:** GHSA-3x93-p86w-5jvh
- **Published:** 2026-07-22T21:15:10.595Z
- **Modified:** 2026-10-24T13:10:00.147Z

## Who should check

- Projects that depend on npm package danger (\< 13.0.8)
- Anyone running 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

## 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.

## Affected and fixed versions

- npm `danger`: affected \< 13.0.8; fixed 13.0.8 (osv)
- 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 (cvelist)

## Mitigation

- Upgrade danger to 13.0.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-16629. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-16629.md
Affected: danger < 13.0.8
Fixed in: 13.0.8

Steps:
1. Search this machine and project for danger (npm), danger-js: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-16629 being exploited?

There is no confirmed exploitation: CVE-2026-16629 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-16629?

Medium: CVSS 4.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-16629?

danger \< 13.0.8.

### Is there a fix for CVE-2026-16629?

Yes. Fixed in 13.0.8. Upgrade danger to 13.0.8 or later.

### How do I check if I'm affected by CVE-2026-16629?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-16629>
- patch: <https://github.com/danger/danger-js/pull/1513>
- patch: <https://github.com/danger/danger-js/commit/087a7290264cc6fb7154ea8c2552a7b2cb8b33a3>
- patch: <https://github.com/danger/danger-js/releases/tag/13.0.8>
- article: <https://vuldb.com/vuln/382377>
- other: <https://vuldb.com/vuln/382377/cti>
- other: <https://vuldb.com/cve/CVE-2026-16629>
- other: <https://vuldb.com/submit/860211>
- other: <https://github.com/danger/danger-js/>
- other: <https://github.com/danger/danger-js>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-16629>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3x93-p86w-5jvh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-16629> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-16629>
