CVE-2026-16629: OS Command Injection in danger danger-js
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.
AI Analysis
Technical Summary
This vulnerability exists in the danger-js package up to version 13.0.7 within the CLI component's function danger.git.diffForFile located in source/platforms/git/localGetFileAtSHA.ts. The flaw allows an attacker with local access to manipulate the File argument, resulting in OS command injection. The issue is resolved by upgrading to version 13.0.8, with the patch identified by commit 087a7290264cc6fb7154ea8c2552a7b2cb8b33a3.
Potential Impact
An attacker with local access and low privileges can exploit this vulnerability to execute arbitrary OS commands via crafted input to the File argument in the danger.git.diffForFile function. This could lead to unauthorized command execution on the affected system. The CVSS 4.8 score reflects a medium severity due to the requirement for local access and low complexity of attack.
Mitigation Recommendations
Upgrade danger-js to version 13.0.8 or later, which contains the official fix for this OS command injection vulnerability. No other mitigations are indicated or required as the patch fully addresses the issue.
CVE-2026-16629: OS Command Injection in danger danger-js
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.
CVSS v4.0
Score 4.8medium
Affected software
pkg:npm/danger/danger-jscpe:2.3:a:danger:danger-js:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the danger-js package up to version 13.0.7 within the CLI component's function danger.git.diffForFile located in source/platforms/git/localGetFileAtSHA.ts. The flaw allows an attacker with local access to manipulate the File argument, resulting in OS command injection. The issue is resolved by upgrading to version 13.0.8, with the patch identified by commit 087a7290264cc6fb7154ea8c2552a7b2cb8b33a3.
Potential Impact
An attacker with local access and low privileges can exploit this vulnerability to execute arbitrary OS commands via crafted input to the File argument in the danger.git.diffForFile function. This could lead to unauthorized command execution on the affected system. The CVSS 4.8 score reflects a medium severity due to the requirement for local access and low complexity of attack.
Mitigation Recommendations
Upgrade danger-js to version 13.0.8 or later, which contains the official fix for this OS command injection vulnerability. No other mitigations are indicated or required as the patch fully addresses the issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-07-22T16:02:19.846Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6134ab9c2644c7f8b4a04d
Added to database: 07/22/2026, 21:22:51 UTC
Last enriched: 07/29/2026, 23:42:09 UTC
Last updated: 09/05/2026, 14:26:42 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.