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 devcontainer recreate endpoint relied on route middleware that checked only `ActionRead` on the workspace and, unlike the sibling delete endpoint, performed no `ActionUpdate` check before triggering the destructive rebuild. Exploitation requires an existing low-privilege role with access to the target workspace. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 adds an explicit `ActionUpdate` authorization check before the agent is dialed like the delete endpoint. No known workarounds are available.
Published: 2026-07-08
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The devcontainer recreate endpoint in Coder was configured to perform a destructive rebuild of a workspace container without first verifying that the caller had write or update privileges. A user with only read access could therefore trigger a full container recreation, effectively wiping the workspace and losing all local data. This missing write‑authorization flaw is identified as CWE‑862 and directly enables an unauthorized actor to cause irreversible data loss.

Affected Systems

The vulnerability impacts Coder deployments using any release version prior to 2.29.7, 2.32.7, 2.33.8, or 2.34.2, and those installations are at risk if any low‑privilege role has access to a target workspace.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate overall impact. The EPSS score is below 1%, reflecting a low estimated probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a pre‑existing low‑privilege role that already has access to the target workspace; no workarounds are available. Until patching and RBAC tightening are performed, an attacker could repeatedly trigger destructive rebuilds on any workspace they can read, causing irreversible data loss for that workspace.

Generated by OpenCVE AI on July 28, 2026 at 09:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coder to version 2.29.7, 2.32.7, 2.33.8, or 2.34.2 or any later release that incorporates the missing authorization check.
  • Restrict devcontainer recreate actions so that only roles with ActionUpdate permissions can invoke the endpoint; review and tighten RBAC configurations accordingly.
  • Audit workspace rebuild logs for unauthorized activity and consider disabling the endpoint for low‑privilege roles until a comprehensive security review is completed.

Generated by OpenCVE AI on July 28, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jqj2-x4c5-jfxm Coder: Devcontainer recreate endpoint missing write authorization allows read-only roles to destroy containers
History

Wed, 08 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

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

Wed, 08 Jul 2026 01: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 devcontainer recreate endpoint relied on route middleware that checked only `ActionRead` on the workspace and, unlike the sibling delete endpoint, performed no `ActionUpdate` check before triggering the destructive rebuild. Exploitation requires an existing low-privilege role with access to the target workspace. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 adds an explicit `ActionUpdate` authorization check before the agent is dialed like the delete endpoint. No known workarounds are available.
Title Coder: Devcontainer recreate endpoint missing write authorization allows read-only roles to destroy containers
Weaknesses CWE-862
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T13:01:44.431Z

Reserved: 2026-06-16T21:59:57.017Z

Link: CVE-2026-55433

cve-icon Vulnrichment

Updated: 2026-07-08T13:01:40.453Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-28T09:30:19Z

Weaknesses