Résumé
CliInvoke: Argument Injection in Extensibility Runner Factory
Détails de l’avis
Impact
An argument-injection vulnerability exists in the CliInvoke
package's runner factory: RunnerProcessFactory on the 2.x line and
RunnerConfigurationFactory on the 3.x line.
The factory joins the runner arguments, the caller's target, and the
caller's arguments into a single ProcessStartInfo.Arguments string and
hands it to the OS. The OS command-line parser re-tokenizes the string
before the runner sees it. A double quote (") in the target or in any
argument closes the OS-level quoted region and lets the next character
enter argv as a separate element.
Patches
Upgrade to:
- 2.8.5 (2.8.x line)
- 2.9.4 (2.9.x line)
- 2.10.5 (2.10.x line)
- 3.0.0-beta.2 (3.x pre-release line)
Workarounds
No complete workaround is available. Until you can upgrade:
- Strip
"from any target or argument before passing it to the factory. On shell runners, also strip;,|,&,$, backtick, and parentheses. - Or bypass the factory entirely and build the
ProcessConfigurationdirectly. SetArgumentListexplicitly to the argv you want the runner to receive.
These are partial mitigations. They shift the quoting problem to your code.
Références
- https://github.com/advisories/GHSA-j73w-8hfr-4gc9
- https://github.com/alastairlundy/CliInvoke/security/advisories/GHSA-j73w-8hfr-4gc9
- https://nvd.nist.gov/vuln/detail/CVE-2026-100369
- https://github.com/alastairlundy/CliInvoke/commit/1e98582f02eb43e345e5b97b8dd6ff9443806685
- https://github.com/alastairlundy/CliInvoke/commit/fac321c7cc9cf4372919842701829ca2be5e7307
- https://github.com/alastairlundy/CliInvoke/releases/tag/2.10.5
- https://github.com/alastairlundy/CliInvoke/releases/tag/3.0.0-beta.2
Vulnérabilités liées
Tout Supply chain →- CRITICALCVE-2026-96620
Claude Agent SDK: Argument Injection via resume Option Allows Arbitrary Command Execution
- HIGHCVE-2026-102827
simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)
- HIGHGHSA-w2vw-w76x-qr89
Nx: OS command injection via git revisions and remote refs
- MEDIUMCVE-2026-102904
JupyterLab: Argument injection in JupyterLab extension uninstall exposes server-readable files and internal URLs
- MEDIUMGHSA-whh4-5q6c-9v3x
GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle
- MEDIUMCVE-2026-78679
GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)