{"id":"CVE-2026-44454","published":"2026-07-07T20:16:39Z","modified":"2026-07-08T13:48:00Z","title":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent","vendor":"coder","product":"coder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02642,"percentile":0.85953,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coder/coder/pull/22011","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/registry/pull/703","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.30.2","tags":["x_refsource_MISC"]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":17.19},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"coder","affectedVersions":[{"vendor":"coder","product":"coder","versions":["< 2.29.7",">= 2.30.0, < 2.30.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-08T13:47:43.261401Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/coder/coder/v2","vulnerableRanges":["<2.29.7",">=2.30.0, <2.30.2"],"patched":["2.29.7","2.30.2"],"from":["GHSA-m3cr-vc2j-pm27","GO-2026-5897"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/coder/coder","vulnerableRanges":["<=0.27.3","all versions"],"patched":[],"from":["GHSA-m3cr-vc2j-pm27","GO-2026-5897"],"provenance":"source"}],"summary":{"text":"The flaw is an OS command injection in the dotfiles registry module of Coder, a product for provisioning remote development environments via Terraform, where unsanitized user input was passed to shell commands. An attacker can exploit it by supplying a crafted dotfiles URI value, such as one containing shell command substitution, or by using a crafted Create Workspace deep link that prefills that value and provisions a workspace without explicit user confirmation, which requires the victim to open the link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:46Z"},"euvd":{"id":"EUVD-2026-42087","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-71435","published":"2026-10-17","fixed":"2.23.0","kev":false},{"cve":"CVE-2025-58437","published":"2025-09-06","fixed":"2.25.2","kev":false},{"cve":"CVE-2025-66411","published":"2025-12-03","fixed":"2.28.4","kev":false,"link":{"from":"CVE-2025-66411","to":"CVE-2026-44454","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/coder/coder/v2","fromFixed":"2.28.4","toFixed":"2.29.7","daysApart":216}]}},{"cve":"CVE-2026-44454","published":"2026-07-07","fixed":"2.30.2","kev":false},{"cve":"CVE-2026-45796","published":"2026-07-07","fixed":"2.33.3","kev":false,"link":{"from":"CVE-2026-44454","to":"CVE-2026-45796","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/coder/coder/v2","fromFixed":"2.30.2","toFixed":"2.30.8","daysApart":0}]}},{"cve":"CVE-2026-46354","published":"2026-07-07","fixed":"2.33.3","kev":false,"link":{"from":"CVE-2026-44454","to":"CVE-2026-46354","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/coder/coder/v2","fromFixed":"2.30.2","toFixed":"2.30.8","daysApart":0}]}},{"cve":"CVE-2026-111932","published":"2026-10-17","fixed":"2.34.2","kev":false}],"package":"Go:github.com/coder/coder/v2"}}