Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| coder | coder | before 2.29.7; 2.30.0 to before 2.30.2 | 2.29.7, 2.30.2 | Patch available | CNA |
| — | github.com/coder/coder/v2 (Go) | before 2.29.7 | 2.29.7 | Patch available | GHSA-m3cr-vc2j-pm27 |
| — | github.com/coder/coder/v2 (Go) | 2.30.0 to before 2.30.2 | 2.30.2 | Patch available | GHSA-m3cr-vc2j-pm27 |
| — | github.com/coder/coder (Go) | up to 0.27.3 | — | No fix listed | GHSA-m3cr-vc2j-pm27 |
- coder Vendorcoder Affected before 2.29.7; 2.30.0 to before 2.30.2 Fixed in 2.29.7, 2.30.2 Patch available CNA
- github.com/coder/coder/v2 (Go) Vendor— Affected before 2.29.7 Fixed in 2.29.7 Patch available GHSA-m3cr-vc2j-pm27
- github.com/coder/coder/v2 (Go) Vendor— Affected 2.30.0 to before 2.30.2 Fixed in 2.30.2 Patch available GHSA-m3cr-vc2j-pm27
- github.com/coder/coder (Go) Vendor— Affected up to 0.27.3 Fixed in — No fix listed GHSA-m3cr-vc2j-pm27
Remediation
- Fix · CNA coder (coder) Fixed in 2.29.7, 2.30.2
- Fix · GHSA-m3cr-vc2j-pm27 github.com/coder/coder/v2 (Go) Fixed in 2.29.7 Advisory →
- Fix · GHSA-m3cr-vc2j-pm27 github.com/coder/coder/v2 (Go) Fixed in 2.30.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-44454
- 2026-10-03 Alias added: GHSA-m3cr-vc2j-pm27
References
Patch 5
- https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27
- https://github.com/coder/coder/pull/22011
- https://github.com/coder/registry/pull/703
- https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb
- https://github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82
More Coder vulnerabilities
- TI-2026-34071 Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft CVSS 3.1CRITICAL 9.1
- TI-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
- TI-2026-39997 Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID CVSS 3.1HIGH 8.7
- TI-2026-39996 Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator CVSS 3.1HIGH 8.2
- TI-2026-39995 Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh` CVSS 3.1HIGH 8.3
- TI-2025-36196 Coder's privilege escalation vulnerability could lead to a cross workspace compromise CVSS 3.1HIGH 8.1
Sources
- CVE-2026-44454 · CVE Program
- CVE-2026-44454 · NVD
- FIRST EPSS
- GHSA-m3cr-vc2j-pm27 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences