CVE-2026-55431

Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps

MEDIUM
6.1
CVSS Score
Published: July 8, 2026 at 12:10 AM UTC
Updated: July 8, 2026 at 07:55 PM UTC
1 product affected across 1 vendorCoder

Using coder by coder?

Get instant alerts when new vulnerabilities affect coder - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `coder open app` opens external workspace-app URLs without validating the scheme or host. When an external app URL contains the `$SESSION_TOKEN` placeholder the CLI replaces it with the user's real session token before handing the URL to the OS open handler. Practical exploitation requires the victim to run `coder open app` against a workspace whose external app definition the attacker controls. Only a malicious template author can control external app URLs. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 applies a URL-scheme allowlist in the CLI and limits `$SESSION_TOKEN` substitution to trusted destinations like the web frontend. As a workaround, avoid running `coder open app` for untrusted workspaces.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.29.17v < 2.32.7v < 2.33.8v < 2.34.22.30.0 ≤ v < 2.32.72.33.0 ≤ v < 2.33.82.34.0 ≤ v < 2.34.2
Affected range stops below 2.29.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.32.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.33.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.34.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (6)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/coder/coder/pull/26146
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/coder/coder/releases/tag/v2.29.17
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/coder/coder/releases/tag/v2.32.7
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/coder/coder/releases/tag/v2.33.8
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/coder/coder/releases/tag/v2.34.2

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-522CWE-601

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card