CVE-2026-136267 in Kiro Web
Summary
by MITRE • 11/25/2026
Improper sanitization of mixed data and markup elements when processing content in Kiro Web before 2026-10-30, in combination with agents running specific models such as DeepSeek v3.2, GLM-5, MiniMax M2.1, MiniMax M2.5, or Qwen3-coder-next, may allow a remote unauthenticated actor to execute arbitrary commands in a subscriber's hosted development environment via crafted content being repeated back to the user by the agent.
AWS has addressed this issue. No customer action is required.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/28/2026
The vulnerability described involves an improper sanitization of mixed data and markup elements within the Kiro Web application, specifically affecting versions released prior to October 30, 2026. This flaw arises from a failure in the input validation and output encoding mechanisms when processing content that contains both structured data and executable markup. The core technical issue lies in how the system handles user-supplied inputs that are subsequently processed by integrated artificial intelligence agents running specific large language models such as DeepSeek v3.2, GLM-5, MiniMax M2.1, MiniMax M2.5, or Qwen3-coder-next. These AI agents possess the capability to interpret and generate code or commands based on contextual prompts. When a malicious actor provides crafted content that includes hidden markup or script elements designed to bypass standard sanitization filters, the system fails to adequately escape these characters before passing them to the model for processing.
The operational impact of this vulnerability is severe because it enables remote unauthenticated command execution within a subscriber's hosted development environment. The attack vector relies on social engineering and technical exploitation combined: an attacker crafts content that appears benign or contextually relevant but contains embedded malicious instructions. When this crafted input is submitted, the Kiro Web application processes it without sufficient sanitization and feeds it to one of the supported AI agents. Due to the specific behavior of these models in interpreting code-like structures within mixed data contexts, the agent may execute the injected commands as if they were legitimate development tasks. Crucially, because the output or side effects are repeated back to the user by the agent, the attacker can observe the results and further refine their attacks. This creates a feedback loop that allows for persistent access and control over the victim's environment without requiring authentication credentials, effectively bypassing traditional security boundaries.
From a classification perspective, this vulnerability aligns with CWE-79: Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting (XSS), but extends into server-side command injection due to the integration with AI agents that execute code. It also relates to CWE-20: Improper Input Validation and CWE-835: Loop with Unreachable Exit Condition if the sanitization logic fails repeatedly. In terms of offensive security frameworks, this attack pattern corresponds to MITRE ATT&CK technique T1059: Command and Scripting Interpreter, specifically through automated exploitation via AI-assisted code generation. The use of large language models as an execution engine introduces a novel vector where semantic understanding is exploited to bypass syntactic checks, highlighting the risks associated with integrating generative AI into development workflows without robust sandboxing or strict input/output filtering protocols.
Mitigation strategies must focus on both immediate remediation and long-term architectural changes. AWS has addressed this issue in subsequent releases of Kiro Web, so updating to a version released after October 30, 2026 is the primary corrective action for affected subscribers. For environments that cannot immediately upgrade, implementing strict Content Security Policy headers can help mitigate some aspects of script execution. Additionally, developers should enforce rigorous input validation on all user-supplied data before it reaches any AI processing layer, ensuring that only expected character sets are permitted and that markup is properly escaped or stripped. It is also advisable to restrict the permissions of the hosted development environment so that even if command injection occurs, the blast radius is limited by principle of least privilege. Regular security audits focusing on how mixed data types are handled in conjunction with external AI services will help prevent similar vulnerabilities from emerging as more organizations adopt generative AI tools into their CI/CD pipelines and IDEs.