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.
Published: 2026-10-17
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: User Enumeration via Login Placeholder Hash
Action: Immediate Patch
AI Analysis

Impact

This vulnerability arises because the authentication library substitutes a placeholder hash derived from the string "hunter2" when a stored password hash is empty. Unauthenticated attackers can submit login attempts with the password "hunter2" and distinguish HTTP 403 responses from 401 responses, thereby determining whether a username is valid. In addition, the attack can reveal the authentication provider of SSO‑only users. The flaw is a characteristic of CWE‑203, an improper input validation weakness. The impact is primarily on confidentiality: an attacker can enumerate valid accounts and possibly gain insight into SSO configuration, but the vulnerability does not directly lead to code execution or data modification.

Affected Systems

The flaw affects the Coder platform. Vulnerable versions are all releases before 2.29.17, any 2.30.x through 2.32.6, any 2.33.x through 2.33.7, and any 2.34.x through 2.34.1. Updated releases 2.34.2 and later contain the fix.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is unauthenticated remote access via the public authentication endpoint. An attacker only needs to send HTTP login requests and interpret status codes; no privileged access or network restrictions are required. Because the flaw only allows user enumeration, the immediate risk is the exposure of user identities and potential reconnaissance for later attacks. However, without additional exploitation capabilities, the threat remains within the enumeration domain.

Generated by OpenCVE AI on October 17, 2026 at 21:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Coder version 2.34.2 or later to eliminate the placeholder hash bug.
  • Configure the authentication service to return a generic error message and identical HTTP status code for all authentication failures, ensuring no differentiation between valid and invalid usernames.
  • Enable rate limiting and account lockout policies on the login endpoint to reduce the feasibility of enumeration attempts.
  • Review and harden SSO provider configurations to ensure that sensitive provider information is not exposed during authentication errors.

Generated by OpenCVE AI on October 17, 2026 at 21:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Coder before 2.34.2 User Enumeration via Login Placeholder Hash
First Time appeared Coder
Coder coder
Weaknesses CWE-203
CPEs cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*
Vendors & Products Coder
Coder coder
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-17T18:46:43.456Z

Reserved: 2026-10-17T12:20:52.372Z

Link: CVE-2026-111933

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-17T19:16:36.360

Modified: 2026-10-17T19:16:36.360

Link: CVE-2026-111933

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:15:15Z

Weaknesses