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
References
Configurations
No configuration.
History
28 Jul 2025, 19:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/tj-actions/branch-names/security/advisories/GHSA-gq52-6phf-x2r6 - | |
Summary |
|
26 Jul 2025, 04:16
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-07-26 04:16
Updated : 2025-07-28 19:15
NVD link : CVE-2025-54416
Mitre link : CVE-2025-54416
CVE.ORG link : CVE-2025-54416
JSON object : View
Products Affected
No product.
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')