Vulnerabilities / CVE-2025-48938

critical

CVE-2025-48938

go-gh is a collection of Go modules to make authoring GitHub CLI exten ...

Published Modified CWE 501
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium), Azure Linux (low).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0gh0:2.62.0-9.azl3
chainguardwolfictl0.37.2-r1
debian 12golang-github-cli-go-ghno fix listed
debian 13golang-github-cli-go-gh, golang-github-cli-go-gh-v2no fix listed
debian 14golang-github-cli-go-gh-v2no fix listed
echogolang-github-cli-go-gh, golang-github-cli-go-gh-v2no fix listed
go::GitHub Security Advisory Gogithub.com/cli/go-gh/v22.12.1
rapidfort debian 12golang-github-cli-go-gh, golang-github-cli-go-gh-v2no fix listed
rapidfort debian 13golang-github-cli-go-gh, golang-github-cli-go-gh-v2no fix listed
wolfiwolfictl0.37.2-r1
Show all 14 entries from 10 sources
SourcePackageFixed in
Azure Linux 3.0gh0:2.62.0-9.azl3
chainguardwolfictl0.37.2-r1
debian 12golang-github-cli-go-ghno fix listed
debian 13golang-github-cli-go-ghno fix listed
debian 13golang-github-cli-go-gh-v2no fix listed
debian 14golang-github-cli-go-gh-v2no fix listed
echogolang-github-cli-go-ghno fix listed
echogolang-github-cli-go-gh-v2no fix listed
go::GitHub Security Advisory Gogithub.com/cli/go-gh/v22.12.1
rapidfort debian 12golang-github-cli-go-ghno fix listed
rapidfort debian 12golang-github-cli-go-gh-v2no fix listed
rapidfort debian 13golang-github-cli-go-ghno fix listed
rapidfort debian 13golang-github-cli-go-gh-v2no fix listed
wolfiwolfictl0.37.2-r1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.