CVE-2026-44454 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| coder(Go) | < 2.29.7; <= 0.27.3; >= 2.30.0, < 2.30.2; All versions | 2.29.7, 2.30.2 | Partially fixed |
| coder | < 2.29.7; = < 2.29.7; = >= 2.30.0, < 2.30.2; >= 2.30.0, < 2.30.2 | 2.29.7, 2.30.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| coder(Go) | < 2.29.7 | 2.29.7 |
| coder(Go) | >= 2.30.0, < 2.30.2 | 2.30.2 |
| coder(Go) | <= 0.27.3 | No fix listed |
| coder(Go) | All versions | No fix listed |
| coder | = < 2.29.7 | No fix listed |
| coder | = >= 2.30.0, < 2.30.2 | No fix listed |
| coder | < 2.29.7 | 2.29.7 |
| coder | >= 2.30.0, < 2.30.2 | 2.30.2 |
References
- https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27 patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/coder/coder/pull/22011 issue-tracking patch
- https://github.com/coder/registry/pull/703 issue-tracking patch
- https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb patch
- https://github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82 patch
- github.com product
- https://github.com/coder/coder/releases/tag/v2.29.7 release-notes
- https://github.com/coder/coder/releases/tag/v2.30.2 release-notes
- github.com