CVE-2026-55429
Published:July 08, 2026
Updated:July 21, 2026
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, "UpsertWorkspaceApp" overwrites an existing app's "agent_id" on a primary-key conflict and "insertAgentApp" accepts the app ID from the provisioner's "CompleteJob" payload without verifying it belongs to the workspace being built. "CompleteJob" runs under "dbauthz.AsProvisionerd" so the authorization layer does not block the cross-workspace upsert. Exploitation requires elevated access as a template author or external provisioner operator. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 verifies that any existing "workspace_apps" row matching the supplied ID belongs to the workspace being built and rejects cross-workspace agent reassignment. No known workarounds are available.
Affected Packages
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.33.0 <v2.33.8Fix Suggestion:
Update to version v2.33.8github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.30.0 <v2.32.7Fix Suggestion:
Update to version v2.32.7github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.0.3-0.20230821192631-2a04d15c6d48 <v2.29.17Fix Suggestion:
Update to version v2.29.17github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.34.0 <v2.34.2Fix Suggestion:
Update to version v2.34.2Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Authorization Bypass Through User-Controlled Key
EPSS
Base Score:
0.51