{"id":"CVE-2026-55430","published":"2026-07-08T00:03:29Z","modified":"2026-07-08T17:10:40Z","title":"Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access","vendor":"coder","product":"coder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00208,"percentile":0.11151,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-5g4w-3vw9-478w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coder/coder/pull/26204","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.23},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"coder","affectedVersions":[{"vendor":"coder","product":"coder","versions":[">= 2.34.0, < 2.34.2",">= 2.33.0, < 2.33.8",">= 2.30.0, < 2.32.7","< 2.29.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T16:57:10.249359Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/coder/coder/v2","vulnerableRanges":[">=2.34.0, <2.34.2",">=2.33.0, <2.33.8",">=2.30.0, <2.32.7","<2.29.17"],"patched":["2.34.2","2.33.8","2.32.7","2.29.17"],"from":["GHSA-5g4w-3vw9-478w","GO-2026-5917"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/coder/coder","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5917"],"provenance":"source"}],"summary":{"text":"Coder's workspace app proxy, in the coder product, routes requests to a target app based on the X-Forwarded-Host header rather than the verified request host, when subdomain app routing is enabled. An attacker who can lure a victim into visiting an attacker-controlled shared app, where client-side JavaScript sets that header, can reach other workspace apps and their data, provided the deployment's upstream proxy does not strip X-Forwarded-Host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:29Z"},"euvd":{"id":"EUVD-2026-42136","exploited":false,"provenance":"source"}}