CVE-2026-44454
Analyzed Analyzed - Analysis Complete

Workspace Creation Parameter Injection in Coder

Vulnerability report for CVE-2026-44454, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-07

Last updated on: 2026-07-08

Assigner: GitHub, Inc.

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-07
Last Modified
2026-07-08
Generated
2026-07-12
AI Q&A
2026-07-08
EPSS Evaluated
2026-07-11
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
coder coder to 2.29.7 (exc)
coder coder From 2.30.0 (inc) to 2.30.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Coder, a tool that allows organizations to provision remote development environments via Terraform. In versions prior to 2.29.7 and 2.30.2, when creating workspaces using 'mode=auto' deep links, the system would silently provision workspaces with parameters controlled by an attacker without requiring any explicit user confirmation.

This means an attacker could craft a link that, when used, would automatically create a workspace with parameters they chose, potentially leading to unauthorized configurations or access.

In versions 2.29.7 and 2.30.2, a consent dialog was introduced that displays all prefilled parameters and blocks workspace creation until the user explicitly confirms by clicking 'Confirm and Create', mitigating the issue.

Impact Analysis

This vulnerability can lead to unauthorized creation of remote development workspaces with attacker-controlled parameters without user consent.

Such unauthorized provisioning could allow attackers to influence the environment configuration, potentially leading to unauthorized access, data exposure, or manipulation within the affected system.

Given the CVSS score of 8.1 with high impact on confidentiality and integrity, the vulnerability poses a significant risk to the security of the affected environments.

Mitigation Strategies

To mitigate this vulnerability, update Coder to version 2.29.7 or 2.30.2 or later, where a consent dialog has been added to require explicit user confirmation before workspace creation with prefilled parameters.

Compliance Impact

CVE-2026-44454 allows arbitrary code execution within provisioned workspaces by exploiting unsanitized user input in the dotfiles registry module. This can lead to exposure of sensitive data such as Git credentials, secrets, and workspace files, which may include personal or protected information.

Such unauthorized access and potential data exposure could negatively impact compliance with data protection regulations like GDPR and HIPAA, which require strict controls over personal and sensitive data to prevent unauthorized access and breaches.

The vulnerability was mitigated by adding input validation to reject unsafe inputs and introducing a consent dialog to prevent silent workspace creation with attacker-controlled parameters, thereby reducing the risk of unauthorized code execution and data exposure.

These security improvements help organizations maintain compliance by enforcing explicit user consent and preventing automated attacks that could compromise sensitive data.

Detection Guidance

This vulnerability involves unsanitized user input in the dotfiles registry module that allows arbitrary code execution via crafted dotfiles_uri values, especially when workspace creation links use the mode=auto parameter with prefilled parameters.

To detect exploitation attempts on your network or system, you should monitor for suspicious workspace creation requests that include unusual or suspicious dotfiles_uri values containing shell command substitutions such as $(...).

Specifically, you can look for HTTP requests or logs containing URLs with the parameter param.dotfiles_uri that include characters like $(), backticks, or other shell metacharacters.

Suggested commands to detect such attempts might include searching web server or application logs for suspicious patterns. For example, using grep on logs:

  • grep -E 'param\.dotfiles_uri=.*\$\(|param\.dotfiles_uri=.*`' /path/to/access.log
  • grep -i 'mode=auto' /path/to/access.log | grep -E '\$\(|`'

Additionally, monitoring workspace creation events for unexpected or unauthorized provisioning, especially those triggered without explicit user consent, can help detect exploitation.

Since the vulnerability was fixed by adding input validation and a consent dialog, ensuring your system is updated to versions 2.29.7 or 2.30.2 or later will mitigate this risk.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-44454. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart