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.
go get github.com/cli/go-gh/v2@v2.12.2Is your project on an affected github.com/cli/go-gh/v2?
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
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
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.
| Version | Known advisories |
|---|---|
| github.com/cli/go-gh/v2 2.12.2 | None |
| github.com/cli/go-gh/v2 2.12.1 | None |
| github.com/cli/go-gh/v2 2.12.0 | CVE-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.