CVE-2025-48938

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-48938
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48938.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-48938
Aliases
Related
Published
2025-05-30T19:15:29Z
Modified
2025-06-03T17:58:46.046101Z
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

Debian:12 / golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/debian/golang-github-cli-go-gh?arch=source

Affected ranges

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

Affected versions

1.*

1.0.0-1
1.2.1-1
1.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/debian/golang-github-cli-go-gh?arch=source

Affected ranges

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

Affected versions

1.*

1.0.0-1
1.2.1-1
1.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-cli-go-gh-v2

Package

Name
golang-github-cli-go-gh-v2
Purl
pkg:deb/debian/golang-github-cli-go-gh-v2?arch=source

Affected ranges

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

Affected versions

2.*

2.0.0-1
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-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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