Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/coder/coder/v2
  4. ›
  5. CVE-2026-55427

CVE-2026-55427: Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`

July 6, 2026

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.

Note: 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.

References

  • github.com/advisories/GHSA-mcqq-fqgf-rxwm
  • github.com/coder/coder/pull/26154
  • github.com/coder/coder/security/advisories/GHSA-mcqq-fqgf-rxwm
  • nvd.nist.gov/vuln/detail/CVE-2026-55427

Code Behaviors & Features

Detect and mitigate CVE-2026-55427 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.29.17, all versions starting from 2.30.0 before 2.32.7, all versions starting from 2.33.0 before 2.33.8, all versions starting from 2.34.0 before 2.34.2

Fixed versions

  • 2.29.17
  • 2.32.7
  • 2.33.8
  • 2.34.2

Solution

Upgrade to versions 2.29.17, 2.32.7, 2.33.8, 2.34.2 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/coder/coder/v2/CVE-2026-55427.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:19:05 +0000.