Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/coder/coder/v2
  4. ›
  5. GHSA-8fxq-53rx-ph5f

GHSA-8fxq-53rx-ph5f: Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison

August 20, 2026

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.

References

  • github.com/advisories/GHSA-8fxq-53rx-ph5f
  • github.com/coder/coder/commit/35a7dc8ab9c7f15ce05d963947823ee31224512f
  • github.com/coder/coder/pull/26205
  • github.com/coder/coder/releases/tag/v2.29.17
  • github.com/coder/coder/releases/tag/v2.32.7
  • github.com/coder/coder/releases/tag/v2.33.8
  • github.com/coder/coder/releases/tag/v2.34.2
  • github.com/coder/coder/security/advisories/GHSA-8fxq-53rx-ph5f

Code Behaviors & Features

Detect and mitigate GHSA-8fxq-53rx-ph5f with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.29.17, all versions starting from 2.30.0 before 2.32.7, all versions starting from 2.33.0 before 2.33.8, all versions starting from 2.34.0 before 2.34.2

Fixed versions

  • 2.29.17
  • 2.32.7
  • 2.33.8
  • 2.34.2

Solution

Upgrade to versions 2.29.17, 2.32.7, 2.33.8, 2.34.2 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy
  • CWE-204: Observable Response Discrepancy

Source file

go/github.com/coder/coder/v2/GHSA-8fxq-53rx-ph5f.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:16:24 +0000.