Read the docs
TI-2026-39999 Aliases CVE-2026-55431GHSA-v54h-cp2w-9x4g

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

Priority LOW 36CWE-522Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Information disclosure, Spoofing
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-522 and CWE-601.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00336 27th percentileScored 2026-11-07
Fix Fixed coder (coder): 2.34.2, 2.33.8, 2.32.7 +1github.com/coder/coder/v2 (Go): 2.34.2, 2.33.8, 2.32.7 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
codercoder2.34.0 to before 2.34.2; 2.33.0 to before 2.33.8; 2.30.0 to before 2.32.7; before 2.29.172.34.2, 2.33.8, 2.32.7, 2.29.17Patch availableCNA
—github.com/coder/coder/v2 (Go)2.34.0 to before 2.34.22.34.2Patch availableGHSA-v54h-cp2w-9x4g
—github.com/coder/coder/v2 (Go)2.33.0 to before 2.33.82.33.8Patch availableGHSA-v54h-cp2w-9x4g
—github.com/coder/coder/v2 (Go)2.30.0 to before 2.32.72.32.7Patch availableGHSA-v54h-cp2w-9x4g
—github.com/coder/coder/v2 (Go)before 2.29.172.29.17Patch availableGHSA-v54h-cp2w-9x4g
  • coder Vendorcoder Affected 2.34.0 to before 2.34.2; 2.33.0 to before 2.33.8; 2.30.0 to before 2.32.7; before 2.29.17 Fixed in 2.34.2, 2.33.8, 2.32.7, 2.29.17 Patch available CNA
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.34.0 to before 2.34.2 Fixed in 2.34.2 Patch available GHSA-v54h-cp2w-9x4g
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.33.0 to before 2.33.8 Fixed in 2.33.8 Patch available GHSA-v54h-cp2w-9x4g
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.30.0 to before 2.32.7 Fixed in 2.32.7 Patch available GHSA-v54h-cp2w-9x4g
  • github.com/coder/coder/v2 (Go) Vendor— Affected before 2.29.17 Fixed in 2.29.17 Patch available GHSA-v54h-cp2w-9x4g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*before 2.29.17; 2.30.0 to before 2.32.7; 2.33.0 to before 2.33.8; 2.34.0 to before 2.34.2Vulnerablecoder
  • cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* Versions before 2.29.17; 2.30.0 to before 2.32.7; 2.33.0 to before 2.33.8; 2.34.0 to before 2.34.2 Vulnerable ·coder

Remediation

  • Fix · CNA coder (coder) Fixed in 2.34.2, 2.33.8, 2.32.7, 2.29.17
  • Fix · GHSA-v54h-cp2w-9x4g github.com/coder/coder/v2 (Go) Fixed in 2.34.2 Advisory →
  • Fix · GHSA-v54h-cp2w-9x4g github.com/coder/coder/v2 (Go) Fixed in 2.33.8 Advisory →
  • Fix · GHSA-v54h-cp2w-9x4g github.com/coder/coder/v2 (Go) Fixed in 2.32.7 Advisory →
  • Fix · GHSA-v54h-cp2w-9x4g github.com/coder/coder/v2 (Go) Fixed in 2.29.17 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55431
  2. 2026-10-03 Alias added: GHSA-v54h-cp2w-9x4g

References

  • TI-2026-34071 Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft CVSS 3.1CRITICAL 9.1
  • TI-2026-32394 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent CVSS 3.1HIGH 8.8
  • TI-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
  • TI-2026-39997 Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID CVSS 3.1HIGH 8.7
  • TI-2026-39996 Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator CVSS 3.1HIGH 8.2
  • TI-2026-39995 Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh` CVSS 3.1HIGH 8.3
See all 22 →

Sources