HighVulnerabilityLLM-specific
CVE-2026-30304: AI Code terminal command execution bypassed via prompt injection
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-30304
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%
Summary
CVE-2026-30304 affects AI Code's automatic terminal command execution. Its "Execute safe commands" option runs commands the model classifies as safe without user approval, but the design is highly susceptible to prompt injection. An attacker can wrap any malicious command in a generic template to make the model misclassify it as safe, bypassing approval and enabling arbitrary command execution.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- LowHelp defend against memory poisoning in Amazon Bedrock AgentCore with multi-layer write validationSimilar attack · AWS Security Blog
- MediumTop MCP security resources — November 2026Similar attack · Adversa AI Blog
- LowCVE-2026-123498: Vikunja veans prompt injection through project titles and task contentSimilar attack · NVD/CVE Database
- MediumCVE-2026-124028: mistral.rs delimiter injection allows attacker-chosen tool calls via quoted textSimilar attack · NVD/CVE Database
- MediumCVE-2026-123851: JetBrains Junie GitHub Action prompt injection bypass via HTML encodingSimilar attack · NVD/CVE Database