CVE-2026-55431
MEDIUM 6.1CVSS 3.1Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps
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.
- Published
- 8 Jul 2026
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-522CWE-601
- Also known as
- GHSA-v54h-cp2w-9x4gGO-2026-5924
- Sources
- NVDJSONOSV GHSA-v54h-cp2w-9x4gJSONOSV GO-2026-5924JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
< 2.29.17 | 2.29.17 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.30.0, < 2.32.7 | 2.32.7 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.33.0, < 2.33.8 | 2.33.8 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.34.0, < 2.34.2 | 2.34.2 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.34.0, < 2.34.2 | 2.34.2 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.33.0, < 2.33.8 | 2.33.8 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.30.0, < 2.32.7 | 2.32.7 |
| OSV | Go | github.com/coder/coder/v2 | < 2.29.17 | 2.29.17 |
| OSV | Go | github.com/coder/coder | all versions | |
| OSV | Go | github.com/coder/coder/v2 | < 2.29.17; >= 2.30.0, < 2.32.7; >= 2.33.0, < 2.33.8; >= 2.34.0, < 2.34.2 | 2.29.17, 2.32.7, 2.33.8, 2.34.2 |
References
- https://github.com/coder/coder/pull/26146 · Issue Tracking, Patch, WEB, FIX
- https://github.com/coder/coder/releases/tag/v2.29.17 · Release Notes
- https://github.com/coder/coder/releases/tag/v2.32.7 · Release Notes
- https://github.com/coder/coder/releases/tag/v2.33.8 · Release Notes
- https://github.com/coder/coder/releases/tag/v2.34.2 · Release Notes
- https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g · Patch, Vendor Advisory, WEB, ADVISORY
- https://github.com/coder/coder · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)