Trust Boundary Violation Affecting github.com/cli/go-gh/pkg/auth package, versions <2.12.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCLIGOGHPKGAUTH-10288919
  • published1 Jun 2025
  • disclosed30 May 2025
  • creditMatt Austin

Introduced: 30 May 2025

NewCVE-2025-48938  (opens in a new tab)
CWE-501  (opens in a new tab)

How to fix?

Upgrade github.com/cli/go-gh/pkg/auth to version 2.12.1 or higher.

Overview

Affected versions of this package are vulnerable to Trust Boundary Violation due to the Browse() method using URLs provided through API responses from authenticated GitHub hosts when users execute gh commands. An attacker in control of a malicious GitHub server can execute arbitrary commands on the user's machine by crafting malicious URLs interpreted by the system.

CVSS Base Scores

version 4.0
version 3.1