Is github.com/cli/go-gh/v2 2.12 vulnerable?

Go · 3 releases from 2.12.0 to 2.12.2 · latest github.com/cli/go-gh/v2 is 2.17.0 · checked 18 Nov 2026

No known advisories in the last release

github.com/cli/go-gh/v2 2.12.2, the last 2.12 release, has no known advisories. 2 advisories affect earlier 2.12.x releases, so update to 2.12.2.

Update within 2.12:go get github.com/cli/go-gh/v2@v2.12.2

Is your project on an affected github.com/cli/go-gh/v2?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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

Fixed within 2.12.x, affecting earlier releases

  • LowCVE-2025-48938GO-2025-37323 Jun 2025

    GitHub CLI and extensions can execute arbitrary commands on compromised GitHub Enterprise Server in github.com/cli/go-gh

    Affected
    <2.12.1
    Fixed in
    2.12.1
  • MediumCVE-2025-48938GHSA-g9f5-x53j-h56330 May 2025

    Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server

    Affected
    <2.12.1
    Fixed in
    2.12.1

Every github.com/cli/go-gh/v2 2.12.x release

Affected: 2.12.0. 2.12.1 and later are not affected. Latest github.com/cli/go-gh/v2: 2.17.0.

VersionKnown advisories
github.com/cli/go-gh/v2 2.12.2None
github.com/cli/go-gh/v2 2.12.1None
github.com/cli/go-gh/v2 2.12.0CVE-2025-48938, CVE-2025-48938

Which of your client projects are still on github.com/cli/go-gh/v2 2.12?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/cli/go-gh/v2 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/cli/go-gh/v2 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.