GoWorst: High9 advisories
github.com/cli/cli/v2: known vulnerabilities
github.com/cli/cli/v2 has 9 reviewed security advisories in the GitHub Advisory Database — 2 high, 3 moderate, 4 low. The most recent was published 2026-08-06. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/cli/cli/v2 versions running across your servers, containers and images, and ranks what to patch first.
How to fix github.com/cli/cli/v2
Upgrade github.com/cli/cli/v2 to a release at or above the fixed version shown for each advisory below. For Go:
go get github.com/cli/cli/v2@2.97.0 && go mod tidy (check govulncheck)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (9)
GitHub CLI allows path traversal through unescaped request URL components
Low CWE-22
— Affected: before 2.97.0. Fixed in 2.97.0. Published 2026-08-06. GHSA-4fjg-2h4q-fwg3 · CVE-2026-64653
GitHub CLI partially discloses authentication tokens in `gh auth status` output
Low 3.3 CWE-201
— Affected: before 2.97.0. Fixed in 2.97.0. Published 2026-08-06. GHSA-cg6r-mpgc-h9mm · CVE-2026-64652
GitHub CLI allows attestation verification bypass through unescaped regex metacharacters
Low CWE-185
— Affected: before 2.97.0. Fixed in 2.97.0. Published 2026-08-06. GHSA-mm27-mwq9-fr5g · CVE-2026-64655
GitHub CLI has an incorrect authorization header in API requests to TUF repository mirrors via `gh attestation`, `gh release verify`, and `gh release verify-asset` commands
High 7.4 CWE-863
— Affected: before 2.93.0. Fixed in 2.93.0. Published 2026-05-29. GHSA-8xvp-7hj6-mcj9 · CVE-2026-48501
GitHub CLI: GitHub Actions log output in `gh run view` allows terminal escape sequence injection
Low 3.5 CWE-150
— Affected: before 2.92.0. Fixed in 2.92.0. Published 2026-05-15. GHSA-crc3-h8v6-qh57 · CVE-2026-45803
`gh attestation verify` returns incorrect exit code during verification if no attestations are present
Moderate 6.3 CWE-390
— Affected: from 2.49.0 up to 2.67.0. Fixed in 2.67.0. Published 2025-02-14. GHSA-fgw4-v983-mgp8 · CVE-2025-25204
Downloading malicious GitHub Actions workflow artifact results in path traversal vulnerability
Moderate CWE-22
— Affected: before 2.63.1. Fixed in 2.63.1. Published 2024-12-04. GHSA-2m9h-r57g-45pj · CVE-2024-54132
Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts
Moderate 6.5 CWE-200
— Affected: before 2.63.0. Fixed in 2.63.0. Published 2024-11-27. GHSA-jwcm-9g39-pmcw · CVE-2024-53858
Connecting to a malicious Codespaces via GH CLI could allow command execution on the user's computer
High 8.0 CWE-77
— Affected: before 2.62.0. Fixed in 2.62.0. Published 2024-11-14. GHSA-p2h2-3vg9-4p87 · CVE-2024-52308
Find github.com/cli/cli/v2 across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.