CVE-2025-48938 Details
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.
A vulnerability exists in go-gh, a collection of Go modules for GitHub CLI extensions, in versions prior to 2.12.1. The issue arises from the 'Browser' capability, which can be exploited by an attacker-controlled GitHub Enterprise Server. By replacing HTTP URLs with local file paths, the server can trigger the execution of arbitrary commands on a user's machine. This exploitation takes advantage of the 'Browse' function, which opens URLs using various operating system-specific methods. In the vulnerable versions, the function did not properly validate the URL schemes, allowing local files to be executed as commands.
Users are advised to upgrade go-gh to version 2.12.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-501 | Trust Boundary Violation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cli go-gh | < 2.12.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 17, 2026 | Modified Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2025 | Initial Analysis | [email protected] |
| May 30, 2025 | New CVE Received | [email protected] |