CVE-2026-100368
CliInvoke.Specializations: Command injection in PowerShell and Cmd shell wrappers
Check your servers for CVE-2026-100368
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-100368 affects cliinvoke.specializations, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
CliInvoke is a .NET library for invoking command-line programs, and its `CliInvoke.Specializations` packages provide specialized wrappers for shells such as PowerShell and Windows Command Prompt. `CliInvoke.Specializations` versions 2.2.0 through 2.8.4, 2.9.0 through 2.9.3, 2.10.0 through 2.10.4, 3.0.0-alpha.1 through 3.0.0-alpha.4, and 3.0.0-alpha.8 through 3.0.0-alpha.10, as well as `AlastairLundy.CliInvoke.Specializations` versions 1.0.0-rc.1 through 1.6.1.1, contain an OS command injection vulnerability in their PowerShell and Cmd wrappers. The wrappers pass a caller-controlled target and arguments to `pwsh -Command` or `cmd /c` using a single `ProcessStartInfo.Arguments` string, allowing a double quote in untrusted input to break operating-system-level quoting and cause the shell to execute an additional command with the host process's privileges. The vulnerability is patched in `CliInvoke.Specializations` versions 2.8.5, 2.9.4, 2.10.5, and 3.0.0-beta.1, and in `AlastairLundy.CliInvoke.Specializations` version 2.0.2. No complete workaround is available; users unable to upgrade should reject or remove double quotes from target paths and arguments, additionally reject shell metacharacters in versions 2.2.0 through 2.9.2 and 3.0.0-alpha.1 through 3.0.0-alpha.4, or bypass the PowerShell and Cmd wrappers and invoke target processes directly when handling untrusted input.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.58%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 49.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 30 Sep 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| CliInvoke.Specializations |
affected >= 2.2.0, <= 2.8.4 affected >= 2.9.0, <= 2.9.3 affected >= 2.10.0, <= 2.10.4 affected >= 3.0.0-alpha.1, <= 3.0.0-alpha.4 affected >= 3.0.0-alpha.8, <= 3.0.0-alpha.10 affected >= 1.0.0-rc.1, <= 1.6.1.1
|
Is my server affected?
Find the installed version of cliinvoke.specializations and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i cliinvoke.specializations
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-100368 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-100368RHEL, Rocky, Alma, Fedora
rpm -q cliinvoke.specializations
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-100368Alpine
apk list --installed | grep -i cliinvoke.specializationsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-100368
trivy image --scanners vuln IMAGE | grep CVE-2026-100368
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Source: the record CVE-2026-100368 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse