CVE-2025-48938
published low CVSS 4.0 · 2.6Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cli | — | go-gh< 2.12.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250612T141001-1.1 | OPENSUSE-SU-2025:15225-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250612T141001-1.1 | OPENSUSE-SU-2025:15225-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250612T141001-1.1 | OPENSUSE-SU-2025:15225-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250612T141001-1.1 | OPENSUSE-SU-2025:15225-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cli | go-gh | < 2.12.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-501 CWE-501: Trust Boundary Violation
References
3Provider assertions
2GitHub_M · cna
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ef39c08cfe64f939931b9adc73b2ab68b821112a1910114ce919ecf3ef60b158
- Ingested
- 23 Sep 2026, 08:50:57 UTC
- Source record
- Official CVE record