SCA: security update for github.com/coder/coder/v2 (GHSA-mcqq-fqgf-rxwm)

high Tenable Cloud Security Plugin ID 497846

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, 2.32.7, 2.33.8, and 2.34.2, `coder config-ssh` wrote server-supplied SSH settings
(`HostnameSuffix`, `SSHConfigOptions`) into the user's `~/.ssh/config` without sanitizing embedded
newlines or restricting directives so a malicious or compromised Coder server could inject arbitrary SSH
configuration. Practical exploitation requires control of the server-supplied values through a malicious
or compromised deployment, a man-in-the-middle position or admin access to the `HostnameSuffix` and
`SSHConfigOptions` settings. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 validates
`HostnameSuffix` and `SSHConfigOptions` against a strict character set that rejects newlines and other
control characters. As a workaround, inspect `coder config-ssh --dry-run` output before applying changes.
(CVE-2026-55427)

Solution

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

See Also

https://github.com/advisories/GHSA-mcqq-fqgf-rxwm

Plugin Details

Severity: High

ID: 497846

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.14

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2026-55427

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/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/6/2026

Vulnerability Publication Date: 7/6/2026

Reference Information

CVE: CVE-2026-55427