CVE-2026-16629danger danger-js CLI localGetFileAtSHA.ts danger.git.diffForFile os command injection
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
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | danger | Fixed | 13.0.8 | GHSA-3x93-p86w-5jvh |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- danger-js: affected: 13.0.0, 13.0.1, 13.0.2, 13.0.3, 13.0.4, 13.0.5
Vendor advisories:
- 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 (patch)
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.