CVE-2025-48938 LOW

CVE-2025-48938: Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server

Vendor Cli
Product go-gh
Weakness CWE-501
Published May 30, 2025
Last update May 30, 2025

CVSS base score

2.6/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

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/E:U

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 30, 2025 CVE published
May 30, 2025 Record updated