SCA: security update for github.com/coder/coder, github.com/coder/coder/v2 (GHSA-m3cr-vc2j-pm27)

high Tenable Self-Hosted Container Security Plugin ID 497830

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-44454)

Solution

Update the github.com/coder/coder/v2 library and its related packages to version 2.29.7 or later.

See Also

https://github.com/advisories/GHSA-m3cr-vc2j-pm27

Plugin Details

Severity: High

ID: 497830

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.92

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-44454

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/2/2026

Vulnerability Publication Date: 7/2/2026

Reference Information

CVE: CVE-2026-44454

cwe: CWE-78