CVE-2025-48938Trust 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
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

Patches

🔴Vulnerability Details

4
OSV
GitHub CLI and extensions can execute arbitrary commands on compromised GitHub Enterprise Server in github.com/cli/go-gh2025-06-03
OSV
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server2025-05-30
GHSA
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server2025-05-30
OSV
CVE-2025-48938: go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier2025-05-30

📋Vendor Advisories

2
Microsoft
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server2025-05-13
Debian
CVE-2025-48938: golang-github-cli-go-gh - go-gh is a collection of Go modules to make authoring GitHub CLI extensions easi...2025