Description
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.
Severity (CVSS)
| Base score | 7.8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-15 — CWE-15: External Control of System or Configuration Setting
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command
Affected products
| Vendor | Product | Versions |
|---|---|---|
| coder | vscode-coder | >= 0.1.20, < 1.14.6 [affected] |
References
- https://github.com/coder/vscode-coder/security/advisories/GHSA-9q2g-22gh-hmgg (x_refsource_CONFIRM)
- https://github.com/coder/vscode-coder/pull/965 (x_refsource_MISC)
- https://github.com/coder/vscode-coder/commit/9ee5140aec532b347b72834767ea4f99c01666a0 (x_refsource_MISC)
- https://github.com/coder/vscode-coder/releases/tag/v1.14.6 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 17 Nov 2026 08:04 UTC.