Skip to main content
← All vulnerabilities
CVE-2025-54416

tj-actions/branch-names Contains Command Injection Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.0.0
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

tj-actions/branch-names is a Github actions repository that contains workflows to retrieve branch or tag names with support for all events. In versions 8.2.1 and below, a critical vulnerability has been identified in the tj-actions/branch-names' GitHub Action workflow which allows arbitrary command execution in downstream workflows. This issue arises due to inconsistent input sanitization and unescaped output, enabling malicious actors to exploit specially crafted branch names or tags. While internal sanitization mechanisms have been implemented, the action outputs remain vulnerable, exposing consuming workflows to significant security risks. This is fixed in version 9.0.0

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • tj-actions branch-names

    fixed in 9.0.0

References 4

GitHub · tj-actions/branch-names

GitHub · HexborneStudio/atlas-tj-actions-poc