Is github.com/cli/go-gh 1.2 vulnerable?

Go · 2 releases from 1.2.0 to 1.2.1 · latest github.com/cli/go-gh is 1.2.1 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. github.com/cli/go-gh 1.2.1, the last 1.2 release, is affected by 2 known security advisories (1 medium, 1 low), including CVE-2024-53859, CVE-2024-53859. At least one has no fixed release yet.

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

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

Advisories affecting github.com/cli/go-gh 1.2.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
    All versions
    Fixed in
    No fix released
  • MediumCVE-2024-53859GHSA-55v3-xh23-96gh27 Nov 2024

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

    Affected
    All versions
    Fixed in
    No fix released

Every github.com/cli/go-gh 1.2.x release

Affected: 1.2.0 to 1.2.1.

VersionKnown advisories
github.com/cli/go-gh 1.2.1CVE-2024-53859, CVE-2024-53859
github.com/cli/go-gh 1.2.0CVE-2024-53859, CVE-2024-53859

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

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/cli/go-gh 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 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.