Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as Coder user with a running workspace
-
DeliveryDeploy modified workspace agent returning a redirect
-
ExploitDerive victim tailnet IP from known agent UUID
-
InstallControl-plane follows 307/308 redirect to victim agent
-
C2Redirected file API writes payload as victim user
-
ExecuteRedirected process-start API executes payload
-
ImpactCommand execution crossing tenant boundary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Coder user who (1) has a running workspace and controls a modified workspace agent capable of returning HTTP redirects, and (2) knows another online agent's UUID, from which the victim's deterministic tailnet IP is derived. The redirect must target the workspace agent HTTP API port (port 4). HTTP 307/308 redirects are needed to replay write and process-start requests (enabling file write and command execution); 301/302/303 only enable redirected reads. Command execution additionally requires an affected version that exposes the workspace agent process API. Limiting factors: the attacker must already be an authenticated tenant user with agent control (PR:L), must know a valid victim agent UUID, and the victim agent must be online and reachable on the tailnet. No workaround exists - upgrading to 2.29.19/2.32.9/2.33.10/2.34.4 is required. |
| Impact | Signals point to a serious but not urgent issue. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:L, base 8.3) is corroborated by SSVC Technical Impact of 'total' - cross-tenant file read/write and chained command execution are genuinely severe. However, the exploitation-likelihood signals are all low: SSVC Exploitation is 'none' and Automatable is 'no', EPSS is only 0.42% (36th percentile), there is no CISA KEV listing, and no public exploit code is identified. This is therefore a high-impact-but-currently-low-exploitation issue rather than an actively-exploited emergency: patch on a normal-priority cycle. Two caveats on the raw score: (1) the vulnerability is CWE-863 authorization, not authentication, yet it is tagged 'Authentication Bypass' - the metadata mislabels the class. (2) The vendor rates S:U, but the described primitive explicitly 'crosses workspace and tenant boundaries,' which is a defensible scope change (S:C) that would raise the score; treat 8.3 as a conservative floor. PR:L is well-justified - the attacker must be an authenticated Coder user running a workspace with a modified agent. |
| Exploit ScenarioDerived | An authenticated Coder user provisions a workspace and replaces its agent with a modified one that returns an HTTP 307/308 redirect pointing at a victim agent's deterministic tailnet IP (derived from a known victim agent UUID). When the control-plane makes a workspace-agent API call, the client follows the redirect and replays the write/process-start request against the victim agent, writing a payload as the victim workspace user and then executing it. No public proof-of-concept exists at time of analysis; exploitation requires attacker-side control of a workspace agent and knowledge of a target agent's UUID. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Authenticated Coder users who control a modified workspace agent can redirect the control plane's workspace-agent API requests to another online agent, reading or writing files as the victim workspace user and - on versions that expose the agent process API - executing commands as that user, crossing workspace and tenant boundaries. Exploitation requires knowing the victim agent's UUID, since agent tailnet IPs are deterministic from UUIDs, and requires redirects that preserve method and body (HTTP 307/308) to replay write and process-start requests; 301/302/303 only enable redirected reads. The issue is fixed in 2.29.19, 2.32.9, 2.33.10, and 2.34.4, with no vendor workaround, while EPSS is low (0.42%, ~36th percentile), SSVC exploitation is "none", and no public exploit code has been identified at time of analysis.
RemediationAI
Upgrade to a vendor-patched release on your release line: 2.34.4 (2.34.x), 2.33.10 (2.33.x), 2.32.9 (2.32.x), or 2.29.19 for the 2.29 ESR line - this is the only supported fix, and the vendor states explicitly that no workaround exists (see https://github.com/coder/coder/security/advisories/GHSA-qrwj-vh9x-gw5v and the release tags linked from the references). The patch stops workspace-agent API clients from following redirects and pins all dials to the intended agent's deterministic tailnet address, rejecting requests whose URL host does not match. If immediate upgrade is impossible, treat the following as risk-reducing rather than fixes, with their trade-offs: restrict who can create workspaces or push modified agent binaries (the attacker must be an authenticated tenant user with control of a modified workspace agent, so tightening template/agent-provisioning permissions removes the prerequisite but does not help against an already-malicious tenant user); keep agent UUIDs private where feasible, since the attack requires knowing the victim agent UUID to derive its tailnet IP, though UUIDs may leak through normal API usage; and monitor control-plane logs and agent traffic for dials to unexpected agent addresses or for agent HTTP responses carrying 3xx redirects on port 4 - this is detection only and adds logging/alerting overhead without preventing exploitation. Given EPSS of 0.42% (~36th percentile) and SSVC exploitation of "none", prioritize patching based on tenant isolation requirements, as the flaw crosses workspace and tenant boundaries and can chain to command execution on versions exposing the agent process API.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Coder provisions remote development environments and connects control-plane services to workspace agents over a Tailscale-based mesh ("tailnet"). The vulnerable code is agentConn.apiClient() in codersdk/workspacesdk/agentconn.go: it used Go's default http.Client redirect behavior while a custom http.Transport DialContext dialed whatever host appeared in the (redirected) request URL, as long as the port matched the workspace agent HTTP API port (4). Because an agent's tailnet IP is deterministically derived from its UUID, a malicious workspace agent controlled by an authenticated user could return a redirect to a victim agent's derived tailnet IP, causing the control-plane client to send the follow-up agent API call to the victim rather than the intended agent. Semantics matter: HTTP 301/302/303 convert POST to GET, so they are sufficient for redirected reads but not writes or command execution, whereas HTTP 307/308 preserve method and body and therefore allow replay of write-file and process-start requests. The root cause class is CWE-863 (Incorrect Authorization): the transport authorized the request destination based on a redirect-supplied host rather than binding the connection to the intended agent identity. The upstream fix (PR #26600 and follow-on PRs #26611/#26612/#26613/#26622, commits 2312b67, 812549d, ec3ba84, eeb2624, f8bdec5) disables automatic redirect following for workspace agent API clients (CheckRedirect returns http.ErrUseLastResponse), pins every dial to the intended agent's deterministic tailnet address (netip.AddrPortFrom(c.agentAddress(), AgentHTTPAPIServerPort)), and rejects any request whose URL host does not match the intended agent, logging a warning. A new AppHTTPClient() applies the same redirect-blocking to HTTP apps served by the agent. The affected Go module is github.com/coder/coder/v2, matching CPE cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*.
Know when Coder gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Authenticated tenant user (PR:L) triggers redirect over the network (AV:N/AC:L); primitive crosses workspace/tenant boundaries so S:C; file read/write and RCE give C:H/I:H, with limited disruption A:L.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Coder allows organizations to provision remote development environments via Terraform. Prior to 2.29.19, 2.32.9, 2.33.10, and 2.34.4, agentConn.apiClient() follows redirects while its custom transport accepts the host from the redirected request URL when the port is the workspace agent HTTP API port 4. An authenticated user who controls a modified workspace agent and knows another online agent's UUID can derive the victim's tailnet address and redirect control-plane requests to that agent. HTTP 301, 302, and 303 redirects can redirect read requests, while HTTP 307 and 308 preserve replayable write and process-start requests. The redirected workspace agent file APIs can read or write files as the victim workspace user, and affected versions exposing the workspace agent process API can execute commands after a redirected file write, crossing workspace and tenant boundaries. This issue is fixed in versions 2.29.19, 2.32.9, 2.33.10, and 2.34.4.
Technical POC Analysis
CWE-863 (Incorrect Authorization); the advisory also lists CWE-918 (SSRF).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Coder's workspace-agent control plane carries a HIGH-severity flaw (CVSS 8.3) that can let a user who controls a modified workspace agent act as another workspace user - reading or writing files and, on affected versions, running commands - across both workspace and tenant boundaries. Because it undermines the tenant isolation that multi-tenant Coder deployments depend on, any organization hosting multiple teams, business units, or customers on shared Coder infrastructure faces a confidentiality and data-integrity exposure. Vendor fixes are already released, so leadership should treat this primarily as a patching and version-governance obligation rather than an active-incident response.
Apply vendor patch (2.29.19, 2.32.9, 2.33.10, or 2.34.4). No vendor workaround is documented, so interim measures - restricting who can register or modify workspace agents, tightening control-plane and agent tailnet reachability, and monitoring for 307/308 redirects or unexpected cross-workspace file and process-start activity - are containment aids only and do not replace upgrading.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Coder allows organizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.1), t
Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28
code-server is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerabili
Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes.
Coder deployments configured with AWS IAM database authentication (CODER_PG_AUTH=awsiamrds) can leak a short-lived Postg
Credential disclosure in Coder's web dashboard (CVSS 4.0 base 8.7, High) lets an authenticated low-privileged attacker w
Credential theft in Coder (before 2.29.20, 2.33.0 through 2.33.11, 2.34.0 through 2.34.7, and 2.35.0 through 2.35.3) let
Improper authorization in Coder's external agent credentials endpoint lets authenticated users who hold only workspace r
Session-token leakage in Coder's `coder open app` CLI command lets a malicious template author steal the credentials of
Coder deployments that run workspace agents on Google Compute Engine with GCP instance-identity authentication accept re
Coder allows oragnizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.2), t
Arbitrary shell command execution and security-setting tampering in the Coder VS Code extension (coder.coder-remote) ver
EUVD-2026-78927
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB