Live threats

All CVEs / Cli

CVE-2025-48938Cli Go-gh

Low 2.6

Priority
16
CVSS 4.0
2.6
EPSS
—
Auth required
Yes
Published
May 30, 2025
Updated
Aug 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-501
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier. A security vulnerability has been identified in versions prior to 2.12.1 where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing. In `2.12.1`, `Browser.Browse()` has been enhanced to allow and disallow a variety of scenarios to avoid opening or executing files on the filesystem without unduly impacting HTTP URLs. No known workarounds are available other than upgrading.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-gh.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/cli/go-gh/v2 < 2.12.1 2.12.1 go get github.com/cli/go-gh/v2@v2.12.1
Go github.com/cli/go-gh/v2 < 2.12.1 2.12.1 go get github.com/cli/go-gh/v2@v2.12.1

Per OSV / GitHub Advisories (GHSA-g9f5-x53j-h563, GO-2025-3732). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cligo-gh< 2.12.1

Official sources

References

Links published by the sources. Open them with care.