LowGO-2026-7034CVE-2026-59831GHSA-8cg3-r6g9-fpg2

GitHub CLI gh codespace jupyter may allow code execution via unvalidated URLs from malicious Codespaces in github.com/cli/cli/v2

Published 4 Dec 2026 · Updated 4 Dec 2026

Affected package

Affected
>=2.10.0 <2.96.0
Fixed in
2.96.0
Update to the fixed version for your release line, for example:go get github.com/cli/cli/v2@v2.96.0

We confirm your address first. See our privacy policy.

Which github.com/cli/cli/v2 does your project really install?

Drop your go.mod hereWe find the exact github.com/cli/cli/v2 version you install, even when another package pulls it in, and tell you if it’s affected and what to run. Free, no sign-up.

Works for private projects: the file is read in memory to run the scan and then dropped. Also reads other package files.

Public repo?

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Details

GitHub CLI gh codespace jupyter may allow code execution via unvalidated URLs from malicious Codespaces in github.com/cli/cli/v2

Is GO-2026-7034 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/cli/cli/v2, and gives you the command that fixes it.

More advisories for github.com/cli/cli/v2

  • LowCVE-2026-64653GitHub CLI allows path traversal through unescaped request URL components in github.com/cli/cli · 19 Oct 2026
  • LowCVE-2026-64652GitHub CLI partially discloses authentication tokens in `gh auth status` output in github.com/cli/cli · 19 Oct 2026
  • LowCVE-2026-64655GitHub CLI allows attestation verification bypass through unescaped regex metacharacters in github.com/cli/cli · 19 Oct 2026
  • LowCVE-2026-64655GitHub CLI allows attestation verification bypass through unescaped regex metacharacters · 15 Oct 2026
  • LowCVE-2026-64653GitHub CLI allows path traversal through unescaped request URL components · 15 Oct 2026
  • LowCVE-2026-64652GitHub CLI partially discloses authentication tokens in `gh auth status` output · 15 Oct 2026
All 19 advisories for github.com/cli/cli/v2

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.