Description
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.
Published: 2026-07-07
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Coder allows a user with the privileged user-admin role to call the password reset endpoint and change the password of an account that holds the owner role without providing the current password. This bypasses normal authorization checks, granting the attacker control over the owner account. While the flaw does not directly lead to code execution, it does enable an attacker to gain full administrative access to the system by compromising the owner account, potentially leading to data theft, configuration changes, and further exploitation. This is an example of an authorization bypass (CWE-285).

Affected Systems

The flaw exists in versions of Coder earlier than 2.29.7, 2.32.7, 2.33.8, and 2.34.2. The product is Coder, a platform that provisions remote development environments.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity. The EPSS score is less than 1%, indicating a very low but non‑zero exploitation probability, and the flaw is not listed in the CISA KEV catalog. The attack requires the user-admin role, so the practical risk depends on how that role is allocated. In environments where user‑admin privileges are granted to trusted administrators only, the threat is mitigated; otherwise an attacker who has or can obtain user‑admin access can reset an owner password and take over the account. No special environment or configuration restrictions beyond role assignment are necessary to exploit.

Generated by OpenCVE AI on July 26, 2026 at 18:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the patched release (v2.29.7, v2.32.7, v2.33.8, or v2.34.2) that enforces owner role checks on password reset.
  • Restrict the user-admin role to trusted administrators and revoke it from any deployment operators that are not fully trusted.
  • Audit current user role assignments to confirm there are no unintended user-admin accounts that could exploit the bug.

Generated by OpenCVE AI on July 26, 2026 at 18:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-29xf-69gq-m9jx Coder: User-admin role can reset owner account password
History

Thu, 09 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder

Tue, 07 Jul 2026 23:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Coder: User-admin role can reset owner account password
Weaknesses CWE-285
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T14:41:52.486Z

Reserved: 2026-06-16T14:33:35.711Z

Link: CVE-2026-55077

cve-icon Vulnrichment

Updated: 2026-07-09T14:31:18.288Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:00:02Z

Weaknesses