CVE-2026-30309 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary PowerShell commands by bypassing the terminal's blacklist via syntax obfuscation when users import malicious files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-30309?

CVE-2026-30309 is a high-severity command injection vulnerability in n/a, published on 31 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

InfCode's terminal auto-execution module contains a critical command filtering vulnerability that renders its blacklist security mechanism completely ineffective. The predefined blocklist fails to cover native high-risk commands in Windows PowerShell (such as powershell), and the matching algorithm lacks dynamic semantic parsing unable to recognize string concatenation, variable assignment, or double-quote interpolation in Shell syntax. Malicious commands can bypass interception through simple syntax obfuscation. An attacker can construct a file containing malicious instructions for remote code injection. When a user imports and views such a file in the IDE, the Agent executes dangerous PowerShell commands outside the blacklist without user confirmation, resulting in arbitrary command execution or sensitive data leakage.

Weakness: CWE-78

Which versions are affected by CVE-2026-30309?

It affects 1 product.

Products include Tokfinity Infcode.

How do I fix CVE-2026-30309?

No fix has been published for CVE-2026-30309 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-30309 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30309 exists.

Sources

Also known as GHSA-cm3j-25qj-ffhm.

Is CVE-2026-30309 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free