# CVE-2025-48938: Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server

- Priority: **Routine**
- Reason: Not severe (CVSS 2.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-30 · Modified: 2025-05-30
- Aliases: UBUNTU-CVE-2025-48938, DEBIAN-CVE-2025-48938, CGA-26jp-x7hg-vj2c, CGA-3gcr-j86h-mrgj, GHSA-g9f5-x53j-h563, GO-2025-3732
- Record: https://cvemate.com/vulnerability/CVE-2025-48938 · JSON: https://cvemate.com/vulnerability/CVE-2025-48938/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.573%, percentile 48.801%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard wolfictl (Chainguard): \< 0.37.2-r1
- wolfi wolfictl (Wolfi): \< 0.37.2-r1
- cli go-gh: \< 2.12.1
- debian golang-github-cli-go-gh (Debian): All versions (No fix recorded)
- debian golang-github-cli-go-gh-v2 (Debian): All versions (No fix recorded)
- ubuntu golang-github-cli-go-gh (Ubuntu): All versions (No fix recorded)
- ubuntu golang-github-cli-go-gh-v2 (Ubuntu): All versions (No fix recorded)
- github.com/cli/go-gh v2 (Go): \< 2.12.1

## References

- <https://github.com/cli/go-gh/security/advisories/GHSA-g9f5-x53j-h563>
- <https://github.com/cli/go-gh/commit/a08820a13f257d6c5b4cb86d37db559ec6d14577>
- <https://github.com/cli/go-gh/blob/61bf393cf4aeea6d00a6251390f5f67f5b67e727/pkg/browser/browser.go>
- <https://ubuntu.com/security/CVE-2025-48938>
- <https://www.cve.org/CVERecord?id=CVE-2025-48938>
- <https://security-tracker.debian.org/tracker/CVE-2025-48938>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48938.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48938>
- <https://github.com/cli/go-gh>

---

Data as of 2026-12-05T08:24:19.374Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
