Skip to main content

CVE-2026-100368: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in alastairlundy CliInvoke.Specializations

0
High
VulnerabilityCVE-2026-100368cvecve-2026-100368cwe-78
Published: 09/25/2026 (09/25/2026, 19:53:56 UTC)
Source: CVE Database V5
Vendor/Project: alastairlundy
Product: CliInvoke.Specializations

Description

CVE-2026-100368 is an OS command injection vulnerability in the alastairlundy CliInvoke.Specializations .NET library, affecting its PowerShell and Cmd wrappers. The vulnerability allows untrusted input containing double quotes to break shell quoting and execute arbitrary commands with the host process's privileges. Multiple versions from 1.0.0-rc.1 through 3.0.0-alpha.10 are affected. Patches are available in versions 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1, and 2.0.2 for the respective packages. No complete workaround exists; users unable to upgrade should sanitize inputs by removing double quotes and shell metacharacters or avoid using the vulnerable wrappers.

CVSS v3.1

Score 8.4high

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

Affected software

alastairlundy

CliInvoke.Specializations

Affected versions
>=2.2.0 <=2.8.4>=2.9.0 <=2.9.3>=2.10.0 <=2.10.4>=3.0.0-alpha.1 <=3.0.0-alpha.4>=3.0.0-alpha.8 <=3.0.0-alpha.10>=1.0.0-rc.1 <=1.6.1.1
cliinvoke.specializations
pkg:nuget/cliinvoke.specializations
Affected versions
>=2.2.0 <=2.8.4>=2.9.0 <=2.9.3>=2.10.0 <=2.10.4>=3.0.0-alpha.1 <=3.0.0-alpha.4>=3.0.0-alpha.8 <=3.0.0-alpha.10
alastairlundy.cliinvoke.specializations
pkg:nuget/alastairlundy.cliinvoke.specializations
Affected versions
>=1.0.0-rc.1 <=1.6.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/25/2026, 20:17:42 UTC

Technical Analysis

CliInvoke.Specializations, a .NET library providing wrappers for invoking command-line shells like PowerShell and Windows Command Prompt, contains an OS command injection vulnerability (CWE-78) in versions 2.2.0 through 2.8.4, 2.9.0 through 2.9.3, 2.10.0 through 2.10.4, 3.0.0-alpha.1 through 3.0.0-alpha.4, 3.0.0-alpha.8 through 3.0.0-alpha.10, and AlastairLundy.CliInvoke.Specializations versions 1.0.0-rc.1 through 1.6.1.1. The vulnerability arises because the wrappers pass a caller-controlled target and arguments to the shell commands using a single ProcessStartInfo.Arguments string, allowing a double quote in untrusted input to break quoting and cause execution of additional commands with the host process's privileges. The issue is patched in versions 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1, and 2.0.2 respectively. No complete workaround exists; partial mitigations include rejecting or removing double quotes and shell metacharacters or bypassing the vulnerable wrappers.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the host process running the vulnerable CliInvoke.Specializations wrappers. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts as indicated by the CVSS score of 8.4 (high).

Mitigation Recommendations

Official patches are available in CliInvoke.Specializations versions 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.1, and AlastairLundy.CliInvoke.Specializations version 2.0.2. Users should upgrade to these versions to fully remediate the vulnerability. No complete workaround exists; users unable to upgrade should sanitize inputs by rejecting or removing double quotes from target paths and arguments, additionally reject shell metacharacters in affected versions 2.2.0 through 2.9.2 and 3.0.0-alpha.1 through 3.0.0-alpha.4, or bypass the PowerShell and Cmd wrappers and invoke target processes directly when handling untrusted input.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-25T19:19:54.698Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ab6d38ff7a7c54106395196

Added to database: 09/25/2026, 20:03:27 UTC

Last enriched: 09/25/2026, 20:17:42 UTC

Last updated: 09/25/2026, 20:22:12 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses