{"api_version":"1","generated_at":"2026-07-08T20:58:19+00:00","cve":"CVE-2026-55427","urls":{"html":"https://cve.report/CVE-2026-55427","api":"https://cve.report/api/cve/CVE-2026-55427.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-55427","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-55427"},"summary":{"title":"Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-08 00:16:33","updated_at":"2026-07-08 19:44:24"},"problem_types":["CWE-74","CWE-78","CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"8.3","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","baseScore":8.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.3","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","name":"https://github.com/coder/coder/releases/tag/v2.34.2","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/security/advisories/GHSA-mcqq-fqgf-rxwm","name":"https://github.com/coder/coder/security/advisories/GHSA-mcqq-fqgf-rxwm","refsource":"security-advisories@github.com","tags":["Patch","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","name":"https://github.com/coder/coder/releases/tag/v2.29.17","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","name":"https://github.com/coder/coder/releases/tag/v2.32.7","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/pull/26154","name":"https://github.com/coder/coder/pull/26154","refsource":"security-advisories@github.com","tags":["Issue Tracking","Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","name":"https://github.com/coder/coder/releases/tag/v2.33.8","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-55427","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55427","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.34.0, < 2.34.2","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.33.0, < 2.33.8","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.30.0, < 2.32.7","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected < 2.29.17","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"55427","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coder","cpe5":"coder","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-55427","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-07-08T13:09:33.858876Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-08T13:10:01.820Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"coder","vendor":"coder","versions":[{"status":"affected","version":">= 2.34.0, < 2.34.2"},{"status":"affected","version":">= 2.33.0, < 2.33.8"},{"status":"affected","version":">= 2.30.0, < 2.32.7"},{"status":"affected","version":"< 2.29.17"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-07T23:55:26.240Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/coder/coder/security/advisories/GHSA-mcqq-fqgf-rxwm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/coder/coder/security/advisories/GHSA-mcqq-fqgf-rxwm"},{"name":"https://github.com/coder/coder/pull/26154","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/pull/26154"},{"name":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.29.17"},{"name":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.32.7"},{"name":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.33.8"},{"name":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.34.2"}],"source":{"advisory":"GHSA-mcqq-fqgf-rxwm","discovery":"UNKNOWN"},"title":"Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-55427","datePublished":"2026-07-07T23:55:26.240Z","dateReserved":"2026-06-16T21:48:43.126Z","dateUpdated":"2026-07-08T13:10:01.820Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-08 00:16:33","lastModifiedDate":"2026-07-08 19:44:24","problem_types":["CWE-74","CWE-78","CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","baseScore":8.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-08T13:09:33.858876Z","id":"CVE-2026-55427","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionEndExcluding":"2.29.17","matchCriteriaId":"F97FAF48-192E-4814-82A5-085C44F1D261"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.30.0","versionEndExcluding":"2.32.7","matchCriteriaId":"7ABD4A9B-6AE8-47D8-A1B7-91E42EE0481B"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.33.0","versionEndExcluding":"2.33.8","matchCriteriaId":"F759EEF3-6EAE-475B-85F8-38E7D7B47438"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.34.0","versionEndExcluding":"2.34.2","matchCriteriaId":"397A02BF-6CF6-40B1-B792-D7CB9D229050"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"55427","Ordinal":"1","Title":"Coder vulnerable to SSH config injection via unsanitized server-","CVE":"CVE-2026-55427","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"55427","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Coder vulnerable to SSH config injection via unsanitized server-"}]}}}