CVE-2025-48938
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.
Weakness
- CWE-501: Trust Boundary Violation
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-05-30 |
Timeline
- 2025-05-30Published by the CNA18:45 UTC
- 2025-05-30GitHub advisory published (GHSA-g9f5-x53j-h563)same day
- 2025-05-30CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-g9f5-x53j-h563, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/cli/go-gh/v2 | before 2.12.1 | 2.12.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| cli go-gh | before 2.12.1fixed in 2.12.1 | 2.12.1 |
References
- https://github.com/cli/go-gh/commit/a08820a13f257d6c5b4cb86d37db559ec6d14577
- https://github.com/cli/go-gh/security/advisories/GHSA-g9f5-x53j-h563
- https://github.com/cli/go-gh/blob/61bf393cf4aeea6d00a6251390f5f67f5b67e727/pkg/browser/browser.go
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-48938'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-48938'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-48938'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-48938'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).