We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-54416

tj-actions/branch-names Contains Command Injection Vulnerability



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

Reserved 2025-07-21 | Published 2025-07-26 | Updated 2025-07-26 | Assigner GitHub_M


CRITICAL: 9.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Problem types

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

< 9.0.0
affected

References

github.com/...-names/security/advisories/GHSA-gq52-6phf-x2r6

github.com/...ommit/e497ceb8ccd43fd9573cf2e375216625bc411d1f

github.com/tj-actions/branch-names/releases/tag/v9.0.0

cve.org (CVE-2025-54416)

nvd.nist.gov (CVE-2025-54416)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-54416

Support options

Helpdesk Chat, Email, Knowledgebase