CVE-2026-55433

Coder: Devcontainer recreate endpoint missing write authorization allows read-only roles to destroy containers

Published Jul 8, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 16:55 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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 1:01 PM
Reserved
Jun 16, 2026, 9:59 PM
Status
Analyzed
Published
Jul 8, 2026, 1:16 AM
Modified
Jul 8, 2026, 7:39 PM