Injection de commande OS dans CliInvoke.Specializations (CVE-2026-100368)
Résumé
Injection de commande OS dans CliInvoke.Specializations (CVE-2026-100368). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via CliInvoke.Specializations. Atténuation : mise à jour vers 3.0.0-beta.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
An OS command injection vulnerability exists in the PowerShell and Cmd shell wrappers provided by the CliInvoke.Specializations package (the PowershellProcessInvoker/CmdProcessInvoker invokers, and the UsePowerShell/UseCmd middleware in v3 pre-release versions).
The wrappers re-run a caller-supplied target and arguments inside a shell command (pwsh -Command ... / cmd /c ...). In affected versions the wrapped command was delivered to the operating system as a single ProcessStartInfo.Arguments string. The OS command-line parser re-tokenizes that string before the shell parses it, so a double quote (") in the target or arguments breaks OS-level quoting and lets the wrapped shell reassemble a second, unintended command.
An attacker could exploit this to execute arbitrary commands with the privileges of the host process.
Patches
The Specializations Packages now deliver the command via ProcessStartInfo.ArgumentList (natively where supported, and polyfilled in older TFMs), so that the operating system passes argv verbatim and only the shell parses the command once.
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.1 (3.x pre-release line)
Workarounds
No complete workaround is available. Until upgraded:
- Reject or strip
"from any target path or argument passed to the PowerShell/Cmd wrappers. On 2.2.0 – 2.9.2 and 3.0.0-alpha.1 – alpha.4, also reject shell metacharacters (;,|…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-100368 a été découverte dans CliInvoke.Specializations.
Des attaquants peuvent cibler un point d'entrée spécifique comme CliInvoke.Specializations à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 8.4/10.
Action : mettez à jour CliInvoke.Specializations vers 3.0.0-beta.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « CliInvoke.Specializations CVE-2026-100368 » sur le site de l'éditeur.
CVE-2026-100368 (CliInvoke.Specializations) — CWE-78 / CVSS v3 8.4
Vecteur d'attaque : local / non authentifié / sans interaction utilisateur
Surface d'attaque : CliInvoke.Specializations / PowershellProcessInvoker / CmdProcessInvoker / UsePowerShell
Correctif : 3.0.0-beta.1 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une injection de commande OS (CWE-78) affecte CliInvoke.Specializations. Les attaquants atteignent le code vulnérable via CliInvoke.Specializations sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de CliInvoke.Specializations. Surface d'attaque : CliInvoke.Specializations / PowershellProcessInvoker / CmdProcessInvoker / UsePowerShell.
Gravité : Élevée (CVSS 8.4/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 3.0.0-beta.1.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'CliInvoke.Specializations' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
CliInvoke.Specializationsを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade CliInvoke.Specializations to 3.0.0-beta.1ステージング環境で 3.0.0-beta.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web github.com
- web nvd.nist.gov
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com