{"cve":"CVE-2026-55427","nvd":{"published":"2026-07-08T00:16:33.323","modified":"2026-07-08T19:44:24.297","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.3},"cwes":["CWE-74","CWE-78"],"references":["https://github.com/coder/coder/pull/26154","https://github.com/coder/coder/releases/tag/v2.29.17","https://github.com/coder/coder/releases/tag/v2.32.7","https://github.com/coder/coder/releases/tag/v2.33.8","https://github.com/coder/coder/releases/tag/v2.34.2"],"products":["coder:coder"],"source":"nvd","synced_at":"2026-10-19T22:42:16.820116992+00:00"},"epss":{"cve":"CVE-2026-55427","score":0.00466,"percentile":0.40391,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mcqq-fqgf-rxwm","url":"https://osv.dev/vulnerability/GHSA-mcqq-fqgf-rxwm","summary":"Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`","modified":"2026-07-07T16:11:08.644759952Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.34.0 <2.34.2"],"fixed":["2.34.2"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.33.0 <2.33.8"],"fixed":["2.33.8"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.30.0 <2.32.7"],"fixed":["2.32.7"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<2.29.17"],"fixed":["2.29.17"]}]},{"id":"GO-2026-5913","url":"https://osv.dev/vulnerability/GO-2026-5913","summary":"Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh` in github.com/coder/coder","modified":"2026-07-07T16:00:42.742775729Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<2.29.17",">=2.30.0 <2.32.7",">=2.33.0 <2.33.8",">=2.34.0 <2.34.2"],"fixed":["2.29.17","2.32.7","2.33.8","2.34.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}