GHSA-j73w-8hfr-4gc9

Suggest an improvement
Source
https://github.com/advisories/GHSA-j73w-8hfr-4gc9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j73w-8hfr-4gc9/GHSA-j73w-8hfr-4gc9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j73w-8hfr-4gc9
Aliases
Published
2026-09-25T21:41:36Z
Modified
2026-09-25T23:00:10Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-88"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-25T21:41:36Z",
    "nvd_published_at":  "2026-09-25T21:17:21Z",
    "severity":  "HIGH"
}
References

Affected packages

NuGet / CliInvoke

Package

Name
CliInvoke
View open source insights on deps.dev
Purl
pkg:nuget/CliInvoke

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.8.5

Affected versions

2.*
2.0.0
2.0.1
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.2.0
2.2.1
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.6.0
2.6.1
2.7.0
2.7.1
2.7.2
2.8.0
2.8.1
2.8.2
2.8.3
2.8.4

Database specific

last_known_affected_version_range
"<= 2.8.4"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j73w-8hfr-4gc9/GHSA-j73w-8hfr-4gc9.json"

NuGet / CliInvoke

Package

Name
CliInvoke
View open source insights on deps.dev
Purl
pkg:nuget/CliInvoke

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.9.0
Fixed
2.9.4

Affected versions

2.*
2.9.0
2.9.1
2.9.2
2.9.3

Database specific

last_known_affected_version_range
"<= 2.9.3"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j73w-8hfr-4gc9/GHSA-j73w-8hfr-4gc9.json"

NuGet / CliInvoke

Package

Name
CliInvoke
View open source insights on deps.dev
Purl
pkg:nuget/CliInvoke

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.10.0
Fixed
2.10.5

Affected versions

2.*
2.10.1
2.10.2
2.10.3
2.10.4

Database specific

last_known_affected_version_range
"<= 2.10.4"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j73w-8hfr-4gc9/GHSA-j73w-8hfr-4gc9.json"

NuGet / CliInvoke

Package

Name
CliInvoke
View open source insights on deps.dev
Purl
pkg:nuget/CliInvoke

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0-alpha.1
Fixed
3.0.0-beta.2

Database specific

last_known_affected_version_range
"<= 3.0.0-beta.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j73w-8hfr-4gc9/GHSA-j73w-8hfr-4gc9.json"

NuGet / AlastairLundy.CliInvoke

Package

Name
AlastairLundy.CliInvoke
View open source insights on deps.dev
Purl
pkg:nuget/AlastairLundy.CliInvoke

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0-alpha.1
Fixed
2.0.2

Affected versions

2.*
2.0.0

Database specific

last_known_affected_version_range
"<= 2.0.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j73w-8hfr-4gc9/GHSA-j73w-8hfr-4gc9.json"