CVE-2026-30309
JSON

7.8high

InfCode's terminal auto-execution module contains a critical command filtering vulnerability that renders its blacklist security mechanism…

Severity
7.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.35% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
tokfinity infcodeup to 1.3.1NVD

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

El módulo de auto-ejecución de terminal de InfCode contiene una crítica vulnerabilidad de filtrado de comandos que hace que su mecanismo de seguridad de lista negra sea completamente ineficaz. La lista de bloqueo predefinida no cubre comandos nativos de alto riesgo en Windows PowerShell (como powershell), y el algoritmo de coincidencia carece de análisis semántico dinámico incapaz de reconocer la concatenación de cadenas, la asignación de variables o la interpolación de comillas dobles en la sintaxis de Shell. Los comandos maliciosos pueden eludir la intercepción mediante una simple ofuscación de sintaxis. Un atacante puede construir un archivo que contenga instrucciones maliciosas para la inyección remota de código. Cuando un usuario importa y visualiza dicho archivo en el IDE, el Agente ejecuta comandos peligrosos de PowerShell fuera de la lista negra sin confirmación del usuario, lo que resulta en la ejecución arbitraria de comandos o la fuga de datos sensibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-30309 changed 2026-03-31CVE Terms of Use
NVDCVE-2026-30309 changed 2026-07-25Public domain