Open Redirect Affecting github.com/coder/coder/v2/cli package, versions <2.29.17>=2.30.0 <2.32.7>=2.33.0 <2.33.8>=2.34.0 <2.34.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (27th 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-GITHUBCOMCODERCODERV2CLI-17872218
  • published6 Jul 2026
  • disclosed6 Jul 2026
  • creditUnknown

Introduced: 6 Jul 2026

CVE-2026-55431  (opens in a new tab)
CWE-522  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/coder/coder/v2/cli to version 2.29.17, 2.32.7, 2.33.8, 2.34.2 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect via the coder open app process. An attacker can obtain a user's session token and impersonate their account by crafting a malicious external app URL containing a session token placeholder, which is then replaced with the real session token and sent to an attacker-controlled host. This is only exploitable if the victim runs coder open app against a workspace whose external app definition is controlled by the attacker.

Workaround

This vulnerability can be mitigated by avoiding the use of coder open app for untrusted workspaces.

CVSS Base Scores

version 4.0
version 3.1