Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tokfinity | Infcode | <= 1.3.1 |
Related Weaknesses (CWE)
References
- https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/11Third Party AdvisoryIssue Tracking
- https://www.tokfinity.com/infcodeProduct
FAQ
What is CVE-2026-30309?
CVE-2026-30309 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 cov...
How severe is CVE-2026-30309?
CVE-2026-30309 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-30309?
Check the references section above for vendor advisories and patch information. Affected products include: Tokfinity Infcode.