CVE-2025-48938 — Trust Boundary Violation in CLI Go-gh V2
Severity
2.6LOWNVD
EPSS
0.4%
top 39.37%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 30
Latest updateJun 3
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 filesyst…
CVSS 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
Affected Packages5 packages
Patches
🔴Vulnerability Details
4OSV▶
GitHub CLI and extensions can execute arbitrary commands on compromised GitHub Enterprise Server in github.com/cli/go-gh↗2025-06-03
OSV▶
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server↗2025-05-30
GHSA▶
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server↗2025-05-30
OSV▶
CVE-2025-48938: go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier↗2025-05-30