CVE-2025-48938: cli go-gh · Trust Boundary Violation
Affects cli go-ghSource CVE Database V5
Not known to be exploited · CVSS 2.6 Low : upgrade to 2.12.1 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.12.1
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:UExploitation evidence
Disclosed: evidence found.
CVE published 30 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade github.com/cli/go-gh to 2.12.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Gogithub.com/cli/go-ghpkg:golang/github.com/cli/go-ghOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary and only effective mitigation is to upgrade all instances of go-gh to version 2.12.1 or later, where the Browser.Browse() function has been enhanced to prevent this attack vector. Organizations should audit their development environments to identify usage of go-gh modules and ensure timely patching. Additionally, organizations should enforce strict controls and monitoring on GitHub Enterprise Server configurations, limiting the ability of untrusted parties to influence URL content. Implementing network segmentation and access controls to restrict developer machines' exposure to untrusted GitHub Enterprise Servers can further reduce risk. Security teams should educate developers about the risks of interacting with untrusted or unknown GitHub Enterprise instances. Finally, integrating runtime application self-protection (RASP) or endpoint detection and response (EDR) solutions can help detect anomalous command executions resulting from exploitation attempts.
Description
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.