Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. danger
  4. ›
  5. CVE-2026-16629

CVE-2026-16629: danger allows local OS command injection through crafted file paths

July 23, 2026 (updated September 4, 2026)

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.

References

  • github.com/advisories/GHSA-3x93-p86w-5jvh
  • github.com/danger/danger-js
  • github.com/danger/danger-js/commit/087a7290264cc6fb7154ea8c2552a7b2cb8b33a3
  • github.com/danger/danger-js/pull/1513
  • github.com/danger/danger-js/releases/tag/13.0.8
  • nvd.nist.gov/vuln/detail/CVE-2026-16629
  • vuldb.com/cve/CVE-2026-16629
  • vuldb.com/submit/860211
  • vuldb.com/vuln/382377
  • vuldb.com/vuln/382377/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-16629 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 13.0.8

Fixed versions

  • 13.0.8

Solution

Upgrade to version 13.0.8 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/danger/CVE-2026-16629.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:07 +0000.