{"id":"UBUNTU-CVE-2025-48938","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.","modified":"2026-05-20T16:23:31.485813060Z","published":"2025-05-30T19:15:00Z","upstream":["CVE-2025-48938"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-48938"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-48938"},{"type":"REPORT","url":"https://github.com/cli/go-gh/security/advisories/GHSA-g9f5-x53j-h563"},{"type":"REPORT","url":"https://github.com/cli/go-gh/blob/61bf393cf4aeea6d00a6251390f5f67f5b67e727/pkg/browser/browser.go"},{"type":"REPORT","url":"https://github.com/cli/go-gh/commit/a08820a13f257d6c5b4cb86d37db559ec6d14577"}],"affected":[{"package":{"name":"golang-github-cli-go-gh","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-cli-go-gh?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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"}},{"package":{"name":"golang-github-cli-go-gh-v2","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-cli-go-gh-v2?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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_version":"2.6.0-1ubuntu0.24.04.1~esm1","binary_name":"golang-github-cli-go-gh-v2-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"}},{"package":{"name":"golang-github-cli-go-gh","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-cli-go-gh?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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"}},{"package":{"name":"golang-github-cli-go-gh-v2","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-cli-go-gh-v2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.0-2","binary_name":"golang-github-cli-go-gh-v2-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"}},{"package":{"name":"golang-github-cli-go-gh","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-cli-go-gh?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.1-2","binary_name":"golang-github-cli-go-gh-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"}},{"package":{"name":"golang-github-cli-go-gh-v2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-cli-go-gh-v2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.0-2","binary_name":"golang-github-cli-go-gh-v2-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}