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.
Overview
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.
- Published
- 7/8/2026
- Last modified
- 7/8/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
coder coder | < 2.29.17 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
coder coder | ≥ 2.30.0, < 2.32.7 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
coder coder | ≥ 2.33.0, < 2.33.8 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
coder coder | ≥ 2.34.0, < 2.34.2 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
coder coder | >= 2.34.0, < 2.34.2 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
coder coder | >= 2.33.0, < 2.33.8 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
coder coder | >= 2.30.0, < 2.32.7 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
coder coder | < 2.29.17 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.