# CliInvoke.Specializations has command injection in PowerShell and Cmd shell wrappers

Advisory record · `GHSA-wrvw-254r-wpmv`

- **Identifiers:** `GHSA-wrvw-254r-wpmv` · `CVE-2026-100368`
- **State:** Confirmed
- **Severity:** CVSS 8.4 High
- **Critical:** No
- **Weakness (CWE):** [CWE-78](https://cwe.mitre.org/data/definitions/78.html)
- **Tags:** [Command injection](https://agentprime.io/advisories/tag/command-injection.md)
- **Published:** 25 Sept 2026
- **Updated:** 25 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 25 Sept 2026, 21:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `CliInvoke.Specializations` (NuGet): affected `>=2.2.0, <2.8.5 || >=2.9.0, <2.9.4 || >=2.10.0, <2.10.5 || >=3.0.0-alpha.1, <3.0.0-beta.1 || >=3.0.0-alpha.8, <3.0.0-beta.1`; fixed in `2.8.5`, `2.9.4`, `2.10.5`, `3.0.0-beta.1`
- `AlastairLundy.CliInvoke.Specializations` (NuGet): affected `>=1.0.0-rc.1, <2.0.2`; fixed in `2.0.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.4 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0058, the 47th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:21 UTC: First seen by agentprime
- 31 Oct 2026, 15:21 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-wrvw-254r-wpmv)

## Sources

- [GitHub Advisory Database: GHSA-wrvw-254r-wpmv](https://github.com/advisories/GHSA-wrvw-254r-wpmv)
- [OSV: GHSA-wrvw-254r-wpmv](https://osv.dev/vulnerability/GHSA-wrvw-254r-wpmv)
- <https://github.com/alastairlundy/CliInvoke/security/advisories/GHSA-wrvw-254r-wpmv>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-100368>
- <https://github.com/alastairlundy/CliInvoke/commit/1e98582f02eb43e345e5b97b8dd6ff9443806685>
- <https://github.com/alastairlundy/CliInvoke/commit/2077e5239850e83dc9cc67ae6036dcd4e68a1876>
- <https://github.com/alastairlundy/CliInvoke>
- <https://github.com/alastairlundy/CliInvoke/releases/tag/2.10.5>
- <https://github.com/alastairlundy/CliInvoke/releases/tag/3.0.0-beta.1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-wrvw-254r-wpmv>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wrvw-254r-wpmv/>. Everything for agents: <https://agentprime.io/llms.txt>.
