GHSA-3x93-p86w-5jvh

Suggest an improvement
Source
https://github.com/advisories/GHSA-3x93-p86w-5jvh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-3x93-p86w-5jvh/GHSA-3x93-p86w-5jvh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3x93-p86w-5jvh
Aliases
Published
2026-07-23T00:31:28Z
Modified
2026-09-04T21:10:34Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 4.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-04T20:51:19Z",
    "nvd_published_at":  "2026-07-22T22:16:29Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / danger

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
13.0.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-3x93-p86w-5jvh/GHSA-3x93-p86w-5jvh.json"