UBUNTU-CVE-2025-48938

Source
https://ubuntu.com/security/CVE-2025-48938
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-48938
Upstream
Published
2025-05-30T19:15:00Z
Modified
2026-05-20T16:23:31Z
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
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:24.04:LTS
golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-github-cli-go-gh-dev",
            "binary_version": "1.2.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"
Ubuntu:25.10
golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-github-cli-go-gh-dev",
            "binary_version": "1.2.1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"
golang-github-cli-go-gh-v2

Package

Name
golang-github-cli-go-gh-v2
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh-v2?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.6.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-github-cli-go-gh-v2-dev",
            "binary_version": "2.6.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"
Ubuntu:26.04:LTS
golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-github-cli-go-gh-dev",
            "binary_version": "1.2.1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"
golang-github-cli-go-gh-v2

Package

Name
golang-github-cli-go-gh-v2
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh-v2?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.6.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-github-cli-go-gh-v2-dev",
            "binary_version": "2.6.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"
Ubuntu:Pro:24.04:LTS
golang-github-cli-go-gh-v2

Package

Name
golang-github-cli-go-gh-v2
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh-v2?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0-2
2.3.0-1
2.4.0+git20231120.d32c104-1
2.5.0-1
2.6.0-1
2.6.0-1ubuntu0.24.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-github-cli-go-gh-v2-dev",
            "binary_version": "2.6.0-1ubuntu0.24.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"