CVE-2026-55431
Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps
Also known as GHSA-v54h-cp2w-9x4g, GO-2026-5924
Mitigation
- Upgrade github.com/coder/coder/v2 to one of 2.34.2, 2.33.8, 2.32.7, 2.29.17 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/coder/coder/v2 (>= 2.34.0, < 2.34.2)
- Projects that depend on Go package github.com/coder/coder
- Anyone running coder >= 2.34.0, < 2.34.2; >= 2.33.0, < 2.33.8; >= 2.30.0, < 2.32.7; < 2.29.17
Vulnerability facts
- Affected
- github.com/coder/coder/v2 >= 2.34.0, < 2.34.2; github.com/coder/coder
- Fixed in
- 2.34.2, 2.33.8, 2.32.7, 2.29.17
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-522, CWE-601
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/coder/coder/v2 | >= 2.34.0, < 2.34.2 | 2.34.2, 2.33.8, 2.32.7, 2.29.17 | osv |
| Go github.com/coder/coder | — | — | osv |
| coder | >= 2.34.0, < 2.34.2; >= 2.33.0, < 2.33.8; >= 2.30.0, < 2.32.7; < 2.29.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-55431. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-55431.md Affected: github.com/coder/coder/v2 >= 2.34.0, < 2.34.2; github.com/coder/coder Fixed in: 2.34.2, 2.33.8, 2.32.7, 2.29.17 Steps: 1. Search this machine and project for github.com/coder/coder/v2 (Go), github.com/coder/coder (Go), coder: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-55431 being exploited?
There is no confirmed exploitation: CVE-2026-55431 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-55431?
High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-55431?
github.com/coder/coder/v2 >= 2.34.0, < 2.34.2; github.com/coder/coder.
Is there a fix for CVE-2026-55431?
Yes. Fixed in 2.34.2, 2.33.8, 2.32.7, 2.29.17. Upgrade github.com/coder/coder/v2 to one of 2.34.2, 2.33.8, 2.32.7, 2.29.17 (or later in the same release line).
How do I check if I'm affected by CVE-2026-55431?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.