CVE-2026-44454

Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent

Published Jul 7, 2026 CVSS 3.1 · 8.1 High EPSS 2.6% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw is an OS Command Injection arising from unsanitized dotfiles_uri values supplied to shell commands during workspace provisioning. A crafted URI that includes command substitution syntax, such as $(…), allows an attacker to execute arbitrary shell commands inside the newly provisioned workspace, compromising the environment and potentially the underlying host.

Affected Systems

Installing Coder versions prior to 2.29.7 in the 2.29.x line or prior to 2.30.2 in the 2.30.x line, when the dotfiles registry module is enabled, is affected. Users who can create workspaces through the web interface and who could receive mode=auto deep links are at risk.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, and the EPSS score of 3% indicates a lower exploitation probability. Because no explicit user confirmation is required—an attacker can simply send a link that pre‑populates dotfiles_uri—the barrier to attack is low. While the vulnerability is not yet listed in CISA’s KEV catalog, the combination of a high severity, likely URL‑based attack vector, and the ability to run arbitrary commands in a provisioned workspace makes remediation a priority.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coder to version 2.29.7 or later, which includes input validation fixes, or to any newer release that also contains the same fix.
  • If an upgrade is not immediately possible, disable the dotfiles registry module entirely or apply strict validation to the dotfiles_uri input to block shell metacharacters.
  • Restrict the use of mode=auto deep links to trusted users only, and monitor provisioning logs for unexpected or automated workspace creations to detect abuse.

Generated by OpenCVE AI on August 24, 2026 at 16:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m3cr-vc2j-pm27 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder
Type Values Removed Values Added
Description Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7 and 2.30.2, workspace creation via `mode=auto` deep links silently provisioned workspaces with attacker-controlled parameters, requiring no explicit user confirmation. In versions 2.29.7 and 2.30.2, a consent dialog was added that displays all prefilled `param.*` values and blocks creation until the user explicitly clicks Confirm and Create. 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.
Type Values Removed Values Added
Description Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7 and 2.30.2, workspace creation via `mode=auto` deep links silently provisioned workspaces with attacker-controlled parameters, requiring no explicit user confirmation. In versions 2.29.7 and 2.30.2, a consent dialog was added that displays all prefilled `param.*` values and blocks creation until the user explicitly clicks Confirm and Create.
Title Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 1:48 PM
Reserved
May 6, 2026, 3:49 PM
Status
Analyzed
Published
Jul 7, 2026, 9:17 PM
Modified
Jul 8, 2026, 7:47 PM