Intel

AIKIDO-2026-930319

powershell-utils is vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

GHSA-x2gq-3jjh-794hPublished Oct 15, 2026
October 15, 2026

75

CVE Score

High

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Are you affected? Scan for Free

TL;DR

powershell-utils exposes executePowerShell/executePowerShellSync, which build a PowerShell command string by calling escapeArgument to quote caller-supplied argument values before passing them to the PowerShell process. In versions up to 0.2.0, escapeArgument only doubled the ASCII single quote character, leaving several typographic single-quote variants (U+2018, U+2019, U+201A, U+201B) unescaped even though PowerShell's tokenizer treats them as equivalent string delimiters. An argument value containing one of these characters could prematurely close the quoted string and allow additional PowerShell statements to be appended.

How do I fix this?

Upgrade the powershell-utils package to version 0.2.1 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes values that may contain typographic quote characters into executePowerShell or executePowerShellSync as command arguments built with escapeArgument.

Versions

0.1.0 - 0.2.0

Fixed in 0.2.1

Background info

powershell-utils is vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in versions 0.1.0 - 0.2.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea