{"id":"CVE-2026-111933","aliases":["CVE-2026-111933","GHSA-8fxq-53rx-ph5f","GO-2026-6265"],"related":[],"kind":"vulnerability","state":"published","title":"Coder before 2.34.2 User Enumeration via Login Placeholder Hash","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\n`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.\n\n> **Note:** Practical exploitation is limited because the timing side channel is noisy and only reveals whether an account exists.\n\n### Impact\n\nAn 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.\n\n### Patches\n\nThe fix derives the timing-defense placeholder from a secure random value that no supplied password can match.\n\nThe fix was backported to all supported release lines:\n\n| Release line | Patched version |\n|---|---|\n| 2.34 | [v2.34.2](https://github.com/coder/coder/releases/tag/v2.34.2) |\n| 2.33 | [v2.33.8](https://github.com/coder/coder/releases/tag/v2.33.8) |\n| 2.32 | [v2.32.7](https://github.com/coder/coder/releases/tag/v2.32.7) |\n| 2.29 (ESR) | [v2.29.17](https://github.com/coder/coder/releases/tag/v2.29.17) |\n\n### Workarounds\n\nNone.\n\n### References\n\n- Fix: #26205\n\n### Credits\n\nWe'd like to thank Anthropic's Security Team (ANT-2026-22433) for independently disclosing this issue!","format":"markdown","source":"ghsa"},{"lang":"en","text":"Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison in github.com/coder/coder","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-08-20T18:34:21.000Z","modified":"2026-10-24T19:10:00.127Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-203","CWE-204"],"affected":[{"ranges":[{"type":"semver","introduced":"2.34.0","fixed":"2.34.2","status":"affected"},{"type":"semver","version":"2.34.2","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.33.0","fixed":"2.33.8","status":"affected"},{"type":"semver","version":"2.33.8","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.30.0","fixed":"2.32.7","status":"affected"},{"type":"semver","version":"2.32.7","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"2.29.17","status":"affected"},{"type":"semver","version":"2.29.17","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.34.0","status":"affected","fixed":"2.34.2"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.33.0","status":"affected","fixed":"2.33.8"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.32.7"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.29.17"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.29.17"},{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.32.7"},{"type":"semver","introduced":"2.33.0","status":"affected","fixed":"2.33.8"},{"type":"semver","introduced":"2.34.0","status":"affected","fixed":"2.34.2"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"go"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-8fxq-53rx-ph5f","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.vulncheck.com/advisories/coder-before-2.34.2-user-enumeration-via-login-placeholder-hash","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder/pull/26205","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder/commit/35a7dc8ab9c7f15ce05d963947823ee31224512f","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-19T15:09:55.562Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-111933","url":"https://www.cve.org/CVERecord?id=CVE-2026-111933","licence":"CVE Terms of Use","modified":"2026-10-19T15:12:57.230Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8fxq-53rx-ph5f","url":"https://github.com/advisories/GHSA-8fxq-53rx-ph5f","licence":"CC-BY-4.0","modified":"2026-10-18T10:55:40.994Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6265","url":"https://pkg.go.dev/vuln/GO-2026-6265","licence":"CC-BY-4.0","modified":"2026-10-18T10:55:40.994Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-111933","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111933","licence":"Public domain","modified":"2026-10-24T19:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:45.153Z","epss":{"score":0.00225,"percentile":0.14098,"date":"2026-12-01T12:00:22.000Z"}}