Read the docs
TI-2024-36248 Aliases CVE-2024-54132GHSA-2m9h-r57g-45pj

GitHub CLI allows downloading malicious GitHub Actions workflow artifact to result in path traversal vulnerability

Priority LOW 29CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00629 50th percentileScored 2026-11-07
Fix Fixed cli (cli): 2.63.1github.com/cli/cli/v2 (Go): 2.63.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cliclibefore 2.63.12.63.1Patch availableCNA
—github.com/cli/cli/v2 (Go)before 2.63.12.63.1Patch availableGHSA-2m9h-r57g-45pj
—github.com/cli/cli (Go)up to 1.14.0—No fix listedGHSA-2m9h-r57g-45pj
  • cli Vendorcli Affected before 2.63.1 Fixed in 2.63.1 Patch available CNA
  • github.com/cli/cli/v2 (Go) Vendor— Affected before 2.63.1 Fixed in 2.63.1 Patch available GHSA-2m9h-r57g-45pj
  • github.com/cli/cli (Go) Vendor— Affected up to 1.14.0 Fixed in — No fix listed GHSA-2m9h-r57g-45pj

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:github:cli:*:*:*:*:*:*:*:*——GitHub
  • cpe:2.3:a:github:cli:*:*:*:*:*:*:*:* Versions — — ·GitHub

Remediation

  • Fix · CNA cli (cli) Fixed in 2.63.1
  • Fix · GHSA-2m9h-r57g-45pj github.com/cli/cli/v2 (Go) Fixed in 2.63.1 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-54132
  2. 2026-10-03 Alias added: GHSA-2m9h-r57g-45pj
  3. 2026-10-29 EPSS moved to the 50th–90th percentile

References

  • TI-2025-18873 `gh attestation verify` returns incorrect exit code during verification if no attestations are present CVSS 3.1MEDIUM 6.3
  • TI-2026-33538 gh: GitHub Actions log output in `gh run view` allows terminal escape sequence injection CVSS 3.1LOW 3.5
  • TI-2024-34983 Connecting to a malicious Codespaces via GH CLI could allow command execution on the user's computer CVSS 3.1CRITICAL 9.6
  • TI-2026-35862 GitHub CLI tokens leak via `gh attestation` commands CVSS 3.1CRITICAL 9.1
  • TI-2024-36052 go-gh `auth.TokenForHost` violates GitHub host security boundary within a codespace CVSS 3.1HIGH 7.5
  • TI-2024-36051 Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts in the gh cli CVSS 3.1MEDIUM 6.5
See all 13 →

Sources