PT-2026-55445 · Coder · Coder
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
coder versions prior to 2.29.7
coder versions prior to 2.30.2
Description
A command injection issue exists in the
dotfiles registry module where unsanitized user input is passed to shell commands. An attacker can provide a crafted dotfiles uri value containing shell command substitution, such as $(...), to execute arbitrary code within a provisioned workspace. This issue is amplified by a mode=auto query parameter on the Create Workspace page, which allows the automatic creation of a workspace without user confirmation when combined with param.* URL parameters. This enables a one-click attack where an authenticated user clicking a malicious link triggers the creation of a workspace with attacker-controlled parameters, potentially exposing Git credentials, secrets, and workspace files.Recommendations
Update coder to version 2.29.7 or later.
Update coder to version 2.30.2 or later.
Restrict the use of the
dotfiles uri parameter to trusted values until the system is updated.Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Coder