CVE-2025-54416CWE-77

tj-actions/branch-names Contains Command Injection Vulnerability

Critical · published July 26, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in tj-actions/branch-names lets attackers execute arbitrary commands just by crafting a clever branch name! 🔥 Think of it like a restaurant where customers can write their own orders — if the kitchen isn’t careful, they might end up serving a dish that wasn’t on the menu at all! 🎭 This vulnerability is absolutely devastating; an attacker could hijack workflows, run malicious commands, or manipulate repository operations, leading to a complete compromise of your build process. The consequences could be catastrophic! 🥵

Put simply

Think of it like a restaurant where customers can write their own orders — if the kitchen isn’t careful, they might end up serving a dish that wasn’t on the menu at all! 🎭 This flaw in versions 8.2.1 and below results from inconsistent input sanitization and unescaped output in the tj-actions/branch-names GitHub Action workflow, allowing specially crafted branch names to trigger harmful commands in downstream workflows.

What to do

This vulnerability is absolutely devastating; an attacker could hijack workflows, run malicious commands, or manipulate repository operations, leading to a complete compromise of your build process. The consequences could be catastrophic! 🥵 To safeguard your workflows, upgrade to tj-actions/branch-names version 9.0.0 immediately. Additionally, review and harden any workflows consuming this action to ensure they handle inputs safely. 🛡️ You've got this! By following these steps, you'll have your security locked down in no time! 💪✨

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00652 · 50.6th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-07-26T03:34Z
EPSS history
Timeline
  • 26 JUL 03:34Z
    tj-actions/branch-names Contains Command Injection Vulnerability
    cvelistv5