Advisory

GHSA-3x93-p86w-5jvh

Also known as: CVE-2026-16629

Summary

danger allows local OS command injection through crafted file paths

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-23 00:31 UTC
Modified
2026-09-04 21:10 UTC

Affected packages and fixes

danger

npm · All systems

Affected

  • introduced 0, fixed 13.0.8 (semver)

Fixed versions

13.0.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences