CVE-2026-55427
HIGH 8.3CVSS 3.1Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`
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.
- Published
- 8 Jul 2026
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74CWE-78
- Also known as
- GHSA-mcqq-fqgf-rxwmGO-2026-5913
- Sources
- NVDJSONOSV GHSA-mcqq-fqgf-rxwmJSONOSV GO-2026-5913JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
< 2.29.17 | 2.29.17 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.30.0, < 2.32.7 | 2.32.7 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.33.0, < 2.33.8 | 2.33.8 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.34.0, < 2.34.2 | 2.34.2 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.34.0, < 2.34.2 | 2.34.2 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.33.0, < 2.33.8 | 2.33.8 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.30.0, < 2.32.7 | 2.32.7 |
| OSV | Go | github.com/coder/coder/v2 | < 2.29.17 | 2.29.17 |
| OSV | Go | github.com/coder/coder | all versions | |
| OSV | Go | github.com/coder/coder/v2 | < 2.29.17; >= 2.30.0, < 2.32.7; >= 2.33.0, < 2.33.8; >= 2.34.0, < 2.34.2 | 2.29.17, 2.32.7, 2.33.8, 2.34.2 |
References
- https://github.com/coder/coder/pull/26154 · Issue Tracking, Patch, WEB, FIX
- https://github.com/coder/coder/releases/tag/v2.29.17 · Release Notes
- https://github.com/coder/coder/releases/tag/v2.32.7 · Release Notes
- https://github.com/coder/coder/releases/tag/v2.33.8 · Release Notes
- https://github.com/coder/coder/releases/tag/v2.34.2 · Release Notes
- https://github.com/coder/coder/security/advisories/GHSA-mcqq-fqgf-rxwm · Patch, Vendor Advisory, WEB, ADVISORY
- https://github.com/coder/coder · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jul 2026)