CVE-2025-54416

published 26 Jul 2025 · updated 28 Jul 2025

tj-actions/branch-names Contains Command Injection Vulnerability

9.1CriticalCVSS 9.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
tj-actionsbranch-names<9.0.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in tj-actions, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-54416 severity on Zeptric[![CVE-2025-54416](https://zeptric.io/badge/cve/CVE-2025-54416.svg)](https://zeptric.io/cve/CVE-2025-54416)