Trust Boundary Violation in go-gh - CVE-2025-48938

 

Trust Boundary Violation in go-gh - CVE-2025-48938

Published: May 29, 2025 / Updated: November 9, 2026


Vulnerability identifier: #VU162970
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-48938
CWE-ID: CWE-501
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker controlling a GitHub Enterprise Server to execute arbitrary commands on a user's machine through GitHub CLI or its extensions.

The vulnerability exists due to insufficient validation of server-provided URLs in the go-gh browser component when users invoke commands that open resources. An attacker controlling a GitHub Enterprise Server can replace HTTP URLs in authenticated API responses with local executable paths, causing execution when a user opens the returned resource.


Affected software

go-gh

How to mitigate CVE-2025-48938

Install security update from vendor's website.

go-gh - update to 2.12.1

External References

Related Security Bulletins