CVE-2026-111933
JSON

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 packageVersionsReported by
coder coderfrom 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.17GitHub Advisory Database, Go Vulnerability Database
github.com/coder/coder (Go)all versionsGo Vulnerability Database

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-203CWE-204

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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:

Release linePatched version
2.34v2.34.2
2.33v2.33.8
2.32v2.32.7
2.29 (ESR)v2.29.17
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

SourceRecordLicence
CVE ListCVE-2026-111933 changed 2026-10-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-8fxq-53rx-ph5f changed 2026-10-18CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6265 changed 2026-10-18CC-BY-4.0
NVDCVE-2026-111933 changed 2026-10-24Public domain