Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7 and 2.30.2, the `dotfiles` registry module passed unsanitized user input to shell commands, allowing arbitrary code execution inside a provisioned workspace. Any user who supplied a crafted `dotfiles_uri` value (for example, one containing shell command substitution such as `$(...)`) could achieve command execution in their own workspace. The Create Workspace page's `mode=auto` deep links amplified this into a one-click attack: an attacker could craft a URL that prefilled `param.dotfiles_uri` and silently provisioned a workspace with the attacker-controlled value, with no explicit user confirmation. In versions 2.29.7 and 2.30.2, input validation was added to the dotfiles module to reject URIs and usernames containing special characters, and the unsafe `eval`/`sh -c` usage was removed. This eliminated the command injection at its source.
References
| Link | Resource |
|---|---|
| https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb | Patch |
| https://github.com/coder/coder/pull/22011 | Issue Tracking Patch |
| https://github.com/coder/coder/releases/tag/v2.29.7 | Release Notes |
| https://github.com/coder/coder/releases/tag/v2.30.2 | Release Notes |
| https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27 | Patch Vendor Advisory |
| https://github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82 | Patch |
| https://github.com/coder/registry/pull/703 | Issue Tracking Patch |
Configurations
Configuration 1 (hide)
|
History
08 Jul 2026, 19:47
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Coder coder
Coder |
|
| References | () https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb - Patch | |
| References | () https://github.com/coder/coder/pull/22011 - Issue Tracking, Patch | |
| References | () https://github.com/coder/coder/releases/tag/v2.29.7 - Release Notes | |
| References | () https://github.com/coder/coder/releases/tag/v2.30.2 - Release Notes | |
| References | () https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27 - Patch, Vendor Advisory | |
| References | () https://github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82 - Patch | |
| References | () https://github.com/coder/registry/pull/703 - Issue Tracking, Patch | |
| CPE | cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
07 Jul 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (en) Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7 and 2.30.2, the `dotfiles` registry module passed unsanitized user input to shell commands, allowing arbitrary code execution inside a provisioned workspace. Any user who supplied a crafted `dotfiles_uri` value (for example, one containing shell command substitution such as `$(...)`) could achieve command execution in their own workspace. The Create Workspace page's `mode=auto` deep links amplified this into a one-click attack: an attacker could craft a URL that prefilled `param.dotfiles_uri` and silently provisioned a workspace with the attacker-controlled value, with no explicit user confirmation. In versions 2.29.7 and 2.30.2, input validation was added to the dotfiles module to reject URIs and usernames containing special characters, and the unsafe `eval`/`sh -c` usage was removed. This eliminated the command injection at its source. |
07 Jul 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-07 21:17
Updated : 2026-07-08 19:47
NVD link : CVE-2026-44454
Mitre link : CVE-2026-44454
CVE.ORG link : CVE-2026-44454
JSON object : View
Products Affected
coder
- coder
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
