GHSA-8fxq-53rx-ph5fLow· 3.7▾ SunlitCoder: Login endpoint user enumeration via timing-defense placeholder in password comparison
▾ Sunlit zone — Low / medium · no exploitation signal
impact 20.4 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
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.
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.
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:
None.
We'd like to thank Anthropic's Security Team (ANT-2026-22433) for independently disclosing this issue!
github.com/coder/coder/v2 >= 2.34.0, < 2.34.2github.com/coder/coder/v2 >= 2.33.0, < 2.33.8github.com/coder/coder/v2 >= 2.30.0, < 2.32.7github.com/coder/coder/v2 < 2.29.17Upgrade to a patched release:
github.com/coder/coder/v2 2.34.2github.com/coder/coder/v2 2.33.8github.com/coder/coder/v2 2.32.7github.com/coder/coder/v2 2.29.17Connected by shared product, vendor, weakness, or advisory.
GHSA-h58c-xccx-75m3Low· 3.4Coder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings
GO-2026-6267NoneCoder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings in github.com/coder/coder
GO-2026-6265NoneCoder: Login endpoint user enumeration via timing-defense placeholder in password comparison in github.com/coder/coder
CVE-2024-27918High· 8.2Coder's OIDC authentication allows email with partially matching domain to register
GHSA-qrwj-vh9x-gw5vHigh· 8.3Coder's workspace agent API insecure redirect handling allowed cross-agent file read and write
CVE-2026-55076High· 7.4Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking