CVE-2026-30309: InfCode Terminal - Command Injection
- Cve: CVE-2026-30309
- Name: InfCode Terminal - Command Injection
- 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.
- Impact: Attackers can execute arbitrary PowerShell commands remotely, leading to full system compromise or sensitive data leakage.
- Remediation: Update to the latest version with improved command filtering and semantic parsing.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, information_disclosure
- Requirement type: user_interaction
- Requirements: User must import and view a malicious file in the IDE
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00316
- Epss percentile: 0.24717
- Assignee: [email protected]
- Published at: 2026-03-31T15:16:12Z
- Age in days: 238
- Modified at: 2026-07-25T11:10:00Z
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-30309
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/11 | nvd | Issue Tracking, Third Party Advisory |
| https://www.tokfinity.com/infcode | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tokfinity:infcode | <= 1.3.1 | no | nvd | /v1/products/tokfinity/infcode |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| secsys-fdu/llm-tool-calling-cves | issues | yes | /v1/repositories/secsys-fdu/llm-tool-calling-cves |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts