Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-9rjw-3gwp-f59v: Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID

0
High
Published: 07/06/2026 (07/06/2026, 20:55:37 UTC)
Source: GCVE Database
Product: github.com/coder/coder/v2

Description

A vulnerability in Coder's workspace app upsert functionality allows users with elevated privileges (template authors or external provisioner operators) to rebind an app's agent across different workspaces by submitting a crafted payload with a victim app's UUID and an attacker-controlled agent ID. This causes the victim app's traffic to be proxied to the attacker's workspace. The issue arises because the system does not verify that the app ID belongs to the workspace being built during the upsert operation. The vulnerability is patched in versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17. No workarounds exist, so upgrading is required.

CVSS v3.1

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

Affected software

Goghsa
github.com/coder/coder/v2
Affected versions
>=2.34.0 <2.34.2
Goghsa
github.com/coder/coder/v2
Affected versions
>=2.33.0 <2.33.8
Goghsa
github.com/coder/coder/v2
Affected versions
>=2.30.0 <2.32.7
Goghsa
github.com/coder/coder/v2
Affected versions
<2.29.17

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 23:13:00 UTC

Technical Analysis

The vulnerability exists in the UpsertWorkspaceApp function, which overwrites an existing app's agent_id on primary-key conflict without verifying workspace ownership. The insertAgentApp function accepts an app ID from the CompleteJob payload without confirming it belongs to the workspace being built. Since CompleteJob runs with elevated authorization (dbauthz.AsProvisionerd), cross-workspace upsert is not blocked. An attacker with template author or external provisioner privileges can submit a CompleteJob payload containing a victim app UUID and attacker-controlled agent ID, causing the victim app's agent to be rebound to the attacker. This allows interception of app traffic such as IDE and terminal sessions. The fix enforces verification that the workspace_apps row matches the workspace being built, rejecting cross-workspace agent reassignment. The fix is backported to all supported release lines including 2.34.2, 2.33.8, 2.32.7, and 2.29.17.

Potential Impact

An attacker with elevated privileges (template author or external provisioner operator) can rebind a victim app's agent to their own agent by exploiting the upsert process, enabling interception and proxying of the victim's app traffic, including IDE and terminal sessions. This compromises confidentiality and integrity of the victim's workspace app communications. The vulnerability requires elevated privileges and knowledge of victim app UUIDs, which are discoverable via the public API.

Mitigation Recommendations

A fix is available and has been backported to all supported release lines: versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17. Upgrading to these versions or later is required to mitigate this vulnerability. No workarounds exist. Users should apply the official patches promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-9rjw-3gwp-f59v
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55429"]
Ecosystems
["Go"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a4c340327e9c797195f5f57

Added to database: 07/06/2026, 23:02:27 UTC

Last enriched: 07/06/2026, 23:13:00 UTC

Last updated: 07/06/2026, 23:13:00 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses