CVE-2025-54416
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tj-actions/branch-namesGitHub Actions | < 9.0.0 | 9.0.0 |
Affected products
2- Range: v1, v2, v2.1, …
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-gq52-6phf-x2r6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54416ghsaADVISORY
- github.blog/security/application-security/how-to-secure-your-github-actions-workflows-with-codeqlghsaWEB
- github.com/tj-actions/branch-names/commit/e497ceb8ccd43fd9573cf2e375216625bc411d1fnvdWEB
- github.com/tj-actions/branch-names/releases/tag/v9.0.0nvdWEB
- github.com/tj-actions/branch-names/security/advisories/GHSA-8v8w-v8xg-79rfghsaWEB
- github.com/tj-actions/branch-names/security/advisories/GHSA-gq52-6phf-x2r6nvdWEB
- github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63ghsaWEB
- securitylab.github.com/resources/github-actions-untrusted-inputghsaWEB
News mentions
0No linked articles in our index yet.