Loading...
Skip to main content

CVE-2026-55429 — Vulnerability in github.com/coder/coder/v2 — CVE...

HIGH

Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID

Published July 6, 2026Updated July 7, 2026Source: osv

Summary

### Summary `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. > **Note:** Exploitation requires elevated access as a template author or external provisioner operator. ### Impact A user with template authorship or external provisioner access can submit a `CompleteJob` payload with a known victim app UUID and an attacker-controlled agent ID. On completion of the attacker's build the victim's app row is rebound to the attacker's agent so later app traffic such as IDE and terminal sessions is proxied to the attacker's workspace. App UUIDs are discoverable through the public API. ### Patches The fix verifies that any existing `workspace_apps` row matching the supplied ID belongs to the workspace being built and rejects cross-workspace agent reassignment. The fix was backported to all supported release lines: | Release line | Patched version | |---|---| | 2.34 | [v2.34.2](https://github.com/coder/coder/releases/tag/v2.34.2) | | 2.33 | [v2.33.8](https://github.com/coder/coder/releases/tag/v2.33.8) | | 2.32 | [v2.32.7](https://github.com/coder/coder/releases/tag/v2.32.7) | | 2.29 (ESR) | [v2.29.17](https://github.com/coder/coder/releases/tag/v2.29.17) | ### Workarounds None. Upgrading is required. ### Resources - Fix: #26103 ### Credits Coder would like to thank Anthropic's Security Team (ANT-2026-22441) for independently disclosing this issue!

Advisory Timeline

  • First published July 6, 2026 (98 days ago).
  • Last revised July 7, 2026 — 1 day after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/coder/coder/v2 to 2.29.17 or later
go get github.com/coder/coder/v2@v2.29.17
Go
Update github.com/coder/coder/v2 to 2.34.2 or later
go get github.com/coder/coder/v2@v2.34.2
Go
Update github.com/coder/coder/v2 to 2.32.7 or later
go get github.com/coder/coder/v2@v2.32.7
Go
Update github.com/coder/coder/v2 to 2.33.8 or later
go get github.com/coder/coder/v2@v2.33.8

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/coder/coder/v2
go
All versions2.29.17
github.com/coder/coder/v2
go
All versions2.34.2
github.com/coder/coder/v2
go
All versions2.32.7
github.com/coder/coder/v2
go
All versions2.33.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-639
    Insecure Direct Object Reference (IDOR)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-55429?
Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2026-55429?
CVE-2026-55429 affects github.com/coder/coder/v2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-55429 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-9rjw-3gwp-f59v
GO-2026-5909

Related CVEs

  • CVE-2026-46354
    CRITICAL

    Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

  • CVE-2026-44454
    HIGH

    Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent

  • CVE-2026-55427
    HIGH

    Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`

  • CVE-2026-63443
    HIGH

    Coder's workspace agent API insecure redirect handling allowed cross-agent file read and write

  • CVE-2026-55431
    HIGH

    Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps

  • CVE-2026-55428
    HIGH

    Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies