Cyber news

Research · Jul 25, 2025 · ZeroDay Catalog

Critical Command Injection Vulnerability in tj-actions/branch-names

A critical command injection vulnerability has been discovered in the tj-actions/branch-names GitHub Action, posing significant risks to downstream workflows.

What changed

A severe command injection vulnerability has been identified in the tj-actions/branch-names GitHub Action. This flaw allows for arbitrary command execution in downstream workflows due to inconsistent input sanitization and unescaped output.

Malicious actors can exploit this vulnerability by crafting specific branch names or tags, leading to potential unauthorized command execution.

Who is affected

Organizations utilizing the tj-actions/branch-names GitHub Action are at risk of this vulnerability. The impact is particularly significant for those relying on automated workflows that process branch names or tags.

Developers and teams using GitHub Actions for CI/CD pipelines should be aware of this issue to mitigate risks.

  • GitHub Action users employing tj-actions/branch-names.
  • Organizations with automated workflows that handle branch names.
  • Development teams integrating GitHub Actions into their CI/CD processes.

What to do

It is crucial for affected users to review their workflows and implement necessary changes to mitigate the risks associated with this vulnerability. Immediate actions should include updating the tj-actions/branch-names to the latest version where the vulnerability is addressed.

Additionally, consider implementing stricter input validation and output sanitization in your workflows to prevent potential exploitation.

  • Update tj-actions/branch-names to the latest secure version.
  • Review and enhance input validation mechanisms in workflows.
  • Monitor for any unusual activity in workflows that may indicate exploitation attempts.

Original report

Critical Command Injection Vulnerability in tj-actions/bran… · ZeroDay Findings