Vulnerabilities

CVE-2026-55430

Medium 6.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-07-08
Last modified
2026-07-08
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 4 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Coder Coder < 2.29.17 Affected
Coder Coder ≥ 2.30.0, < 2.32.7 Affected
Coder Coder ≥ 2.33.0, < 2.33.8 Affected
Coder Coder ≥ 2.34.0, < 2.34.2 Affected
github.com/coder/coder v2 (Go) < 2.29.17 Affected
github.com/coder/coder v2 (Go) ≥ 2.30.0, < 2.32.7 Affected
github.com/coder/coder v2 (Go) ≥ 2.33.0, < 2.33.8 Affected
github.com/coder/coder v2 (Go) ≥ 2.34.0, < 2.34.2 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1090.001: Internal Proxy command-and-control
  • T1211: Exploitation for Stealth stealth
  • T1491: Defacement impact
  • T1542.002: Component Firmware stealth, persistence
  • T1556: Modify Authentication Process defense-impairment, persistence, credential-access
  • T1557.002: ARP Cache Poisoning credential-access, collection
  • T1584.002: DNS Server resource-development

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities