{"cve":"CVE-2026-44454","nvd":{"published":"2026-07-07T21:17:25.180","modified":"2026-07-08T19:47:37.463","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb","https://github.com/coder/coder/pull/22011","https://github.com/coder/coder/releases/tag/v2.29.7","https://github.com/coder/coder/releases/tag/v2.30.2","https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27"],"products":["coder:coder"],"source":"nvd","synced_at":"2026-10-19T22:42:16.820116992+00:00"},"epss":{"cve":"CVE-2026-44454","score":0.02642,"percentile":0.85587,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m3cr-vc2j-pm27","url":"https://osv.dev/vulnerability/GHSA-m3cr-vc2j-pm27","summary":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent","modified":"2026-07-07T22:30:08.797646616Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<2.29.7"],"fixed":["2.29.7"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.30.0 <2.30.2"],"fixed":["2.30.2"]},{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["<=0.27.3"],"fixed":[]}]},{"id":"GO-2026-5897","url":"https://osv.dev/vulnerability/GO-2026-5897","summary":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent in github.com/coder/coder","modified":"2026-07-07T16:01:25.280107323Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<2.29.7",">=2.30.0 <2.30.2"],"fixed":["2.29.7","2.30.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}