Medium severity · published Dec 4, 2024
CVE-2024-54132
GitHub CLI allows downloading malicious GitHub Actions workflow artifact to result in path traversal vulnerability
6.3
CVSS
0.6%
EPSS
No
On KEV
Description
The GitHub CLI is GitHub’s official command line tool. A security vulnerability has been identified in GitHub CLI that could create or overwrite files in unintended directories when users download a malicious GitHub Actions workflow artifact through gh run download. This vulnerability stems from a GitHub Actions workflow artifact named .. when downloaded using gh run download. The artifact name and --dir flag are used to determine the artifact’s download path. When the artifact is named .., the resulting files within the artifact are extracted exactly 1 directory higher than the specified --dir flag value. This vulnerability is fixed in 2.63.1.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CL
cli · cli
< 2.63.1 · source: vendor
Affected product
CL
cli
cli
More from cli
9.6
CVE-2024-52308
Connecting to a malicious Codespaces via GH CLI could allow command execution on the user's computer
9.1
CVE-2026-48501
GitHub CLI tokens leak via `gh attestation` commands
6.5
CVE-2024-53858
Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts in the gh cli
6.3
CVE-2025-25204
`gh attestation verify` returns incorrect exit code during verification if no attestations are present
5.3
CVE-2026-64654
GitHub CLI: Terminal escape sequence injection in multiple `gh` commands