github.com/cli/go-gh/v2 vulnerabilities

Registry
Go
Latest
2.17.0

4 known advisories

The latest version, 2.17.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/cli/go-gh/v2@v2.17.0

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

Security advisories for github.com/cli/go-gh/v2

  • 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
  • LowCVE-2024-53859GO-2024-329512 Dec 2024

    Violation of GitHub host security boundary when sourcing authentication token within a codespace in github.com/cli/go-gh

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • MediumCVE-2024-53859GHSA-55v3-xh23-96gh27 Nov 2024

    `auth.TokenForHost` violates GitHub host security boundary when sourcing authentication token within a codespace

    Affected
    <2.11.1
    Fixed in
    2.11.1

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

Which of your client projects still run an old github.com/cli/go-gh/v2?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.