CVE-2026-55430Medium· 5.8▾ SunlitCoder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access
▾ Sunlit zone — Low / medium · no exploitation signal
impact 31.9 · likelihood 0 · 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.2%
0.2% → 0.2%
The workspace app proxy resolves the target app from httpapi.RequestHost() which prefers the X-Forwarded-Host header over the real Host header. No middleware strips X-Forwarded-Host before routing and the header is not browser-forbidden so client-side JavaScript can set it on fetch() calls.
Note: Practical exploitation requires subdomain app routing (wildcard hostname) enabled, a victim who visits the attacker's shared app and a deployment whose upstream proxy does not strip
X-Forwarded-Host.
App session cookies are scoped to the wildcard parent domain so the browser attaches them to any app subdomain. An attacker who controls a shared workspace app can serve JavaScript that sends same-site requests with a forged X-Forwarded-Host pointing at a victim's private app. The server routes by the attacker-controlled header but authorizes with the victim's cookie which lets the attacker read the victim's private app responses. Subdomain app routing must be enabled and no upstream proxy may strip X-Forwarded-Host.
The fix trusts X-Forwarded-Host only from configured trusted proxies and otherwise resolves the routing host from the verified request host.
The fix was backported to all supported release lines:
Place an upstream reverse proxy that strips or overwrites X-Forwarded-Host on untrusted requests.
Coder would like to thank Anthropic's Security Team (ANT-2026-22435) 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