Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access

Summary

CVECVE-2026-55430
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-08 01:16:27 UTC
Updated2026-07-08 19:43:14 UTC
DescriptionCoder 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.

Risk And Classification

Primary CVSS: v3.1 6.8 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

EPSS: 0.002080000 probability, percentile 0.109640000 (date 2026-07-10)

Problem Types: CWE-345 | CWE-441 | CWE-345 CWE-345: Insufficient Verification of Data Authenticity | CWE-441 CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
3.1[email protected]Secondary5.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
3.1CNADECLARED5.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Coder Coder All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Coder Coder affected >= 2.34.0, < 2.34.2 Not specified
CNA Coder Coder affected >= 2.33.0, < 2.33.8 Not specified
CNA Coder Coder affected >= 2.30.0, < 2.32.7 Not specified
CNA Coder Coder affected < 2.29.17 Not specified

References

ReferenceSourceLinkTags
github.com/coder/coder/releases/tag/v2.34.2 [email protected] github.com Release Notes
github.com/coder/coder/pull/26204 [email protected] github.com Issue Tracking, Patch
github.com/coder/coder/releases/tag/v2.29.17 [email protected] github.com Release Notes
github.com/coder/coder/security/advisories/GHSA-5g4w-3vw9-478w [email protected] github.com Patch, Vendor Advisory
github.com/coder/coder/releases/tag/v2.32.7 [email protected] github.com Release Notes
github.com/coder/coder/releases/tag/v2.33.8 [email protected] github.com Release Notes
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report