Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStage poisoned repo or injection payload
-
DeliveryLure developer to load workspace in Kiro
-
ExploitAgent writes .vscode/tasks.json via unrestricted file write tool
-
ExecutionDeveloper opens or reloads folder
-
PersistfolderOpen task auto-executes attacker command
-
ImpactCode execution as developer user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
|
| Exploitation Conditions | Exploitation requires (1) the victim to be running Kiro IDE before version 0.11 with the agent's file write tool enabled, (2) attacker-controlled content to reach that tool - typically via a crafted repository, prompt-injection payload in indexed/untrusted content, or an MCP/tool response the agent is induced to act on, and (3) the user to open or reopen the affected workspace folder (CVSS UI:A), which triggers the planted .vscode/tasks.json (or equivalent execution-sensitive path) on folderOpen. Limiting factors: no special OS privileges are needed (PR:N) and no network services need to be exposed, but the attack does not fire without the workspace-open user action and depends on Kiro's VS Code-derived task-runner behavior honoring runOn:folderOpen; environments that never open untrusted folders in Kiro are not realistically reachable. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H is consistent with the described attack: remote, low complexity, no privileges, but requires the user to open (or reopen) the poisoned folder - captured by UI:A (Active user interaction). Real-world risk hinges on how attacker content reaches the file write tool: in agentic IDEs this typically happens via prompt injection from untrusted repos, READMEs, issue text, or MCP tool output, which is a realistic and increasingly observed delivery path. No EPSS score, KEV listing, SSVC decision, or public PoC was provided, so exploitation is unconfirmed; however, the low complexity, the prevalence of similar 'tasks.json on folderOpen' abuse patterns against VS Code-family IDEs, and the AI-agent attack surface make this a credible prioritization target for any team running Kiro. There is no conflict between signals, but the absence of EPSS/KEV/PoC data means severity rests primarily on CVSS and the qualitative attack-pattern fit. |
| Exploit ScenarioDerived | An attacker publishes a repository (or a prompt-injection payload in a README, issue, or MCP-served document) that instructs the Kiro agent to create or modify .vscode/tasks.json with a task whose runOptions.runOn is 'folderOpen' and whose command launches a reverse shell or downloader. The developer accepts the agent's edits and reopens the folder - or simply reloads the window - at which point the malicious task executes under the developer's user account, yielding code execution on the workstation. No public PoC has been identified, but the technique mirrors well-documented VS Code tasks.json auto-run abuse. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 02, 2026
Arbitrary command execution in Amazon Kiro IDE versions prior to 0.11 allows remote attackers to plant malicious task definitions (e.g., .vscode/tasks.json) via the IDE's file write tool, which then auto-execute when a developer opens the affected workspace folder. The CVSS 4.0 score of 8.6 reflects network-reachable abuse with high confidentiality, integrity, and availability impact contingent on a single user action (folder open). No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
Earlier versions of this analysis (2)
Arbitrary command execution in Amazon Kiro IDE before version 0.11 allows remote unauthenticated attackers to abuse a permissive file write tool to drop files into execution-sensitive paths such as .vscode/tasks.json, which auto-execute when the affected folder is opened. No public exploit identified at time of analysis, but the CVSS 4.0 base score of 8.6 and the AI-assisted IDE attack surface make this a high-priority desktop-developer exposure. The bug stems from CWE-732 (incorrect permission assignment) - the write tool does not restrict which paths the model/agent flow may write to.
Remote code execution in Amazon Kiro IDE before version 0.11 allows unauthenticated attackers to coerce the IDE's file-write tooling into writing attacker-controlled content to execution-sensitive paths such as .vscode/tasks.json, which auto-executes when the affected folder is opened. The flaw stems from insufficient access control on writable paths exposed by an AI/agentic tool surface and carries a CVSS 8.8 (AV:N/AC:L/PR:N/UI:R) rating; no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: Amazon Kiro IDE 0.11 - upgrade all developer workstations to 0.11 or later per the AWS security bulletin (https://aws.amazon.com/security/security-bulletins/2026-037-aws/) and the changelog (https://kiro.dev/changelog/ide/0-11/). Until the upgrade is rolled out, avoid opening untrusted repositories or AI-generated workspaces in Kiro, and treat any folder the agent has written into as untrusted; inspect .vscode/tasks.json (and equivalent auto-run manifests like .vscode/launch.json or settings.json scripts) before reopening a workspace, since malicious entries execute on folder open. As a structural control, open suspect projects in VS Code's Restricted Mode equivalent or inside a disposable dev container/VM so any auto-run tasks fire in an isolated context - the trade-off is loss of full IDE/agent capabilities and added friction for legitimate workspace setup tasks.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Kiro IDE is AWS's AI-assisted development environment (cpe:2.3:a:aws:kiro_ide:*) that exposes an agent-driven file write tool. The flaw is a CWE-732 (Incorrect Permission Assignment for Critical Resource) issue: the write tool fails to restrict which paths the agent may modify, treating execution-sensitive locations like the VS Code workspace task manifest (.vscode/tasks.json) the same as ordinary source files. Because VS Code-derived IDEs honor 'runOn: folderOpen' task entries, any attacker-controlled content written there is executed by the host shell as soon as the workspace is reopened, converting a file-write primitive into code execution.
Know when Kiro Ide 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (AMZN) · only source for this CVE.
CVSS VectorVendor: AMZN
Lifecycle Timeline
4DescriptionCVE.org
Insufficient access control restrictions in the file write tool in Amazon Kiro IDE before version 0.11 might allow remote unauthenticated actors to execute arbitrary commands via crafted instructions that cause writes to execution-sensitive paths (such as .vscode/tasks.json), enabling auto-execution on folder open.
To remediate this issue, users should upgrade to Kiro IDE version 0.11 or later.
Executive ViewAI
Amazon Kiro IDE versions prior to 0.11 contain a critical vulnerability allowing remote attackers to execute arbitrary code on developer workstations by planting malicious task configuration files that auto-execute when a workspace is opened. This directly threatens source code integrity and confidentiality, creating risk of code theft, supply chain compromise, or persistent backdoor installation. Development teams using affected IDE versions represent high-value targets for attackers seeking access to proprietary code and internal infrastructure.
Vendor-released patch: Amazon Kiro IDE version 0.11 or later. Interim mitigations if immediate upgrade not feasible: disable auto-execution of IDE task definitions in workspace settings; restrict IDE file write capabilities; enforce mandatory code review on all commits from affected developers; monitor development machines for unexpected outbound network connections.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
A trust boundary enforcement vulnerability in Kiro IDE allows remote attackers to execute arbitrary code when a local us
Amazon Kiro IDE versions before 1.0.242 can have attacker-controlled content written into the agent's auto-loaded global
Remote code execution via uncontrolled search path (CWE-427) in Amazon Kiro IDE before 1.0.228 on Windows allows an unau
Kiro IDE versions before 0.6.18 are vulnerable to command injection when processing maliciously named workspace folders
Arbitrary code execution in AWS Kiro IDE versions prior to 0.8.140 occurs when a local user opens a maliciously crafted
Authentication token cache file exposure in Kiro IDE on macOS and Linux allows any local user to read credentials belong
Workspace data exfiltration in Amazon Kiro IDE before version 0.8.135 allows remote unauthenticated attackers to steal d
EUVD-2026-33964
GHSA-83m8-c7v3-rw3w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB