{"schemaVersion":3,"id":"CVE-2026-44454","aliases":["GHSA-m3cr-vc2j-pm27","GO-2026-5897"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-07T20:16:39.161Z","modified":"2026-07-08T13:48:00.841Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02642,"percentile":0.85373,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02642},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02642,"percentile":0.85373}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02642,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02642,"percentile":0.85373}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"coder","product":"coder","name":"coder","label":"coder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.29.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.30.0, < 2.30.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.29.7 | ≥ 2.30.0, < 2.30.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"coder","label":"Coder","category":"server-app"}},"hubHref":"/vendor/coder/coder"},{"vendor":"github.com/coder","product":"coder","name":"github.com/coder/coder","label":"coder","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/coder/coder","purlType":"golang","versions":[{"text":"≤ 0.27.3","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.27.3 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/coder/coder","product":"v2","name":"github.com/coder/coder/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/coder/coder/v2","purlType":"golang","versions":[{"text":"< 2.29.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.30.0, < 2.30.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.29.7 | ≥ 2.30.0, < 2.30.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27","label":"github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Patch","Vendor Advisory"]},{"url":"https://github.com/coder/coder/pull/22011","label":"github.com/coder/coder/pull/22011","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Issue Tracking","Patch"]},{"url":"https://github.com/coder/registry/pull/703","label":"github.com/coder/registry/pull/703","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb","label":"github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82","label":"github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.7","label":"github.com/coder/coder/releases/tag/v2.29.7","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/coder/coder/releases/tag/v2.30.2","label":"github.com/coder/coder/releases/tag/v2.30.2","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44454","label":"nvd.nist.gov/vuln/detail/CVE-2026-44454","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/coder/coder","label":"github.com/coder/coder","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2026-07-07T20:16:39.161Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-08T13:48:00.841Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:58:44.697Z","stale":false,"partial":false}}