Argument Injection Vulnerability in CliInvoke .NET Library by Alastair Lundy
CVE-2026-100369
What is CVE-2026-100369?
The CliInvoke libraries, including versions from 2.0.0 to 2.8.4 and certain 3.x versions, exhibit an argument injection flaw within their process factory implementations. This vulnerability allows an adversary to manipulate command-line arguments through malicious inputs. It specifically leverages the improper handling of double quotes in the user-controlled target and arguments, leading to unexpected command execution. Users are advised to update to the patched versions to mitigate risks effectively. As a short-term workaround, removing double quotes and shell metacharacters in inputs may reduce exposure, while alternative methods such as constructing a custom ProcessConfiguration can bypass the vulnerable constructs.
Affected Version(s)
AlastairLundy.CliInvoke >= 2.0.0-alpha.1, <= 2.0.0
CliInvoke >= 2.0.0, <= 2.8.4 <= 2.0.0, 2.8.4
CliInvoke >= 2.9.0, <= 2.9.3 <= 2.9.0, 2.9.3
