CVE-2025-48938

Source
https://cve.org/CVERecord?id=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
AZL (1)
CGA (2)
DEBIAN (1)
openSUSE (1)
UBUNTU (1)
Related
Published
2025-05-30T18:45:59Z
Modified
2026-10-22T10:36:02Z
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",
    "cwe_ids": [
        "CWE-501"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48938.json"
}
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
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.12.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "a08820a13f257d6c5b4cb86d37db559ec6d14577"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "cpe": "cpe:2.3:a:cli:go-gh:*:*:*:*:*:go:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.12.1"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

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"