Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim opens malicious repo in VS Code
-
DeliveryWorkspace .vscode/settings.json overrides coder.headerCommand
-
ExploitCoder extension activates and reads setting
-
ExecutionExtension executes value as shell command
-
ImpactArbitrary command runs as victim user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Configuration hardening
|
| Exploitation Conditions | Exploitation requires that the victim have the Coder VS Code extension (coder.coder-remote) installed at a version >= 0.1.20 and < 1.14.6, and that the victim open an attacker-supplied workspace or repository containing a .vscode/settings.json that sets one of the security-sensitive coder.* settings - specifically coder.headerCommand or coder.tlsCertRefreshCommand for direct command execution, or coder.binarySource/coder.binaryDestination, coder.globalFlags/coder.sshFlags, coder.tls* / coder.insecure, coder.defaultUrl/coder.autologin/coder.useKeyring to redirect the CLI binary, inject flags, tamper with TLS, or alter credential storage. The issue applies even to VS Code's Restricted (untrusted workspace) mode because the extension declared untrusted-workspace support without blocking these workspace-scoped values. Limiting factors: this is a local vector needing deliberate user interaction (the victim must actually open the malicious repository), so it is not remotely or automatically triggerable; it affects only installed-and-vulnerable versions; and inspecting a repo's .vscode/settings.json for coder.* keys before opening, or disabling/uninstalling the extension, prevents it. |
| Impact | This is a genuine but conditional priority, not a mass-exploitation threat. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 7.8 High) correctly captures that exploitation is local and requires victim interaction: the attack vector is Local because the trigger is a workspace file on the victim's machine, and UI:R reflects that the victim must open the malicious repository/workspace. PR:N means the attacker needs no pre-existing privileges on the victim system - they only need to get their repository opened - so despite the local vector this is reachable via social engineering (cloning/opening an untrusted repo, a routine developer action). The C:H/I:H/A:H impact is justified because the affected settings (coder.headerCommand, coder.tlsCertRefreshCommand) are executed as shell commands with the victim user's privileges, yielding effective arbitrary command execution. The vuln.today decision label is 'this_week' (elevated but not emergency), which aligns with the absence of KEV and the interaction requirement. No EPSS score, KEV entry, or POC/exploit reference is present in the input; the four references are the vendor advisory, the fix PR, the fix commit, and the release - all remediation artifacts, not exploit code - so there is no evidence of active exploitation or weaponization. The main tension to note: the 'Information Disclosure' tag understates the issue, which is command execution with full CIA impact. No key CVSS data is missing or internally conflicting. |
| Exploit ScenarioDerived | An attacker publishes a repository containing a crafted .vscode/settings.json that sets coder.headerCommand (or coder.tlsCertRefreshCommand) to an attacker-chosen shell command. A developer with the Coder extension installed clones and opens that repository in VS Code; when the extension activates and reads the workspace-scoped setting, the command runs with the victim user's privileges. No public exploit identified at time of analysis, though the mechanism is fully described in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Arbitrary shell command execution and security-setting tampering in the Coder VS Code extension (coder.coder-remote) versions 0.1.20 through 1.14.5 allow a malicious repository to hijack a victim's machine by way of a workspace-level .vscode/settings.json. Because the extension lets workspace and folder scope override security-sensitive coder.* settings, values such as coder.headerCommand and coder.tlsCertRefreshCommand are later run as shell commands with the victim user's privileges, while other affected keys can swap the CLI binary or its download source, inject CLI/SSH flags, replace or disable TLS verification, and alter identity and credential-storage behavior. The local attack vector requires user interaction - the victim must open the attacker-supplied workspace or repository with a vulnerable extension installed - and it also applies in VS Code's Restricted (untrusted workspace) mode because the extension declared untrusted-workspace support without blocking these workspace-scoped values; no public exploit identified at time of analysis, and a vendor fix (1.14.6) is published, making this appropriate to schedule for this week rather than treat as a mass-exploitation event.
RemediationAI
Vendor-released patch: upgrade the Coder VS Code extension (coder.coder-remote) to version 1.14.6 or later, which marks the security-sensitive settings as machine- or application-scoped so VS Code discards workspace and folder values for them; the change landed in PR #965 and shipped in the v1.14.6 release (advisory: https://github.com/coder/vscode-coder/security/advisories/GHSA-9q2g-22gh-hmgg). Track extension rollout centrally, since a single un-updated developer workstation remains exposed. If upgrading immediately is not possible, the vendor's stated workarounds are to avoid opening untrusted repositories or workspaces while the extension is enabled, to inspect any workspace .vscode/settings.json for coder.* entries before opening the folder (trade-off: manual review is error-prone and does not scale), or to disable or uninstall the extension, which fully prevents exploitation at the cost of losing the one-click workspace connection feature. Note that VS Code's Restricted Mode does not mitigate this issue on vulnerable versions.
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
The flaw is an instance of CWE-15 (external control of system or configuration setting): the extension's contributed configuration schema in package.json did not pin security-relevant settings to a scope that VS Code protects from repository-controlled overrides, so VS Code happily resolved values from workspace and folder scope for keys the extension then treated as trusted operator configuration. Those keys fall into distinct impact groups - direct command execution (coder.headerCommand, coder.tlsCertRefreshCommand), binary/source substitution (coder.binarySource, coder.binaryDestination, coder.disableSignatureVerification, coder.enableDownloads), argument injection (coder.globalFlags, coder.sshFlags), transport tampering (coder.tlsCertFile, coder.tlsKeyFile, coder.tlsCaFile, coder.tlsAltHost, coder.insecure) and identity/credential handling (coder.defaultUrl, coder.autologin, coder.useKeyring, coder.proxyBypass, coder.proxyLogDirectory). The upstream fix in PR #965 (commit 9ee5140aec532b347b72834767ea4f99c01666a0) adds VS Code's recommended scope semantics to the manifest: path-, command- and network-dependent settings become "scope": "machine" (per-machine, excluded from Settings Sync), while user-wide preferences such as coder.defaultUrl, coder.autologin, coder.useKeyring, coder.insecure, coder.disableSignatureVerification and coder.enableDownloads become "scope": "application", which preserves settings sync across a user's machines while still causing VS Code to ignore workspace and folder values before they ever reach the extension. The trigger is purely the extension activating in a workspace whose settings carry attacker-supplied coder.* keys; no memory-safety or race condition is involved.
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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:L because the trigger is a local workspace file, UI:R because the victim must open the malicious repo, PR:N because the attacker needs no victim-side privileges, and C/I/A:H from arbitrary command execution as the user.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
The Coder VS Code extension opens Coder workspaces in VS Code with a single click. From 0.1.20 until 1.14.6, a malicious repository can provide .vscode/settings.json values for security-sensitive Coder settings because the extension permits workspace and folder scope to override those settings. Values such as coder.headerCommand and coder.tlsCertRefreshCommand are later executed as shell commands, while other affected settings can redirect the Coder CLI binary or download source, inject CLI or SSH flags, replace TLS material, disable TLS verification, or change identity and credential-storage behavior. A victim with the extension installed must open the malicious workspace or repository; when the extension activates, attacker-controlled commands can run with the victim user's privileges. The issue also affects untrusted workspaces because the extension declares untrusted-workspace support without preventing consumption of the workspace-controlled settings. This issue is fixed in version 1.14.6.
Technical POC Analysis
Evidence caveat: the supplied evidence is the GitHub advisory GHSA-9q2g-22gh-hmgg only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Coder VS Code extension (versions 0.1.20 through 1.14.5) contains a high-severity flaw that lets a malicious repository execute arbitrary shell commands on a developer's machine when the workspace is opened. This puts any engineer using the extension at risk of full workstation compromise, including credential theft and lateral movement into internal systems, even in Restricted Mode. Leadership should prioritize remediation because developer endpoints are high-value targets and the attack requires only routine user interaction.
Uninstall or disable the coder.coder-remote extension until a fixed version is released; block workspace-level overrides of coder.* settings via policy; restrict opening of untrusted repositories; monitor endpoint telemetry for suspicious shell activity spawned by VS Code.
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 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
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
EUVD-2026-126673
NVD
CVE.org
EPSS
GitHub
Exploit-DB