OS Command Injection in CliInvoke.Specializations
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-100368 has been found in CliInvoke.Specializations.
Attackers can target a specific entry point like CliInvoke.Specializations over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 8.4/10.
What to do: upgrade CliInvoke.Specializations to 3.0.0-beta.1 or later.
If unsure, ask your IT team or search "CliInvoke.Specializations CVE-2026-100368" on the vendor's site.
CVE-2026-100368 (CliInvoke.Specializations) — CWE-78 / CVSS v3 8.4
Attack vector: local / unauthenticated / no user interaction
Attack surface: CliInvoke.Specializations / PowershellProcessInvoker / CmdProcessInvoker / UsePowerShell
Patched: 3.0.0-beta.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
OS command injection (CWE-78) exists in CliInvoke.Specializations. Attackers reach the vulnerable code path via CliInvoke.Specializations without authentication.
Check the vendor advisory for the affected versions of CliInvoke.Specializations. Attack surface: CliInvoke.Specializations / PowershellProcessInvoker / CmdProcessInvoker / UsePowerShell.
Severity: High (CVSS 8.4/10). Successful exploitation can lead to full system takeover.
Update to 3.0.0-beta.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'CliInvoke.Specializations' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'CliInvoke.Specializations' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
CliInvoke.Specializationsを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade CliInvoke.Specializations to 3.0.0-beta.1ステージング環境で 3.0.0-beta.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nugetCliInvoke.Specializations |
< 3.0.0-beta.1→ 3.0.0-beta.1 |
3.0.0-beta.1 |
| nugetAlastairLundy.CliInvoke.Specializations |
< 2.0.2→ 2.0.2 |
2.0.2 |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com