PoC Monitor
← All CVEs
CVE-2025-54416published 26 Jul 2025 03:34 UTCData: JSON · API

Tj-actions branch-names

tj-actions/branch-names Contains Command Injection Vulnerability

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

First public PoC 262 daysafter publication · 13 Apr 2026
Public PoCs11 on GitHub
CVSS9.1critical · scored by CNA · CWE-77
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

tj-actions branch-names
  • < 9.0.0

Fixed in 9.0.0

Mitigation

Upgrade branch-names to 9.0.0 or later.

References

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210+240CVE published26 Jul 2025 · t = 0First public PoC13 Apr 2026 · t+262d

First public PoC 262 days after publication; not in CISA KEV. First PoC: HexborneStudio/atlas-tj-actions-poc (created 13 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
HexborneStudio/atlas-tj-actions-poc 13 Apr 2026 +262 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /exfil
(?i)^/exfil\?(?:.*&)?secret=\{var\}\)

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /exfil
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-54416 tj-actions branch-names exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/exfil"; http.uri; content:"secret={var})"; reference:url,poc.griffinguard.io/cve/CVE-2025-54416; classtype:web-application-attack; sid:9456195; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /exfil
title: tj-actions branch-names exploit attempt (CVE-2025-54416)
id: gg-pocmon-cve-2025-54416-9456195
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-54416. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-54416
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/exfil'
    cs-uri-query|contains|all:
      - 'secret={var})'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.54416