CISA list

● Go module family

github.com/cli/cli

Github.com/cli/cli has 10 security advisories.

As of , github.com/cli/cli has 10 security advisories.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
PackageIf you runUpgrade toAdvisories
github.com/cli/cliAll versionsNone in this row; 2 of its 10 advisories name a fixed version10 advisories
github.com/cli/cli/v2Before 2.97.02.97.09 advisories

1 advisory is listed by two databases that disagree: one gives no end to the affected versions and the other names a fix, so the rows follow the one that names a fix. 1 of the 2 packages has no row that names a version to upgrade to, because an advisory lists its newer releases as affected and names no fix for them. 2 of its 10 advisories name a fixed version that this page reads; the list of advisories below gives them.

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-64655GHSA-mm27-mwq9-fr5g, GO-2026-6767GitHub CLI allows attestation verification bypass through unescaped regex metacharactersLow severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: All versions / github.com/cli/cli/v2: Before 2.97.02.97.0
CVE-2026-64653GHSA-4fjg-2h4q-fwg3, GO-2026-6765GitHub CLI allows path traversal through unescaped request URL componentsLow severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: All versions / github.com/cli/cli/v2: Before 2.97.02.97.0
CVE-2026-64652GHSA-cg6r-mpgc-h9mm, GO-2026-6766GitHub CLI partially discloses authentication tokens in `gh auth status` outputLow severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: All versions / github.com/cli/cli/v2: Before 2.97.02.97.0
CVE-2026-48501GHSA-8xvp-7hj6-mcj9, GO-2026-5271GitHub CLI has an incorrect authorization header in API requests to TUF repository mirrors via `gh attestation`, `gh release verify`, and `gh release verify-asset` commandsHigh severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: All versions / github.com/cli/cli/v2: Before 2.93.02.93.0
CVE-2026-45803GHSA-crc3-h8v6-qh57, GO-2026-5335GitHub CLI: GitHub Actions log output in `gh run view` allows terminal escape sequence injectionLow severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: From 1.6.0 (no end named) / github.com/cli/cli/v2: Before 2.92.02.92.0
CVE-2025-25204GHSA-fgw4-v983-mgp8, GO-2025-3467`gh attestation verify` returns incorrect exit code during verification if no attestations are presentModerate severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: All versions / github.com/cli/cli/v2: From 2.49.0 before 2.67.02.67.0
CVE-2024-54132GHSA-2m9h-r57g-45pj, GO-2024-3310Downloading malicious GitHub Actions workflow artifact results in path traversal vulnerabilityModerate severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: All versions / github.com/cli/cli/v2: Before 2.63.12.63.1
CVE-2024-53858GHSA-jwcm-9g39-pmcw, GO-2024-3296Recursive repository cloning can leak authentication tokens to non-GitHub submodule hostsModerate severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: All versions / github.com/cli/cli/v2: Before 2.63.02.63.0
CVE-2024-52308GHSA-p2h2-3vg9-4p87, GO-2024-3269Connecting to a malicious Codespaces via GH CLI could allow command execution on the user's computerHigh severity. github.com/cli/cli, github.com/cli/cli/v2github.com/cli/cli: Before 2.62.0 / github.com/cli/cli/v2: Before 2.62.02.62.0
GHSA-fqfh-778m-2v32GO-2022-0395GitHub CLI can execute a git binary from the current directoryModerate severity. github.com/cli/cligithub.com/cli/cli: Before 1.2.11.2.1

Packages on this page

These 2 packages share most of their advisories, so one page covers them. The table has rows for each package apart, because a release of one is not a release of another.

  • github.com/cli/cli
  • github.com/cli/cli/v2
Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the Go vulnerability database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0