CVE-2025-48938: cli go-gh Trust Boundary Violation
Vulnerability summary
CVE-2025-48938 is a critical (CVSS 9.8) Trust Boundary Violation vulnerability in cli go-gh. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 44.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 30-05-2025PublishedVulnerability first disclosed.
- 30-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS: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:UDiffers
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS: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:UDiffers
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS: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:UDiffers
- NVDNIST2.6LowCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.54%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
+0.01 pp
From 0.53% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- golang-github-cli-go-ghAll versions (No fix recorded)
- golang-github-cli-go-gh-v2All versions (No fix recorded)
Ubuntu2 products
- golang-github-cli-go-ghAll versions (No fix recorded)
- golang-github-cli-go-gh-v2All versions (No fix recorded)
Chainguard1 product
- wolfictl< 0.37.2-r1
Cli1 product
- go-gh< 2.12.1
Github.com/cli/go-gh1 product
- v2< 2.12.1
Wolfi1 product
- wolfictl< 0.37.2-r1
6 vendors · 8 products
References
9 links- github.com/cli/go-gh/security/advisories/GHSA-g9f5-x53j-h563X Refsource CONFIRMREPORTAdvisoryWEBMitigationVendor Advisory
- github.com/cli/go-gh/commit/a08820a13f257d6c5b4cb86d37db559ec6d14577X Refsource MISCREPORTFIXWEBPatch
- github.com/cli/go-gh/blob/61bf393cf4aeea6d00a6251390f5f67f5b67e727/pkg/browser/browser.goX Refsource MISCREPORTWEBProduct
- github.com/cli/go-ghPACKAGE