{"id":"GHSA-j73w-8hfr-4gc9","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.","aliases":["CVE-2026-100369"],"modified":"2026-09-25T23:00:41.098525198Z","published":"2026-09-25T21:41:36Z","database_specific":{"github_reviewed_at":"2026-09-25T21:41:36Z","nvd_published_at":"2026-09-25T21:17:21Z","cwe_ids":["CWE-88"],"severity":"HIGH","github_reviewed":true},"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"}],"affected":[{"package":{"name":"CliInvoke","ecosystem":"NuGet","purl":"pkg:nuget/CliInvoke"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.8.5"}]}],"versions":["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":"\u003c= 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"}},{"package":{"name":"CliInvoke","ecosystem":"NuGet","purl":"pkg:nuget/CliInvoke"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.4"}]}],"versions":["2.9.0","2.9.1","2.9.2","2.9.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 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"}},{"package":{"name":"CliInvoke","ecosystem":"NuGet","purl":"pkg:nuget/CliInvoke"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"fixed":"2.10.5"}]}],"versions":["2.10.1","2.10.2","2.10.3","2.10.4"],"database_specific":{"last_known_affected_version_range":"\u003c= 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"}},{"package":{"name":"CliInvoke","ecosystem":"NuGet","purl":"pkg:nuget/CliInvoke"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0-alpha.1"},{"fixed":"3.0.0-beta.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j73w-8hfr-4gc9/GHSA-j73w-8hfr-4gc9.json","last_known_affected_version_range":"\u003c= 3.0.0-beta.1"}},{"package":{"name":"AlastairLundy.CliInvoke","ecosystem":"NuGet","purl":"pkg:nuget/AlastairLundy.CliInvoke"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-alpha.1"},{"fixed":"2.0.2"}]}],"versions":["2.0.0"],"database_specific":{"last_known_affected_version_range":"\u003c= 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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}