CVE-2026-55427
Published:July 07, 2026
Updated:July 21, 2026
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.
Affected Packages
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.30.0 <v2.32.7Fix Suggestion:
Update to version v2.32.7github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.0.3-0.20230821192631-2a04d15c6d48 <v2.29.17Fix Suggestion:
Update to version v2.29.17github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.34.0 <v2.34.2Fix Suggestion:
Update to version v2.34.2github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.33.0 <v2.33.8Fix Suggestion:
Update to version v2.33.8Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.47