Security mailing lists by PureSourceCode

CVE-2026-55431

MEDIUM 6.1CVSS 3.1

Coder'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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD coder coder
cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*
< 2.29.17 2.29.17
NVD coder coder
cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*
>= 2.30.0, < 2.32.7 2.32.7
NVD coder coder
cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*
>= 2.33.0, < 2.33.8 2.33.8
NVD coder coder
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.