Bug 2369479 (CVE-2025-48938) - CVE-2025-48938 github.com/cli/go-gh/pkg/browser: github.com/cli/go-gh/v2/pkg/browser: GitHub CLI may execute arbitrary commands from compromised GitHub Enterprise Server
Summary: CVE-2025-48938 github.com/cli/go-gh/pkg/browser: github.com/cli/go-gh/v2/pkg/...
Keywords:
Status: NEW
Alias: CVE-2025-48938
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2369483 2369485 2369482 2369484
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-30 19:01 UTC by OSIDB Bzimport
Modified: 2025-06-02 16:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-30 19:01:20 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.