{"id":"CVE-2026-16629","published":"2026-07-22T21:15:10Z","modified":"2026-07-28T14:56:05Z","title":"danger danger-js CLI localGetFileAtSHA.ts danger.git.diffForFile os command injection","vendor":"danger","product":"danger-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01083,"percentile":0.66047,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://vuldb.com/vuln/382377","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/382377/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-16629","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/860211","tags":["third-party-advisory"]},{"url":"https://github.com/danger/danger-js/pull/1513","tags":["issue-tracking","patch"]},{"url":"https://github.com/danger/danger-js/commit/087a7290264cc6fb7154ea8c2552a7b2cb8b33a3","tags":["patch"]},{"url":"https://github.com/danger/danger-js/releases/tag/13.0.8","tags":["patch"]},{"url":"https://github.com/danger/danger-js/","tags":["product"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":13.21},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"danger","affectedVersions":[{"vendor":"danger","product":"danger-js","versions":["13.0.0","13.0.1","13.0.2","13.0.3","13.0.4","13.0.5","13.0.6","13.0.7"]}],"fixedVersions":[{"vendor":"danger","product":"danger-js","versions":["13.0.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-28T14:05:40.987957Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"danger","vulnerableRanges":["<13.0.8"],"patched":["13.0.8"],"from":["GHSA-3x93-p86w-5jvh"],"provenance":"source"}],"summary":{"text":"A command injection flaw in the CLI component of danger-js, specifically in the danger.git.diffForFile function within source/platforms/git/localGetFileAtSHA.ts, lets crafted input to the File argument be passed into operating system commands. An attacker with local access, low privileges, and no user interaction can exploit it to run arbitrary OS commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:52Z"},"euvd":{"id":"EUVD-2026-47833","exploited":false,"provenance":"source"}}