RCE in Tokfinity Infcode
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.003 (22.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Tokfinity Infcode
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Product)
- cve@mitre.org (Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2026-30309?
- CVE-2026-30309 is a high-severity vulnerability in Tokfinity Infcode, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-03-31.
- How severe is CVE-2026-30309?
- High severity. CVSS v3 base score is 7.8 out of 10.