CVE-2026-30309

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:tokfinity:infcode:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-31 15:16

Updated : 2026-07-25 11:10


NVD link : CVE-2026-30309

Mitre link : CVE-2026-30309

CVE.ORG link : CVE-2026-30309


JSON object : View

Products Affected

tokfinity

  • infcode
CWE
CWE-78

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