Local command execution via crafted file path
Published Jul 22, 2026 · Updated Jul 22, 2026
OS command injection in Danger JS 13.0.0 through 13.0.7 allows local users to execute commands through a crafted repository file path. The danger.git.diffForFile path reaches localGetFileAtSHA, which interpolates the path into a git show command string passed to child_process.exec, so embedded quotes and shell metacharacters escape the intended argument. Exploitation requires control of a repository filename processed by the local CLI, and injected commands run with the Danger process's privileges, allowing data access or modification and CI interruption.
Summary
What happened
OS command injection in Danger JS 13.0.0 through 13.0.7 allows local users to execute commands through a crafted repository file path. The danger.git.diffForFile path reaches localGetFileAtSHA, which interpolates the path into a git show command string passed to child_process.exec, so embedded quotes and shell metacharacters escape the intended argument. Exploitation requires control of a repository filename processed by the local CLI, and injected commands run with the Danger process's privileges, allowing data access or modification and CI interruption.
The record
- CVE
- CVE-2026-16629
- Published
- Jul 22, 2026
- Updated
- Jul 22, 2026
- Vendor
- Danger
- Product
- Danger JS
- Classifications
- CWE-78, CWE-77, T1059
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Jul 22, 2026CVE publishedPublication date reported by the CVE source.
- Jul 22, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=13.0.0
- Affected versionversion=13.0.1
- Affected versionversion=13.0.2
- Affected versionversion=13.0.3
- Affected versionversion=13.0.4
- Affected versionversion=13.0.5
- Affected versionversion=13.0.6
- Affected versionversion=13.0.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo