Advisory

GHSA-j73w-8hfr-4gc9

Also known as: CVE-2026-100369

Summary

CliInvoke: Argument Injection in Extensibility Runner Factory

Details

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 ProcessConfiguration directly. Set ArgumentList explicitly to the argv you want the runner to receive.

These are partial mitigations. They shift the quoting problem to your
code.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-09-25 21:41 UTC
Modified
2026-09-25 23:00 UTC

Affected packages and fixes

CliInvoke

NuGet · All systems

Affected

  • introduced 2.0.0, fixed 2.8.5 (ecosystem)

Fixed versions

2.8.5

Fix

The export has no generic command for this ecosystem.

CliInvoke

NuGet · All systems

Affected

  • introduced 2.9.0, fixed 2.9.4 (ecosystem)

Fixed versions

2.9.4

Fix

The export has no generic command for this ecosystem.

CliInvoke

NuGet · All systems

Affected

  • introduced 2.10.0, fixed 2.10.5 (ecosystem)

Fixed versions

2.10.5

Fix

The export has no generic command for this ecosystem.

CliInvoke

NuGet · All systems

Affected

  • introduced 3.0.0-alpha.1, fixed 3.0.0-beta.2 (ecosystem)

Fixed versions

3.0.0-beta.2

Fix

The export has no generic command for this ecosystem.

AlastairLundy.CliInvoke

NuGet · All systems

Affected

  • introduced 2.0.0-alpha.1, fixed 2.0.2 (ecosystem)

Fixed versions

2.0.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences