CVE-2026-30304 | AI Code Terminal Command injection
VulDBArchived Mar 27, 2026✓ Full text saved
A vulnerability was found in AI Code . It has been classified as critical . This affects an unknown function of the component Terminal Command Handler . This manipulation causes injection. This vulnerability is handled as CVE-2026-30304 . The attack can be initiated remotely. There is not any exploit available.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-353912 · CVE-2026-30304 · GCVE-0-2026-30304
AI CODE TERMINAL COMMAND INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.3 $0-$5k 1.09+
Summaryinfo
A vulnerability was found in AI Code. It has been declared as critical. This impacts an unknown function of the component Terminal Command Handler. Such manipulation leads to injection. This vulnerability is uniquely identified as CVE-2026-30304. The attack can be launched remotely. No exploit exists.
Detailsinfo
A vulnerability was found in AI Code (version now known) and classified as critical. Affected by this issue is some unknown processing of the component Terminal Command Handler. The manipulation with an unknown input leads to a injection vulnerability. Using CWE to declare the problem leads to CWE-74. The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:
In its design for automatic terminal command execution, AI Code offers two options: Execute safe commands and execute all commands. The description for the former states that commands determined by the model to be safe will be automatically executed, whereas if the model judges a command to be potentially destructive, it still requires user approval. However, this design is highly susceptible to prompt injection attacks. An attacker can employ a generic template to wrap any malicious command and mislead the model into misclassifying it as a 'safe' command, thereby bypassing the user approval requirement and resulting in arbitrary command execution.
The advisory is shared for download at marketplace.visualstudio.com. This vulnerability is handled as CVE-2026-30304 since 03/04/2026. The exploitation is known to be easy. The attack may be launched remotely. There are neither technical details nor an exploit publicly available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 03/27/2026). The MITRE ATT&CK project declares the attack technique as T1055.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Productinfo
Type
Artificial Intelligence Software
Name
AI Code
CPE 2.3info
🔒
CPE 2.2info
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.3
VulDB Base Score: 6.3
VulDB Temp Score: 6.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Injection
CWE: CWE-74 / CWE-707 / CWE-20
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: no mitigation known
Status: 🔍
0-Day Time: 🔒
Timelineinfo
03/04/2026 CVE reserved
03/27/2026 +23 days Advisory disclosed
03/27/2026 +0 days VulDB entry created
03/27/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: marketplace.visualstudio.com
Status: Not defined
CVE: CVE-2026-30304 (🔒)
GCVE (CVE): GCVE-0-2026-30304
GCVE (VulDB): GCVE-100-353912
Entryinfo
Created: 03/27/2026 15:43
Changes: 03/27/2026 15:43 (52)
Complete: 🔍
Cache ID: 99:085:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸