Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft obfuscated PowerShell command using string concatenation
-
DeliveryPlace malicious file in accessible location
-
ExploitUser executes file via InfCode terminal
-
ExecutionBypass ineffective command blacklist filter
-
ImpactExecute arbitrary system commands with user privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires InfCode terminal auto-execution module enabled. Local attacker delivers crafted file to victim who opens/executes it. Exploits incomplete command blacklist and syntax obfuscation evasion in PowerShell command filtering. Windows systems affected. |
| Impact | While CVSS scoring data is not available, the vulnerability presents substantial real-world risk based on threat model analysis. The attack vector is network-based (file import) and requires no elevated privileges or authentication, placing it within reach of external attackers who can distribute malicious files. The attack complexity is low-simple syntax obfuscation defeats the blacklist, and the attack surface is the IDE's file import feature used during normal development workflow. The technical impact is complete system compromise: arbitrary command execution in the context of the user running InfCode. The lack of user confirmation on auto-execution eliminates compensating controls. The vulnerability appears to be a logic flaw rather than a cryptographic or memory-safety issue, making it broadly exploitable without environment-specific exploitation mitigations. The information disclosure and Microsoft product tags suggest this affects Windows PowerShell environments specifically, which represent a significant portion of enterprise development infrastructure. Without EPSS or CISA KEV data, risk prioritization should rely on the attack surface (file import by developers) and impact (arbitrary code execution), both of which are severe. |
| Exploit ScenarioDerived | An attacker crafts a malicious InfCode project file containing obfuscated PowerShell commands-for example, using variable concatenation like ${env:PSHome}/powershell.exe or escaped characters to bypass simple string filtering. The attacker distributes this file via email, a compromised code repository, or social engineering, targeting developers who use InfCode. When a developer imports and views the file in the IDE, the auto-execution feature triggers without confirmation, and the obfuscated command successfully bypasses the blacklist. The Agent then executes arbitrary PowerShell code with the privileges of the user running InfCode, enabling data theft, lateral movement within the development environment, or supply-chain compromise of downstream software built with credentials or artifacts from the compromised machine. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
InfCode's terminal auto-execution module fails to properly validate PowerShell commands due to an ineffective blacklist and lack of semantic parsing, allowing attackers to bypass command filtering through syntax obfuscation. When a user imports a specially crafted file into the IDE, the Agent executes arbitrary PowerShell commands without user confirmation, leading to remote code execution or sensitive data exfiltration. No public exploit code or active exploitation has been confirmed at time of analysis.
RemediationAI
The primary remediation requires InfCode to replace its static blacklist with a robust input validation and command execution architecture. This should include: (1) implementing dynamic semantic parsing or abstract syntax tree (AST) analysis to recognize PowerShell syntax obfuscation techniques, not just string matching; (2) switching to an allowlist approach (permitting only necessary, low-risk commands) rather than a blocklist; (3) sandboxing command execution to restrict filesystem and network access; and (4) requiring explicit user confirmation before executing any imported code, with clear visibility into what commands will execute. Users should immediately disable auto-execution features in InfCode if the option is available, and avoid importing untrusted files. No vendor-released patch has been confirmed at time of analysis; monitor InfCode's official channels and GitHub repository for security updates. Until patched, treat all imported files as potentially malicious and review their contents in a text editor before opening them in the IDE.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in InfCode's command filtering mechanism, which relies on a static blacklist to prevent execution of dangerous PowerShell commands such as 'powershell' itself. The filtering algorithm lacks semantic parsing capabilities and cannot recognize obfuscation techniques commonly used in PowerShell syntax, including string concatenation, variable assignment, and double-quote interpolation. This is fundamentally a CWE-426 or CWE-94 class issue-untrusted data flows directly to code execution without proper input validation or sandboxing. The root cause is the assumption that simple string matching can defend against command injection when the underlying command interpreter supports multiple syntax variants and obfuscation methods. The IDE's auto-execution feature compounds this by executing code implicitly during file import without explicit user confirmation, eliminating human verification as a secondary control.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in AI Code Auto-Approval Command Injection
View all 5LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-17421
GHSA-cm3j-25qj-ffhm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB