Vulnerabilities in pkg:nuget/CliInvoke

PACKAGE
Advisory Identifier: GHSA-j73w-8hfr-4gc9
Advisory Summary

CVE-2026-100369 is a HIGH (CVSS 8.4) argument injection vulnerability (CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')) affecting CliInvoke libraries in the NuGet ecosystem. The issue involves argument injection in extensibility runner factory. Remediation is available by upgrading affected packages to version 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2, 2.0.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/CliInvoke

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/CliInvoke. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j73w-8hfr-4gc9 CVE-2026-100369 HIGH CliInvoke: Argument Injection in Extensibility Runner Factory

CVE-2026-100369 at a Glance

CVE Identifier CVE-2026-100369
GHSA Identifier GHSA-j73w-8hfr-4gc9
Severity HIGH
CVSS v3.1 Base Score 8.4
CWE Classification CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected Product CliInvoke
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 8.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-100369

To remediate this vulnerability, upgrade all affected CliInvoke dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

CliInvoke fixed: 2.8.5
Upgrade CliInvoke to 2.8.5
CliInvoke fixed: 2.9.4
Upgrade CliInvoke to 2.9.4
CliInvoke fixed: 2.10.5
Upgrade CliInvoke to 2.10.5
CliInvoke fixed: 3.0.0-beta.2
Upgrade CliInvoke to 3.0.0-beta.2
AlastairLundy.CliInvoke fixed: 2.0.2
Upgrade AlastairLundy.CliInvoke to 2.0.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for CliInvoke

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-100369, inspect your project dependencies for CliInvoke:

inspect dependencies for CliInvoke

Analyze the terminal output to locate any version of CliInvoke in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'), where the product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string. In CliInvoke, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-100369 Affected CliInvoke Versions

5 component(s)
Fixed Versions:
2.8.52.9.42.10.53.0.0-beta.22.0.2
Product / Package Ecosystem Affected Versions Fixed Version
CliInvoke
NuGet
≥ 2.0.0
< 2.8.5
2.8.5
CliInvoke
NuGet
≥ 2.9.0
< 2.9.4
2.9.4
CliInvoke
NuGet
≥ 2.10.0
< 2.10.5
2.10.5
CliInvoke
NuGet
≥ 3.0.0-alpha.1
< 3.0.0-beta.2
3.0.0-beta.2
AlastairLundy.CliInvoke
NuGet
≥ 2.0.0-alpha.1
< 2.0.2
2.0.2

References

Frequently Asked Questions

What is CVE-2026-100369?
CVE-2026-100369 is a security vulnerability in CliInvoke involving Argument Injection in Extensibility Runner Factory under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection').
Which CliInvoke versions are affected?
Affected versions include releases prior to 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2, 2.0.2 across affected packages: CliInvoke, AlastairLundy.CliInvoke.
What version fixes CVE-2026-100369?
Upgrading to 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2, 2.0.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is CliInvoke affected?
Yes, CliInvoke is affected in releases prior to 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2. Upgrade your dependency to 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2 or later.
Is AlastairLundy.CliInvoke affected?
Yes, AlastairLundy.CliInvoke is affected in releases prior to 2.0.2. Upgrade your dependency to 2.0.2 or later.
What is the CVSS score of CVE-2026-100369?
CVE-2026-100369 has a CVSS v3.1 base score of 8.4 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-100369?
CVE-2026-100369 is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.).
How can I check NuGet dependencies for CVE-2026-100369?
Run the dependency tree command: 'inspect dependencies for CliInvoke'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j73w-8hfr-4gc9",
  "modified" : "2026-09-25T21:41:36Z",
  "published" : "2026-09-25T21:41:36Z",
  "aliases" : [ "CVE-2026-100369" ],
  "summary" : "CliInvoke: Argument Injection in Extensibility Runner Factory",
  "details" : "### Impact\nAn argument-injection vulnerability exists in the `CliInvoke`\npackage's runner factory: `RunnerProcessFactory` on the 2.x line and\n`RunnerConfigurationFactory` on the 3.x line.\n\nThe factory joins the runner arguments, the caller's target, and the\ncaller's arguments into a single `ProcessStartInfo.Arguments` string and\nhands it to the OS. The OS command-line parser re-tokenizes the string\nbefore the runner sees it. A double quote (`\"`) in the target or in any\nargument closes the OS-level quoted region and lets the next character\nenter argv as a separate element.\n\n### Patches\nUpgrade to:\n\n- **2.8.5** (2.8.x line)\n- **2.9.4** (2.9.x line)\n- **2.10.5** (2.10.x line)\n- **3.0.0-beta.2** (3.x pre-release line)\n\n### Workarounds\nNo complete workaround is available. Until you can upgrade:\n\n- Strip `\"` from any target or argument before passing it to the\n  factory. On shell runners, also strip `;`, `|`, `&`, `$`, backtick,\n  and parentheses.\n- Or bypass the factory entirely and build the `ProcessConfiguration`\n  directly. Set `ArgumentList` explicitly to the argv you want the\n  runner to receive.\n\nThese are partial mitigations. They shift the quoting problem to your\ncode.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CliInvoke"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.8.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.8.4"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CliInvoke"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.9.0"
      }, {
        "fixed" : "2.9.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.9.3"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CliInvoke"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.10.0"
      }, {
        "fixed" : "2.10.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.10.4"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CliInvoke"
    },
    "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"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "AlastairLundy.CliInvoke"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0-alpha.1"
      }, {
        "fixed" : "2.0.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/alastairlundy/CliInvoke/security/advisories/GHSA-j73w-8hfr-4gc9"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-100369"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alastairlundy/CliInvoke/commit/1e98582f02eb43e345e5b97b8dd6ff9443806685"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alastairlundy/CliInvoke/commit/fac321c7cc9cf4372919842701829ca2be5e7307"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/alastairlundy/CliInvoke"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alastairlundy/CliInvoke/releases/tag/2.10.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alastairlundy/CliInvoke/releases/tag/3.0.0-beta.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-88" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-25T21:41:36Z",
    "nvd_published_at" : "2026-09-25T21:17:21Z"
  }
}