CVE-2026-55430
Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access
Also known as GHSA-5g4w-3vw9-478w, GO-2026-5917
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
- 5.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/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: None
- Availability impact: None
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-345, CWE-441
- 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, 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. 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`. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 trusts `X-Forwarded-Host` only from configured trusted proxies and otherwise resolves the routing host from the verified request host. As a workaround, place an upstream reverse proxy that strips or overwrites `X-Forwarded-Host` on untrusted requests.
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-55430. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-55430.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-55430 being exploited?
There is no confirmed exploitation: CVE-2026-55430 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-55430?
Medium: CVSS 5.8 (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-55430?
github.com/coder/coder/v2 >= 2.34.0, < 2.34.2; github.com/coder/coder.
Is there a fix for CVE-2026-55430?
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-55430?
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.