Arbitrary Command Execution Vulnerability in tj-actions/branch-names GitHub Action
CVE-2025-54416
9.1CRITICAL
What is CVE-2025-54416?
The tj-actions/branch-names GitHub Action is vulnerable to arbitrary command execution due to inconsistent input sanitization and unescaped output. Specifically, versions 8.2.1 and below allow attackers to exploit specially crafted branch names or tags, leading to potential execution of malicious commands in downstream workflows. Although internal mechanisms for sanitization have been introduced, the vulnerability in action outputs persists, posing significant security risks to consuming workflows. The issue has been addressed in version 9.0.0.
Affected Version(s)
branch-names < 9.0.0