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
| Link | Resource |
|---|---|
| https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/11 | Third Party Advisory Issue Tracking |
| https://www.tokfinity.com/infcode | Product |
Configurations
History
14 Apr 2026, 15:49
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/11 - Third Party Advisory, Issue Tracking | |
| References | () https://www.tokfinity.com/infcode - Product | |
| First Time |
Tokfinity infcode
Tokfinity |
|
| CPE | cpe:2.3:a:tokfinity:infcode:*:*:*:*:*:*:*:* |
31 Mar 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-78 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
31 Mar 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-31 15:16
Updated : 2026-04-14 15:49
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')
