Trust Boundary Violation in go-gh - CVE-2025-48938
Published: May 29, 2025 / Updated: November 9, 2026
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.