Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRun code as sub-agent in workspace
-
DeliveryRegister disguised external app with custom protocol
-
ExploitEmbed $SESSION_TOKEN and attacker destination
-
InstallOwner clicks app in dashboard
-
C2Dashboard mints full-access API key into URL
-
ExecuteKey exfiltrated to attacker host
-
ImpactImpersonate owner for key lifetime
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Outbound data filtering
|
| Exploitation Conditions | Exploitation requires (1) attacker-controlled code running as a sub-agent inside the victim's workspace - for example a devcontainer or an AI agent that can register external workspace apps at runtime; (2) that sub-agent registering an external app whose URL uses an allowed custom protocol (e.g. 'vscode:') carrying the $SESSION_TOKEN placeholder plus an attacker-chosen destination; and (3) the workspace owner clicking that disguised app in the web dashboard. Limiting factors: the attacker must already have code execution within the workspace (PR:L foothold), the owner must actively click the malicious entry (UI:P), and the flaw is specific to sub-agent external apps in the web dashboard - the 'coder open app' CLI already refused this substitution (GHSA-v54h-cp2w-9x4g). Only versions in the listed ranges are affected; the vendor workaround is to not click external apps listed under devcontainers or other sub-agents unless the workspace code is trusted, with upgrading as the complete fix. |
| Impact | This is a credential-disclosure flaw (CWE-201) in Coder's self-hosted developer-workspace platform, assessed at CVSS 4.0 8.7 (High) with vector AV:N/AC:H/AT:P/PR:L/UI:P. The signals are internally consistent and point to a real but conditional threat rather than a mass-exploitable emergency: AV:N reflects the dashboard being reachable over the network, but AC:H and AT:P capture that the attacker must already be running code as a sub-agent inside the victim's workspace and must craft a disguised external app, and UI:P requires the workspace owner to click it. PR:L confirms the attacker needs a foothold in the workspace (a devcontainer or AI agent), so this is authenticated/footholded, not anonymous remote. No EPSS score, no CISA KEV listing, and no verified exploit code were provided - only vendor and VulnCheck advisory references exist - so there is no evidence of active exploitation; absence of EPSS/KEV is a data gap, not proof of safety. The vuln.today Decision label is 'this_week' (not act_now/emergency), aligning with a serious issue warranting prompt but not panic-level patching. The impact is severe once conditions are met - leak of a full-access API key letting the attacker impersonate the owner - but the prerequisites (code execution in the workspace plus a user click) meaningfully narrow real-world exploitability to environments that run untrusted devcontainer/agent code. Net: a genuine priority for affected deployments, driven by high impact rather than by ease or evidence of widespread exploitation. |
| Exploit ScenarioDerived | An attacker who can run code inside a victim's Coder workspace (e.g. a malicious devcontainer or AI agent) registers a disguised sub-agent external app with an allowed custom protocol such as 'vscode:', embedding the $SESSION_TOKEN placeholder alongside an attacker-controlled destination. When the workspace owner clicks that app in the web dashboard, Coder mints a full-access API key, substitutes it into the URL, and opens the crafted link, delivering the owner's key to the attacker's host; the attacker then acts as that user for the key's lifetime. No verified public exploit code was identified, and exploitation depends on both the in-workspace foothold and the owner's click (AC:H/AT:P/UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Credential disclosure in Coder's web dashboard (CVSS 4.0 base 8.7, High) lets an authenticated low-privileged attacker who can run code as a sub-agent inside a workspace trick the workspace owner into sending a full-access API key to an attacker-chosen destination. The dashboard replaces the $SESSION_TOKEN placeholder in external app URLs with a newly minted API key without confirming the app is not a sub-agent app or that the link opens a known Coder IDE handler for this deployment, so a disguised app using an allowed custom protocol such as vscode: can carry the key off-site when clicked. Affected releases span 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.0, 2.36.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2; vendor patches exist for all except the 2.35 line, and no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patches exist at 2.38.2, 2.37.6, 2.36.9, 2.34.14, and 2.29.23; upgrade to the fixed release for your branch. For deployments on 2.35.0 before 2.36.0, the vendor states the 2.35 line will not be patched, so upgrade to a supported release. The vendor's listed workaround is to avoid clicking external apps listed under devcontainer or other sub-agents in the dashboard unless the code running in the workspace is trusted; the advisory describes updating as the complete fix. The fix was made in PR #31208, with details at https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Coder is a self-hosted developer-workspace platform whose web dashboard renders external workspace-app links and substitutes the $SESSION_TOKEN placeholder with a newly minted full-access API key. CWE-201 (Insertion of Sensitive Information Into Sent Data) applies because the minted key is inserted into a URL that is then opened at an attacker-chosen destination. Sub-agent apps are registered at runtime by code running in the workspace, so their URLs are not trusted; the dashboard did not apply the same guard as the 'coder open app' CLI, which already refused the substitution for sub-agent apps (GHSA-v54h-cp2w-9x4g). The trigger is a workspace owner clicking the malicious app in the dashboard, and the CVSS vector PR:L indicates the attacker needs a low-privileged authenticated foothold in the workspace. The fix in PR #31208 stops token substitution for sub-agent external apps and, for other external apps, only substitutes when the link opens a known Coder IDE handler and points to this deployment, disabling other links without minting a key. CPE data identifies the affected product family as 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
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Requires an in-workspace sub-agent foothold (PR:L) and victim click (UI:R) under crafted conditions (AC:H); leaked full-access key crosses authority (S:C) enabling impersonation (C:H/I:H), no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSION_TOKEN placeholder in external app URLs with a full-access API key without checking whether the app belongs to a sub-agent. Code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so the owner's click sends their API key to an attacker-chosen destination.
Technical POC Analysis
Evidence basis: this breakdown is written from GHSA-2x8w-q434-f76p and the summarized release data.
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 web dashboard contains a high-severity credential disclosure flaw (CVE-2026-126308) that allows a low-privileged attacker to trick workspace owners into leaking full-access API keys, potentially compromising entire workspaces. This affects all organizations using affected Coder versions, regardless of industry, and could lead to unauthorized access to sensitive development environments and data. Leadership should prioritize patching to prevent insider-assisted breaches and protect intellectual property.
Apply vendor patch.
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
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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 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
Authenticated Coder users who control a modified workspace agent can redirect the control plane's workspace-agent API re
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-125212
GHSA-h95g-897g-9949
NVD
CVE.org
EPSS
Exploit-DB