Skip to main content
CVE-2025-54416VulnerabilityPublished Updated

CVE-2025-54416: tj-actions branch-names · Command Injection

Affects tj-actions branch-namesSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical : upgrade to 9.0.0 as a priority.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.0.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade tj-actions/branch-names to 9.0.0.

Affected software

ProductAffectedFixed in
GitHubtj-actions/branch-namespkg:github/tj-actions/branch-namesOther threatsAffected
  • <9.0.0
Fixed in
  • 9.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately audit their GitHub repositories and workflows to identify usage of tj-actions/branch-names versions below 9.0.0. The primary mitigation is to upgrade to version 9.0.0 or later, where the vulnerability is patched. Beyond upgrading, organizations should implement strict input validation and sanitization on all user-controlled inputs, including branch and tag names, within their workflows. Employing workflow-level security best practices such as least privilege principles for GitHub tokens, restricting workflow triggers to trusted contributors, and enabling branch protection rules can reduce the attack surface. Additionally, organizations should monitor CI/CD logs for unusual command executions or unexpected workflow behavior. Implementing automated dependency scanning tools that detect vulnerable GitHub Actions can help maintain ongoing security hygiene. Finally, consider isolating critical workflows in separate repositories or environments to limit potential blast radius if exploitation occurs.

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

References

Community reviews

Loading reviews…