6.3medium
Coder before 2.34.2 User Enumeration via Login Placeholder Hash
- Severity
- 6.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-8fxq-53rx-ph5fGO-2026-6265
Description
Coder before 2.29.17, 2.30.0 before 2.32.7, 2.33.0 before 2.33.8, and 2.34.0 before 2.34.2 contains a user enumeration vulnerability because userpassword.Compare() substitutes a placeholder hash derived from the string "hunter2" when a stored password hash is empty. Unauthenticated attackers can submit logins with the password "hunter2" and distinguish HTTP 403 from 401 responses to enumerate valid accounts and reveal the authentication provider of SSO-only users.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| coder coder | 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 Not affected: 2.34.2, 2.33.8, 2.32.7, 2.29.17 | CVE List |
| 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 Advisory Database, Go Vulnerability Database |
| github.com/coder/coder (Go) | all versions | Go Vulnerability Database |
All scores
| VulnCheck | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
Coder before 2.29.17, 2.30.0 before 2.32.7, 2.33.0 before 2.33.8, and 2.34.0 before 2.34.2 contains a user enumeration vulnerability because userpassword.Compare() substitutes a placeholder hash derived from the string "hunter2" when a stored password hash is empty. Unauthenticated attackers can submit logins with the password "hunter2" and distinguish HTTP 403 from 401 responses to enumerate valid accounts and reveal the authentication provider of SSO-only users.
GitHub Advisory Database
Summary
userpassword.Compare() substituted a placeholder hash derived from the well-known string "hunter2" when the stored hash was empty. Submitting "hunter2" therefore matched accounts with no password hash (nonexistent users and SSO-only users) and a subsequent login-type check returned an HTTP 403 that disclosed the account's login type, versus 401 for password users.
Note: Practical exploitation is limited because the timing side channel is noisy and only reveals whether an account exists.
Impact
An unauthenticated attacker could enumerate valid accounts and their authentication provider by submitting logins with the password "hunter2", distinguishing nonexistent users, SSO users (provider revealed) and password users from the response. This aids credential-stuffing and targeted phishing. No authentication bypass or data access resulted.
Patches
The fix derives the timing-defense placeholder from a secure random value that no supplied password can match.
The fix was backported to all supported release lines:
Workarounds
None.
References
- Fix: #26205
Credits
We'd like to thank Anthropic's Security Team (ANT-2026-22433) for independently disclosing this issue!
Go Vulnerability Database
Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison in github.com/coder/coder
NVD (es)
Coder versiones anteriores a 2.29.17, versiones 2.30.0 hasta la versión 2.32.7 excluida, versiones 2.33.0 hasta la versión 2.33.8 excluida y versiones 2.34.0 hasta la versión 2.34.2 excluida contiene una vulnerabilidad de enumeración de usuarios porque userpassword.Compare() sustituye un hash de marcador de posición derivado de la cadena \“hunter2\” cuando el hash de la contraseña almacenada está vacío. Los atacantes no autenticados pueden enviar inicios de sesión con la contraseña \“hunter2\” y distinguir respuestas HTTP 403 de 401 para enumerar cuentas válidas y revelar el proveedor de autenticación de los usuarios exclusivamente SSO.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-111933 changed 2026-10-19 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8fxq-53rx-ph5f changed 2026-10-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6265 changed 2026-10-18 | CC-BY-4.0 |
| NVD | CVE-2026-111933 changed 2026-10-24 | Public domain |