CVE-2026-63443

Coder: Workspace agent API insecure redirect handling allowed cross-agent file read and write

Published Sep 15, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Coder's workspace agent API had insecure redirect handling that allowed an authenticated user controlling a agent by transport accepted the host from the redirected request URL when the port matched the workspace agent HTTP API. This flaw permitted read and write operations on the victim workspace user's file system and, in affected versions exposing the workspace agent process API, enabled execution of commands after a redirected file write. The vulnerability effectively bypasses workspace and tenant boundaries, granting elevated privileges.

Affected Systems

The issue affects the Coder platform provided by coder:coder. All released versions prior to 2.29.19, 2.32.9, 2.33.10, and 2.34.4 are impacted. Users running these versions should be aware that the flaw exists until they upgrade to a patched release.

Risk and Exploitability

The CVSS v3.1 score of 8.3 indicates a high severity flaw. The EPSS score is < 1%, and the vulnerability is not listed in CISA's KEV catalog, suggesting it has not yet been widely exploited. Attackers require an authenticated session with a modified agent and knowledge of a victim agent's UUID; environments However, once an agent is compromised, any workspace user's files and processes can be accessed or altered, posing a significant risk to data integrity and confidentiality.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coder to at least version 2.29.19 (or 2.32.9/2.33.10/2.34.4) to apply the fix.
  • If upgrade cannot be performed immediately, disable automatic redirect following in the workspace agent client or restrict agentConn.apiClient to same-origin requests.
  • Ensure that only trusted agents are allowed to communicate with the control plane by configuring network controls or firewall rules to restrict inbound connections to known agent UUIDs.

Generated by OpenCVE AI on September 20, 2026 at 15:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Coder: Workspace agent API insecure redirect handling allowed cross-agent file read and write
Weaknesses CWE-863
CWE-918
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

Weaknesses
  • CWE-863

    Incorrect Authorization

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 15, 2026, 5:31 PM
Reserved
Jul 16, 2026, 7:35 PM
Status
Awaiting Analysis
Published
Sep 15, 2026, 5:17 PM
Modified
Sep 30, 2026, 5:51 PM