{"cve":"CVE-2025-48938","nvd":{"published":"2025-05-30T19:15:29.980","modified":"2026-08-17T12:05:03.540","status":"Analyzed","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_v4":{"vector":"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","score":2.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-501"],"references":["https://github.com/cli/go-gh/blob/61bf393cf4aeea6d00a6251390f5f67f5b67e727/pkg/browser/browser.go","https://github.com/cli/go-gh/commit/a08820a13f257d6c5b4cb86d37db559ec6d14577","https://github.com/cli/go-gh/security/advisories/GHSA-g9f5-x53j-h563"],"products":["cli:go-gh"],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-48938","score":0.00564,"percentile":0.46855,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g9f5-x53j-h563","url":"https://osv.dev/vulnerability/GHSA-g9f5-x53j-h563","summary":"Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server","modified":"2026-09-10T03:50:57.499680752Z","packages":[{"ecosystem":"Go","name":"github.com/cli/go-gh/v2","purl":"pkg:golang/github.com/cli/go-gh/v2","ranges":["<2.12.1"],"fixed":["2.12.1"]}]},{"id":"GO-2025-3732","url":"https://osv.dev/vulnerability/GO-2025-3732","summary":"GitHub CLI and extensions can execute arbitrary commands on compromised GitHub Enterprise Server in github.com/cli/go-gh","modified":"2026-02-04T02:31:40.639125Z","packages":[{"ecosystem":"Go","name":"github.com/cli/go-gh/v2","purl":"pkg:golang/github.com/cli/go-gh/v2","ranges":["<2.12.1"],"fixed":["2.12.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}