8.7high
Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Coder before 2.29.20, 2.33.0 before 2.33.12, 2.34.0 before 2.34.8, and 2.35.0 before 2.35.4 contains an improper hostname validation flaw in GetWorkspaceProxyByHostname whose SIMILAR TO pattern performs a prefix match, so any domain that is a string prefix of a workspace-proxy access URL is trusted as a proxy. Attackers owning such a domain can lure an authenticated victim to a crafted /api/v2/applications/auth-redirect link, capture the redirected application_connect API key, and replay it to access the victim's workspace apps.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| coder coder | from 2.35.0 before 2.35.4, from 2.34.0 before 2.34.8, from 2.33.0 before 2.33.12, before 2.29.20 Not affected: 2.35.4, 2.34.8, 2.33.12, 2.29.20 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
| VulnCheck | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Coder before 2.29.20, 2.33.0 before 2.33.12, 2.34.0 before 2.34.8, and 2.35.0 before 2.35.4 contains an improper hostname validation flaw in GetWorkspaceProxyByHostname whose SIMILAR TO pattern performs a prefix match, so any domain that is a string prefix of a workspace-proxy access URL is trusted as a proxy. Attackers owning such a domain can lure an authenticated victim to a crafted /api/v2/applications/auth-redirect link, capture the redirected application_connect API key, and replay it to access the victim's workspace apps.
NVD (es)
Coder en versiones anteriores a la 2.29.20, y en las ramas 2.33.0, 2.34.0 y 2.35.0 en versiones anteriores a la 2.33.12, 2.34.8 y 2.35.4 respectivamente, contiene un fallo de validación de nombre de host inadecuada en GetWorkspaceProxyByHostname, cuyo patrón SIMILAR TO realiza una coincidencia de prefijo, por lo que cualquier dominio que sea un prefijo de cadena de una URL de acceso de proxy de espacio de trabajo es de confianza como proxy. Los atacantes que poseen dicho dominio pueden atraer a una víctima autenticada a un enlace /API/v2/applications/auth-redirect manipulado, capturar la clave API application_connect redirigida y reproducirla para acceder a las aplicaciones del espacio de trabajo de la víctima.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-111927 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2026-111927 changed 2026-11-04 | Public domain |