Skip to main content

Danger Js

1 CVEs product

Monthly

CVE-2026-16629 Jul 22, 21:15 npm MEDIUM PATCH This Month

OS command injection in danger-js up to version 13.0.7 allows low-privileged local attackers to execute arbitrary shell commands by supplying a maliciously crafted file path to the `danger.git.diffForFile` function. The vulnerable code in `localGetFileAtSHA.ts` constructs a git command via unsafe template string interpolation and passes it to Node.js `exec()`, which invokes a shell - meaning any shell metacharacters embedded in a filename (e.g., `x";touch /tmp/pwn;#`) break out of the quoted argument and run as OS commands. Vendor-released patch 13.0.8 is available; no public exploit has been identified at time of analysis.

Command Injection Danger Js
NVD VulDB GitHub
CVSS 4.0
4.8
EPSS
1.1%
EPSS 1% CVSS 4.8
MEDIUM PATCH This Month

OS command injection in danger-js up to version 13.0.7 allows low-privileged local attackers to execute arbitrary shell commands by supplying a maliciously crafted file path to the `danger.git.diffForFile` function. The vulnerable code in `localGetFileAtSHA.ts` constructs a git command via unsafe template string interpolation and passes it to Node.js `exec()`, which invokes a shell - meaning any shell metacharacters embedded in a filename (e.g., `x";touch /tmp/pwn;#`) break out of the quoted argument and run as OS commands. Vendor-released patch 13.0.8 is available; no public exploit has been identified at time of analysis.

Command Injection Danger Js
NVD VulDB GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy