CVE-2026-30309

Published Mar 31, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title InfCode Terminal Auto‑Execution Vulnerability Allowing Arbitrary PowerShell Command Execution
Type Values Removed Values Added
CPEs cpe:2.3:a:tokfinity:infcode:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Tokfinity
Tokfinity infcode
Vendors & Products Tokfinity
Tokfinity infcode
Type Values Removed Values Added
Title InfCode Terminal Auto‑Execution Vulnerability Allowing Arbitrary PowerShell Command Execution
Type Values Removed Values Added
Weaknesses CWE-78
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 31, 2026, 3:15 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Analyzed
Published
Mar 31, 2026, 3:16 PM
Modified
Jul 25, 2026, 11:10 AM