{"id":"CVE-2026-55077","published":"2026-07-07T22:44:28Z","modified":"2026-07-09T14:41:52Z","title":"Coder: User-admin role can reset owner account password","vendor":"coder","product":"coder","tier":"tail","description":{"text":"Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, the `PUT /api/v2/users/{user}/password` endpoint authorized only `ActionUpdatePersonal` and did not prevent a `user-admin` from resetting an `owner` account's password. It also did not require the current password when an admin reset another user's password. Exploitation requires the privileged `user-admin` role so practical risk is limited to deployments that grant `user-admin` to less trusted operators. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 prevents non-owner users from resetting the password of an account that holds the `owner` role. As a workaround, restrict the `user-admin` role to trusted administrators.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00615,"percentile":0.50385,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-29xf-69gq-m9jx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coder/coder/pull/25709","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":10.08},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"coder","affectedVersions":[{"vendor":"coder","product":"coder","versions":[">= 2.34.0, < 2.34.2",">= 2.33.0, < 2.33.8",">= 2.30.0, < 2.32.7","< 2.29.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-09T14:31:17.655406Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/coder/coder/v2","vulnerableRanges":[">=2.34.0, <2.34.2",">=2.33.0, <2.33.8",">=2.30.0, <2.32.7","<2.29.17"],"patched":["2.34.2","2.33.8","2.32.7","2.29.17"],"from":["GHSA-29xf-69gq-m9jx","GO-2026-5906"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/coder/coder","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5906"],"provenance":"source"}],"summary":{"text":"Coder (product coder) has a flaw in its password-reset endpoint, PUT /api/v2/users/{user}/password, which authorized only the self-service action and let users holding the user-admin role reset the password of an owner account. An attacker who already holds the user-admin role over the network can take over an owner account without knowing its current password, since the endpoint also skips the current-password check on admin resets; no user interaction is needed, and the risk is confined to deployments that grant user-admin to less trusted operators.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:48Z"},"euvd":{"id":"EUVD-2026-42130","exploited":false,"provenance":"source"}}