Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with job-run permission
-
ExploitInject cmd.exe metacharacters in free-text option
-
ExecutionBypass ineffective single-quote wrapping on Windows node
-
ImpactExecute arbitrary commands as node executor
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Rundeck account with job-run permission (PR:L) AND a job that executes against one or more Windows nodes using the cmd.exe-based Windows node executor, AND a job definition exposing a free-text/free-form option whose value is passed as a command argument. The attacker injects cmd.exe metacharacters (&&, |, >, ;) into that option; the flaw is that CLIUtils.quoteWindowsCMDArg wraps arguments in single quotes, which have no quoting semantics in cmd.exe and thus provide no injection protection. Commands run with the node executor's credential privileges. Limiting factors: exploitation is impossible without valid authentication and job-run authorization, requires Windows (not Unix) target nodes, and requires a reachable free-text option - deployments with only Unix nodes or fully constrained/enumerated option values are not affected. |
| Impact | This is a moderate-priority, authenticated RCE rather than a drive-by critical. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/UI:N) and the computed 7.7 score are internally consistent with the description: exploitation is network-reachable through the Rundeck web/API layer but gated behind PR:L (a valid account holding job-run permission) and carries meaningful attack requirements (AT:P / AC:H) - specifically the presence of Windows target nodes and a free-text job option. Impact is high across confidentiality, integrity and availability (VC:H/VI:H/VA:H) because successful injection yields arbitrary command execution with node-executor credential privileges. No EPSS score, KEV listing, or public exploit was provided in the intelligence, so there is NO signal of active or widespread exploitation; this appears to be a researcher-reported issue (VulnCheck) with a vendor patch already shipped, not an in-the-wild campaign. The GitHub PR diff independently confirms the root cause (CLIUtils.quoteWindowsCMDArg wrapping arguments in cmd.exe-ineffective single quotes), which raises confidence the flaw is real even absent a weaponized PoC. Net: treat as a prompt-patch item for Windows-node Rundeck deployments, but it is not a mass-exploitation emergency given the authentication and configuration prerequisites. |
| Exploit ScenarioDerived | An authenticated Rundeck user holding job-run permission supplies a crafted free-text option value such as '80 && whoami' or '| net user' to a job that targets Windows nodes. Because quoteWindowsCMDArg wraps the value in single quotes - which cmd.exe treats as literal characters, not quoting - the injected && or | metacharacters are interpreted by the shell, executing attacker commands on the node with the node executor's credentials. No public exploit was identified, but the vendor PR diff and test cases confirm the metacharacter-injection mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
OS command injection in Rundeck before 6.2.0 allows an authenticated user who holds job-run permission to execute arbitrary commands on Windows target nodes by injecting cmd.exe metacharacters (such as &&, |, >, and ;) into free-text job option values. The flaw is in CLIUtils.quoteWindowsCMDArg, which wraps arguments in single quotes - characters that have no quoting semantics in cmd.exe - so the injected command is interpreted rather than treated as literal text, and it executes with the privileges of the node executor's credentials. Exploitation requires a valid account with job-run authorization, a job that targets Windows nodes through the cmd.exe-based executor, and a job definition that exposes a free-text option passed as a command argument; there is no public exploit identified at time of analysis, and the independent assessment rates this a moderate-priority authenticated RCE rather than a drive-by critical issue.
RemediationAI
Upgrade to Rundeck 6.2.0 or later - the vendor-released patch that replaces the ineffective single-quote Windows argument quoting with CommandLineToArgvW-style double-quote escaping, backslash doubling, and percent-sign doubling; the fix is delivered via PR 10414 (https://github.com/rundeck/rundeck/pull/10414) and commit 807d9cf0eef63669b342e02e05a740e97f84f013, and the release is at https://github.com/rundeck/rundeck/releases/tag/v6.2.0. If immediate upgrade is not possible, the most effective compensating control is to eliminate the injection surface: convert any job option that feeds a Windows command argument from free-text into a strictly enumerated (fixed-list) option, since only a small set of known values can pass - this fully removes attacker-controlled metacharacters at the cost of reduced job flexibility. In parallel, tighten authorization by reducing the set of accounts holding job-run permission on jobs that execute against Windows nodes, since the vulnerability requires both authentication and job-run rights; this limits blast radius but does not remove the flaw. Where a free-text option is unavoidable, avoid routing the value through the cmd.exe-based Windows node executor and avoid passing untrusted option values directly as command arguments, and consider restricting Windows node access to trusted job definitions only - trade-offs include breaking existing job workflows and added operational overhead. Because exploitation yields command execution with the node executor's credential privileges, rotate or scope those node credentials after any suspected compromise. Note that no public exploit was identified at time of analysis, but authentication and Windows targeting requirements should not be treated as a substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a CWE-78 OS command injection rooted in incorrect argument quoting for the Windows command interpreter. Rundeck's CLIUtils.quoteWindowsCMDArg (core/src/main/java/com/dtolabs/rundeck/core/cli/CLIUtils.java) built quoted argument strings using single quotes and an internal single-quote escape sequence; because cmd.exe does not treat single quotes as quoting delimiters, the quotes were passed through literally and provided zero protection against shell metacharacter interpretation. Any free-text job option value that reached a Windows execution path was therefore interpolated into a cmd.exe command line, allowing operators such as &&, |, >, <, and ; to chain or redirect commands, and percent signs to trigger environment-variable expansion. The upstream fix replaces the single-quote strategy with double-quote quoting following CommandLineToArgvW / MSVC C-runtime backslash-escaping rules, doubles trailing backslashes so the closing quote is not consumed, escapes embedded double quotes, and doubles percent signs to block environment-variable expansion. The CPE cpe:2.3:a:rundeck:rundeck:*:*:*:*:*:*:*:* confirms the affected component is the Rundeck core product itself (all versions before the fixed release), not a plugin, and the affected execution path is specifically the Windows node executor; Unix-based executors, which use different quoting, are not the vector here.
Know when Rundeck gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable via Rundeck UI/API but needs a low-privilege job-run account (PR:L) plus a Windows node with a free-text option (AC:H); injection yields full command execution so C/I/A High.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Rundeck before 6.2.0 contains an OS command injection vulnerability that allows authenticated users with job run permission to execute commands on Windows nodes by supplying crafted option values. Attackers can inject cmd.exe metacharacters such as && or | into free-text options, which CLIUtils.quoteWindowsCMDArg wraps in ineffective single quotes, running commands with node executor credential privileges.
Executive ViewAI
Rundeck's job execution engine can be abused by users who already hold job-run permission to execute arbitrary commands on the Windows servers the platform manages, turning a limited automation role into broad control over production infrastructure. Because Rundeck commonly stores powerful executor credentials, a single crafted job option can give an attacker the same access those credentials carry across the managed Windows fleet. Leadership should treat this as a privileged-access and automation-integrity risk and prioritize upgrading affected instances to 6.2.0.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An XSS issue was discovered on the Job Edit page in Rundeck Community Edition before 3.0.13, related to assets/javascrip
Rundeck is an open source automation service with a web console, command line tools and a WebAPI. Rated critical severit
Jenkins Rundeck Plugin 3.6.11 and earlier does not protect access to the /plugin/rundeck/webhook/ endpoint, allowing use
Rundeck is an open source automation service with a web console, command line tools and a WebAPI. Rated high severity (C
Authorization bypass in Rundeck through 6.2.1 lets an authenticated user who holds only the 'import' action on a target
Rundeck is an open source automation service with a web console, command line tools and a WebAPI. Rated high severity (C
Arbitrary file read in Rundeck before 6.2.0 lets an authenticated user who holds only the project 'configure' ACL read a
Jenkins Rundeck Plugin 3.6.6 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.
Rundeck is an open source automation service with a web console, command line tools and a WebAPI. Rated medium severity
In Rundeck before version 3.2.6, authenticated users can craft a request that reveals Execution data and logs and Job de
Jenkins Rundeck Plugin 3.6.5 and earlier stores credentials unencrypted in its global configuration file and in job conf
Rundeck is an open source automation service with a web console, command line tools and a WebAPI. Rated medium severity
EUVD-2026-94304
GHSA-jv2x-5hph-7fp2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB