Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-100368

HIGH 8.4EPSS 62%

CliInvoke.Specializations: Command injection in PowerShell and Cmd shell wrappers

Also known as GHSA-wrvw-254r-wpmv

Mitigation

  • Upgrade CliInvoke.Specializations to one of 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1 (or later in the same release line).
  • Upgrade AlastairLundy.CliInvoke.Specializations to 2.0.2 or later.

Who should check

  • Projects that depend on NuGet package CliInvoke.Specializations (>= 2.2.0, < 2.8.5)
  • Projects that depend on NuGet package AlastairLundy.CliInvoke.Specializations (>= 1.0.0-rc.1, < 2.0.2)
  • Anyone running alastairlundy CliInvoke.Specializations >= 2.2.0, <= 2.8.4; >= 2.9.0, <= 2.9.3; >= 2.10.0, <= 2.10.4; >= 3.0.0-alpha.1, <= 3.0.0-alpha.4; >= 3.0.0-alpha.8, <= 3.0.0-alpha.10; >= 1.0.0-rc.1, <= 1.6.1.1

Vulnerability facts

Affected
CliInvoke.Specializations >= 2.2.0, < 2.8.5; AlastairLundy.CliInvoke.Specializations >= 1.0.0-rc.1, < 2.0.2
Fixed in
2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1, 2.0.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.01% chance of exploitation in 30 days (percentile 62, 2026-11-26)
CWE
CWE-78
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
NuGet CliInvoke.Specializations>= 2.2.0, < 2.8.52.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1osv
NuGet AlastairLundy.CliInvoke.Specializations>= 1.0.0-rc.1, < 2.0.22.0.2osv
alastairlundy CliInvoke.Specializations>= 2.2.0, <= 2.8.4; >= 2.9.0, <= 2.9.3; >= 2.10.0, <= 2.10.4; >= 3.0.0-alpha.1, <= 3.0.0-alpha.4; >= 3.0.0-alpha.8, <= 3.0.0-alpha.10; >= 1.0.0-rc.1, <= 1.6.1.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-100368. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-100368.md
Affected: CliInvoke.Specializations >= 2.2.0, < 2.8.5; AlastairLundy.CliInvoke.Specializations >= 1.0.0-rc.1, < 2.0.2
Fixed in: 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1, 2.0.2

Steps:
1. Search this machine and project for CliInvoke.Specializations (NuGet), AlastairLundy.CliInvoke.Specializations (NuGet), alastairlundy CliInvoke.Specializations: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-100368 being exploited?

There is no confirmed exploitation: CVE-2026-100368 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-100368?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-100368?

CliInvoke.Specializations >= 2.2.0, < 2.8.5; AlastairLundy.CliInvoke.Specializations >= 1.0.0-rc.1, < 2.0.2.

Is there a fix for CVE-2026-100368?

Yes. Fixed in 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1, 2.0.2. Upgrade CliInvoke.Specializations to one of 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1 (or later in the same release line). Upgrade AlastairLundy.CliInvoke.Specializations to 2.0.2 or later.

How do I check if I'm affected by CVE-2026-100368?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors