CVE-2025-54416: tj-actions/branch-names - Command Injection
- Cve: CVE-2025-54416
- Name: tj-actions/branch-names - Command Injection
- Description: 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
- Impact: Attackers can execute arbitrary commands in downstream workflows, potentially compromising the entire CI/CD pipeline.
- Remediation: Update to version 9.0.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
- Epss score: 0.00677
- Epss percentile: 0.53044
- Assignee: [email protected]
- Published at: 2025-07-26T04:16:10Z
- Age in days: 486
- Modified at: 2026-06-17T09:40:03Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-54416
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/HexborneStudio/atlas-tj-actions-poc | poc-in-github | 2026-04-13 |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tj-actions:branch-names | < 9.0.0 | no | cna_alias_text | /v1/products/tj-actions/branch-names |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tj-actions/changed-files | security_advisory | yes | /v1/repositories/tj-actions/changed-files |
| tj-actions/branch-names | commit, fix, package, releases, security_advisory | yes | /v1/repositories/tj-actions/branch-names |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-13
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts