CVE-2026-100369: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in alastairlundy CliInvoke
CliInvoke and its formerly named `AlastairLundy.CliInvoke` package are .NET libraries for invoking command-line programs and wrapping executable processes. `CliInvoke` versions 2.0.0 through 2.8.4, 2.9.0 through 2.9.3, 2.10.0 through 2.10.4, and 3.0.0-alpha.1 through 3.0.0-beta.1, as well as `AlastairLundy.CliInvoke` versions 2.0.0-alpha.1 through 2.0.0, contain an argument-injection vulnerability in `RunnerProcessFactory` on the 2.x line and `RunnerConfigurationFactory` on the 3.x line. These factories combine runner arguments, a caller-controlled target, and caller-controlled arguments into one `ProcessStartInfo.Arguments` string, allowing a double quote in the target or an argument to terminate an operating-system-level quoted region and inject unintended elements into the runner’s argument vector, potentially resulting in arbitrary command execution when a shell runner is used. The vulnerability is patched in `CliInvoke` versions 2.8.5, 2.9.4, 2.10.5, and 3.0.0-beta.2, and in `AlastairLundy.CliInvoke` version 2.0.2. No complete workaround is available; users unable to upgrade can partially mitigate the issue by removing double quotes from targets and arguments, additionally removing shell metacharacters when using shell runners, or bypassing the vulnerable factory and constructing a `ProcessConfiguration` with an explicit `ArgumentList`.
AI Analysis
Technical Summary
CliInvoke and AlastairLundy.CliInvoke .NET libraries for invoking command-line programs have an argument injection vulnerability (CWE-88) in the RunnerProcessFactory (2.x) and RunnerConfigurationFactory (3.x). These factories improperly combine runner arguments, a caller-controlled target, and caller-controlled arguments into a single ProcessStartInfo.Arguments string. This allows a double quote in the target or arguments to break out of the quoted region and inject unintended command-line elements, potentially leading to arbitrary command execution when a shell runner is used. The vulnerability affects CliInvoke versions 2.0.0 through 2.8.4, 2.9.0 through 2.9.3, 2.10.0 through 2.10.4, and 3.0.0-alpha.1 through 3.0.0-beta.1, as well as AlastairLundy.CliInvoke versions 2.0.0-alpha.1 through 2.0.0. Patches are available in CliInvoke versions 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2, and AlastairLundy.CliInvoke version 2.0.2. No complete workaround is available; partial mitigations include removing double quotes and shell metacharacters from inputs or bypassing the vulnerable factories by constructing ProcessConfiguration with explicit ArgumentList.
Potential Impact
Successful exploitation can result in arbitrary command execution with the privileges of the running process, leading to full compromise of the affected application environment. The vulnerability has a CVSS 3.1 score of 8.4 (high severity), indicating high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available in CliInvoke versions 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2, and AlastairLundy.CliInvoke version 2.0.2. Users are strongly advised to upgrade to these patched versions. No complete workaround exists; however, users unable to upgrade can partially mitigate risk by removing double quotes from targets and arguments, removing shell metacharacters when using shell runners, or bypassing the vulnerable factories by constructing a ProcessConfiguration with an explicit ArgumentList.
CVE-2026-100369: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in alastairlundy CliInvoke
Description
CliInvoke and its formerly named `AlastairLundy.CliInvoke` package are .NET libraries for invoking command-line programs and wrapping executable processes. `CliInvoke` versions 2.0.0 through 2.8.4, 2.9.0 through 2.9.3, 2.10.0 through 2.10.4, and 3.0.0-alpha.1 through 3.0.0-beta.1, as well as `AlastairLundy.CliInvoke` versions 2.0.0-alpha.1 through 2.0.0, contain an argument-injection vulnerability in `RunnerProcessFactory` on the 2.x line and `RunnerConfigurationFactory` on the 3.x line. These factories combine runner arguments, a caller-controlled target, and caller-controlled arguments into one `ProcessStartInfo.Arguments` string, allowing a double quote in the target or an argument to terminate an operating-system-level quoted region and inject unintended elements into the runner’s argument vector, potentially resulting in arbitrary command execution when a shell runner is used. The vulnerability is patched in `CliInvoke` versions 2.8.5, 2.9.4, 2.10.5, and 3.0.0-beta.2, and in `AlastairLundy.CliInvoke` version 2.0.2. No complete workaround is available; users unable to upgrade can partially mitigate the issue by removing double quotes from targets and arguments, additionally removing shell metacharacters when using shell runners, or bypassing the vulnerable factory and constructing a `ProcessConfiguration` with an explicit `ArgumentList`.
CVSS v3.1
Score 8.4high
Affected software
alastairlundy
CliInvoke
alastairlundy
AlastairLundy.CliInvoke
pkg:nuget/alastairlundy.cliinvokeRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CliInvoke and AlastairLundy.CliInvoke .NET libraries for invoking command-line programs have an argument injection vulnerability (CWE-88) in the RunnerProcessFactory (2.x) and RunnerConfigurationFactory (3.x). These factories improperly combine runner arguments, a caller-controlled target, and caller-controlled arguments into a single ProcessStartInfo.Arguments string. This allows a double quote in the target or arguments to break out of the quoted region and inject unintended command-line elements, potentially leading to arbitrary command execution when a shell runner is used. The vulnerability affects CliInvoke versions 2.0.0 through 2.8.4, 2.9.0 through 2.9.3, 2.10.0 through 2.10.4, and 3.0.0-alpha.1 through 3.0.0-beta.1, as well as AlastairLundy.CliInvoke versions 2.0.0-alpha.1 through 2.0.0. Patches are available in CliInvoke versions 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2, and AlastairLundy.CliInvoke version 2.0.2. No complete workaround is available; partial mitigations include removing double quotes and shell metacharacters from inputs or bypassing the vulnerable factories by constructing ProcessConfiguration with explicit ArgumentList.
Potential Impact
Successful exploitation can result in arbitrary command execution with the privileges of the running process, leading to full compromise of the affected application environment. The vulnerability has a CVSS 3.1 score of 8.4 (high severity), indicating high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available in CliInvoke versions 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2, and AlastairLundy.CliInvoke version 2.0.2. Users are strongly advised to upgrade to these patched versions. No complete workaround exists; however, users unable to upgrade can partially mitigate risk by removing double quotes from targets and arguments, removing shell metacharacters when using shell runners, or bypassing the vulnerable factories by constructing a ProcessConfiguration with an explicit ArgumentList.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-25T19:19:54.698Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab6da8af7a7c5410640caa1
Added to database: 09/25/2026, 20:33:14 UTC
Last enriched: 09/25/2026, 20:47:51 UTC
Last updated: 09/26/2026, 03:22:32 UTC
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.