{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-48938","id":"CVE-2025-48938","title":"Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server","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 enhan","descriptionLong":"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":"2025-05-30T18:45:59.753Z","updated":"2026-10-28T02:31:04.394933235Z","reserved":"2025-05-28T18:49:07.579Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.6,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.6,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.6,"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/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","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"}],"rating":"low","products":["cli go-gh"],"affectedProducts":[{"vendor":"cli","product":"go-gh","defaultStatus":null,"versions":[{"version":"< 2.12.1","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-g9f5-x53j-h563"}],"cwes":["CWE-501"],"aliases":["GHSA-g9f5-x53j-h563","GO-2025-3732"],"references":[{"url":"https://github.com/cli/go-gh/security/advisories/GHSA-g9f5-x53j-h563","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/cli/go-gh/commit/a08820a13f257d6c5b4cb86d37db559ec6d14577","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/cli/go-gh/blob/61bf393cf4aeea6d00a6251390f5f67f5b67e727/pkg/browser/browser.go","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48938.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48938","tags":["advisory"]},{"url":"https://github.com/cli/go-gh","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00564,"epssPercentile":0.47622,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-48938","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48938","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-48938","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g9f5-x53j-h563","ok":true,"note":"GHSA-g9f5-x53j-h563"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-48938","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}