{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55430","id":"CVE-2026-55430","title":"Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access","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","descriptionLong":"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.","published":"2026-07-08T00:03:29.728Z","updated":"2026-10-28T02:30:40.245809841Z","reserved":"2026-06-16T21:59:57.017Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["coder"],"affectedProducts":[{"vendor":"coder","product":"coder","defaultStatus":null,"versions":[{"version":">= 2.34.0, < 2.34.2","status":"affected"},{"version":">= 2.33.0, < 2.33.8","status":"affected"},{"version":">= 2.30.0, < 2.32.7","status":"affected"},{"version":"< 2.29.17","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.34.0 <2.34.2",">=2.33.0 <2.33.8",">=2.30.0 <2.32.7","<2.29.17"],"fixed":["2.34.2","2.33.8","2.32.7","2.29.17"],"advisory":"GHSA-5g4w-3vw9-478w"},{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5917"}],"cwes":["CWE-345","CWE-441"],"aliases":["GHSA-5g4w-3vw9-478w","GO-2026-5917"],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-5g4w-3vw9-478w","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/coder/coder/pull/26204","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55430.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55430","tags":["advisory"]},{"url":"https://github.com/coder/coder","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00208,"epssPercentile":0.11056,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55430","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55430","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55430","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5g4w-3vw9-478w","ok":true,"note":"GHSA-5g4w-3vw9-478w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55430","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}