原始描述
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.
受影响的软件
- Coder *< 2.29.7≥ 2.30.0 < 2.30.2 修复版本: 2.29.7, 2.30.2 仓库或软件包匹配
详情
- 发布日期
- 2026-07-07
- 最后修改
- 2026-07-08
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- CWE
- CWE-78
- EPSS(30 天内被利用概率)
- 2.64% (百分位 86)
参考资料
- cve.org/CVE-2026-44454
- nvd.nist.gov/vuln/detail/CVE-2026-44454
- github.com/coder/coder/commit/60e3ab7632f42415d283b9fd5622ee53a4639ceb
- github.com/coder/coder/pull/22011
- github.com/coder/coder/releases/tag/v2.29.7
- github.com/coder/coder/releases/tag/v2.30.2
- github.com/coder/coder/security/advisories/GHSA-m3cr-vc2j-pm27
- github.com/coder/registry/commit/8e68c96633f65a1babd76a93b6923e3deead4a82
- github.com/coder/registry/pull/703
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。