# CVE-2026-55430: Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-07-06T21:05:31.000Z
- Modified: 2026-07-08T19:43:14.500Z
- Also known as: GHSA-5g4w-3vw9-478w, GO-2026-5917
- Weaknesses: CWE-345, CWE-441
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coder coder: >= 2.34.0, < 2.34.2; >= 2.33.0, < 2.33.8; >= 2.30.0, < 2.32.7; < 2.29.17; before 2.29.17; from 2.30.0 before 2.32.7; from 2.33.0 before 2.33.8; from 2.34.0 before 2.34.2
- github.com/coder/coder/v2 (Go): from 2.34.0 before 2.34.2; from 2.33.0 before 2.33.8; from 2.30.0 before 2.32.7; before 2.29.17
- github.com/coder/coder (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/coder/coder/security/advisories/GHSA-5g4w-3vw9-478w> (advisory, patch, vendor-advisory, web)
- <https://github.com/coder/coder/pull/26204> (fix, issue-tracking, patch, web)
- <https://github.com/coder/coder/releases/tag/v2.29.17> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.32.7> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.33.8> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.34.2> (release-notes)
- <https://github.com/coder/coder> (package)

## Sources

- CVE List: [CVE-2026-55430](https://www.cve.org/CVERecord?id=CVE-2026-55430), CVE Terms of Use, modified 2026-07-08
- GitHub Advisory Database: [GHSA-5g4w-3vw9-478w](https://github.com/advisories/GHSA-5g4w-3vw9-478w), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5917](https://pkg.go.dev/vuln/GO-2026-5917), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-55430](https://nvd.nist.gov/vuln/detail/CVE-2026-55430), Public domain, modified 2026-07-08

---

Page: https://cve.day/CVE-2026-55430 · Whole record: https://cve.day/CVE-2026-55430.json · Rebuilt by cve.day 2026-11-25T22:59:27.335Z
