CVE-2025-54416 Details
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
A critical command injection vulnerability has been identified in the tj-actions/branch-names GitHub Action, in versions prior to 8.2.1. This vulnerability allows arbitrary command execution in downstream workflows by exploiting specially crafted branch names or tags. The issue arises from inconsistent input sanitization and unescaped output, which have been addressed in version 9.0.0.
Users of the tj-actions/branch-names GitHub Action should update to version 9.0.0 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 26, 2025CISA-ADP
Assessed Jul 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tj-actions/branch-names/security/advisories/GHSA-gq52-6phf-x2r6 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/tj-actions/branch-names/commit/e497ceb8ccd43fd9573cf2e375216625bc411d1f | [email protected] | Source CodeVendor |
| https://github.com/tj-actions/branch-names/releases/tag/v9.0.0 | [email protected] | Release NotesVendor |
| https://github.com/tj-actions/branch-names/security/advisories/GHSA-gq52-6phf-x2r6 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tj-actions/branch-names | < 8.2.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2025 | CVE Modified | CISA-ADP |
| Jul 26, 2025 | New CVE Received | [email protected] |
Volerion