CVE-2026-16629

danger danger-js CLI localGetFileAtSHA.ts danger.git.diffForFile os command injection

State
Published
Severity
4.8 Medium
Published
Jul 22, 2026
Updated
Jul 28, 2026
Reserved
Jul 22, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS: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:XVulDB
3.15.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:CVulDB
3.05.3 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:CVulDB
2.04.3 MediumAV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:CVulDB

Weaknesses

Affected Products

ProductVersions
danger-jsdanger
  • 13.0.0Affected
  • 13.0.1Affected
  • 13.0.2Affected
  • 13.0.3Affected
  • 13.0.4Affected
  • 13.0.5Affected
  • 13.0.6Affected
  • 13.0.7Affected
  • 13.0.8Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.