CVE-2025-54416tj-actions branch-names
Critical 9.1
Follow: this CVE · tj-actions · tj-actions branch-names We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 26, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
What happens
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
What to do
- Apply the vendor's security update for branch-names.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| GitHub Actions | tj-actions/branch-names |
< 9.0.0 |
9.0.0 |
— |
Per OSV / GitHub Advisories (GHSA-gq52-6phf-x2r6). Check the version in your lockfile before upgrading.
Affected products
- tj-actions · branch-names
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.