CVE-2025-48938
CVE-2025-48938 · Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server
CVSS 2.6 · Low · EPSS 0.6%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- go-ghNo fix published
- golang-github-cli-go-gh Debian 12No fix published
- golang-github-cli-go-gh Debian 13No fix published
- golang-github-cli-go-gh-v2 Debian 13No fix published
- and 9 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-cli-go-gh"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-cli-go-gh-v2"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2025:15225-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
go-gh
- Versions
- < 2.12.1: Affected
No fix published
golang-github-cli-go-gh Debian 12
- Versions
- 1.0.0-1
- 1.2.1-1
- 1.2.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh Debian 13
- Versions
- 1.2.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh-v2 Debian 13
- Versions
- 2.17.0-1
- 2.17.0-1~exp1
- 2.6.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh-v2 Debian 14
- Versions
- 2.17.0-1
- 2.17.0-1~exp1
- 2.6.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh Ubuntu 24.04 LTS
- Versions
- 1.2.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh-v2 Ubuntu Pro 24.04 LTS
- Versions
- 2.0.0-2
- 2.3.0-1
- 2.4.0+git20231120.d32c104-1
- 2.5.0-1
- 2.6.0-1
- 2.6.0-1ubuntu0.24.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh Ubuntu 25.10
- Versions
- 1.2.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh-v2 Ubuntu 25.10
- Versions
- 2.6.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh Ubuntu 26.10
- Versions
- 1.2.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh-v2 Ubuntu 26.10
- Versions
- 2.6.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh Ubuntu 26.04 LTS
- Versions
- 1.2.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-cli-go-gh-v2 Ubuntu 26.04 LTS
- Versions
- 2.6.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published