CVE-2025-54416

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-54416
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54416.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54416
Aliases
Related
Published
2025-07-26T04:16:10Z
Modified
2025-07-29T14:55:30.868555Z
Summary
[none]
Details

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

Affected packages

Git / github.com/tj-actions/branch-names

Affected ranges

Type
GIT
Repo
https://github.com/tj-actions/branch-names
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

v1
v2
v3
v4
v5
v6
v7
v8

v2.*

v2.1
v2.2

v3.*

v3.1
v3.2
v3.3
v3.4
v3.5
v3.6

v4.*

v4.1
v4.2
v4.3
v4.4
v4.5
v4.6
v4.7
v4.8
v4.9

v5.*

v5.1
v5.2
v5.3
v5.4
v5.5
v5.6

v6.*

v6.1
v6.2
v6.3
v6.4
v6.5

v7.*

v7.0.0
v7.0.1
v7.0.2
v7.0.3
v7.0.4
v7.0.5
v7.0.6
v7.0.7

v8.*

v8.0.0
v8.0.1
v8.0.2
v8.1.0
v8.2.0
v8.2.1