GHSA-8fxq-53rx-ph5f: Coder Login Endpoint User Enumeration Vulnerability
LOWGHSA-8fxq-53rx-ph5f is a LOW (CVSS 3.7) login endpoint user enumeration vulnerability (CWE-204: Observable Response Discrepancy) affecting Coder libraries in the Go ecosystem. The issue involves login endpoint user enumeration via timing-defense placeholder in password comparison. Remediation is available by upgrading affected packages to version 2.34.2, 2.33.8, 2.32.7, 2.29.17.
GHSA-8fxq-53rx-ph5f at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix GHSA-8fxq-53rx-ph5f
To remediate this vulnerability, upgrade all affected Coder dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/coder/coder/v2 to 2.34.2
Upgrade github.com/coder/coder/v2 to 2.33.8
Upgrade github.com/coder/coder/v2 to 2.32.7
Upgrade github.com/coder/coder/v2 to 2.29.17
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/coder/coder/v2
How to Check if You Are Affected
To determine whether your application is affected by GHSA-8fxq-53rx-ph5f, inspect your project dependencies for Coder:
inspect dependencies for github.com/coder/coder/v2
Analyze the terminal output to locate any version of Coder in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.34.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-204: Observable Response Discrepancy, where the product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere. In Coder, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-8fxq-53rx-ph5f Affected Coder Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/coder/coder/v2
|
Go |
≥ 2.34.0
< 2.34.2
|
2.34.2
|
|
github.com/coder/coder/v2
|
Go |
≥ 2.33.0
< 2.33.8
|
2.33.8
|
|
github.com/coder/coder/v2
|
Go |
≥ 2.30.0
< 2.32.7
|
2.32.7
|
|
github.com/coder/coder/v2
|
Go |
< 2.29.17
|
2.29.17
|
References
Frequently Asked Questions
What is GHSA-8fxq-53rx-ph5f?
Which Coder versions are affected?
What version fixes GHSA-8fxq-53rx-ph5f?
Is github.com/coder/coder/v2 affected?
What is the CVSS score of GHSA-8fxq-53rx-ph5f?
What CWE is associated with GHSA-8fxq-53rx-ph5f?
How can I check Go dependencies for GHSA-8fxq-53rx-ph5f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8fxq-53rx-ph5f",
"modified" : "2026-08-20T18:34:21Z",
"published" : "2026-08-20T18:34:21Z",
"aliases" : [ ],
"summary" : "Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison",
"details" : "### 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!",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.34.0"
}, {
"fixed" : "2.34.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.33.0"
}, {
"fixed" : "2.33.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.30.0"
}, {
"fixed" : "2.32.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.29.17"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/coder/coder/security/advisories/GHSA-8fxq-53rx-ph5f"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/pull/26205"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/commit/35a7dc8ab9c7f15ce05d963947823ee31224512f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/coder/coder"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.29.17"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.32.7"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.33.8"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.34.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203", "CWE-204" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-20T18:34:21Z",
"nvd_published_at" : null
}
}