Approved changes feed: RSS · Atom

cpe:2.3:a:tj-actions:branch-names:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorTj Actions (553b216a-5ea3-5f11-890e-059e04c5c426)
ProductBranch Names (a2ddc960-1a54-520e-819b-f9cab5b378b9)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/tj-actions/branch-names purl2cpe 2026-06-01 10:16:44.474110

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2025-54416 vulnerable 2026-06-08 07:33:12.574849 tj-actions/branch-names Contains Command Injection Vulnerability
CRITICAL (9.1)
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
Published: 2025-07-26T03:34:31.288Z
Updated: 2025-07-28T18:55:45.827Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-49291 vulnerable 2026-06-08 06:14:28.936724 Improper Sanitization of Branch Name Leads to Arbitrary Code Injection
CRITICAL (9.3)
tj-actions/branch-names is a Github action to retrieve branch or tag names with support for all events. The `tj-actions/branch-names` GitHub Actions improperly references the `github.event.pull_request.head.ref` and `github.head_ref` context variables within a GitHub Actions `run` step. The head ref variable is the branch name and can be used to execute arbitrary code using a specially crafted branch name. As a result an attacker can use this vulnerability to steal secrets from or abuse `GITHUB_TOKEN` permissions. This vulnerability has been addressed in version 7.0.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Published: 2023-12-04T23:21:33.367Z
Updated: 2024-08-02T21:53:44.957Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.