CVE-2025-48938

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-48938
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-48938.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-48938
Aliases
Downstream
Related
Published
2025-05-30T18:45:59.753Z
Modified
2025-12-02T20:07:24.477481Z
Severity
  • 2.6 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48938.json",
    "cwe_ids": [
        "CWE-501"
    ]
}
References

Affected packages

Git / github.com/cli/go-gh

Affected ranges

Type
GIT
Repo
https://github.com/cli/go-gh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.0.1
v0.0.2
v0.0.3
v0.1.0
v0.1.1
v0.1.2

v1.*

v1.0.0
v1.1.0
v1.2.0
v1.2.1

v2.*

v2.0.0
v2.0.1
v2.1.0
v2.10.0
v2.11.0
v2.11.1
v2.11.2
v2.12.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.8.0
v2.9.0

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-48938.json"