Kiro prompt injection: AWS bulletins and fixes

AWS has published three Kiro prompt injection and file write issues, each fixed in a specific IDE or CLI version. Reviewers need the affected versions, what changed, and which controls still matter after the patch.

On this page

Does Kiro's prompt injection record meet a security review?

Kiro has no blanket protection against prompt injection, so a security review cannot accept a general statement that the product is safe. AWS has published several bulletins on this attack class, and each is fixed in a named version. AWS-2025-019, published October 7, 2025, covers arbitrary code execution through IDE or MCP settings files without human confirmation in Autopilot or Supervised mode. Its fix requires confirmation in Supervised mode from Kiro 0.1.42, released August 1, 2025. 2026-037-AWS covers CVE-2026-10591, where crafted instructions could steer the Kiro IDE file write tool into execution-sensitive paths such as .vscode/tasks.json. GHSA-cv6r-hx5v-c4m6 (CVE-2026-9255) covers the Kiro CLI, where crafted content piped through stdin could run tools, including shell commands, without user approval. Each issue is fixed in a different release line, so the review question is which version each team runs.

The file write issue needs the most attention. The 2026-037-AWS bulletin says it is fixed in Kiro IDE 0.11 and lists no workaround, so upgrading is the only remediation on record. Do not treat Supervised mode as the control that closes this gap. Kiro's privacy and security overview describes Supervised mode as a code review workflow, and the 2025 fix added a confirmation step for specific actions in one release. It does not establish that every file write or tool call is gated. Confirm with AWS which modes and actions each bulletin covers before the team relies on a mode setting.

For the review, ask for a current inventory of Kiro IDE and CLI versions on developer machines, shared workstations and CI hosts, along with a plan to block versions below the fixed releases (Kiro IDE 0.11 and Kiro CLI 1.28.0). Then ask which controls the organization can enforce to limit file writes, shell commands and MCP calls, including the permissions and sandbox settings and any admin policies. Test those controls in a non-production environment with crafted test files that try to write to .vscode/tasks.json (illustrative). Assign someone to track new AWS bulletins, since each new identifier can change the minimum version the team must run.

Known Kiro prompt injection issues by version and fix

This table lists each published Kiro prompt injection issue with its component, affected and fixed versions, publication date and workaround. Read the fixed and workaround columns together, and confirm any cell marked as not stated against the bulletin before approving a version. The key takeaway is that the IDE and CLI issues have different fixes, and Autopilot mode has no fixed version stated, so treat it as open until AWS confirms otherwise.

IssueComponent and affected versionsFixed version and workaroundPublished
AWS-2025-019, Supervised modeKiro IDE and MCP settings files. Confirm the affected range in the bulletin.Kiro 0.1.42 requires human confirmation in Supervised mode. No workaround stated. Confirm.October 7, 2025
AWS-2025-019, Autopilot modeKiro IDE and MCP settings files. Indirect prompt injection runs code without confirmation.No fixed version stated for Autopilot. No workaround stated. Confirm with AWS.October 7, 2025
CVE-2026-10591 (2026-037-AWS)Kiro IDE file write tool. Crafted instructions can write execution-sensitive paths such as .vscode/tasks.json. Affected: before 0.11.Fixed in Kiro IDE 0.11. The bulletin lists no workaround.June 2, 2026
CVE-2026-9255 (GHSA-cv6r-hx5v-c4m6)Kiro CLI. Crafted content piped through stdin runs tools, including shell commands, without approval. Affected: before 1.28.0.Fixed in Kiro CLI 1.28.0, implied by the affected range. No workaround stated. Confirm.Confirm the date in the advisory

How indirect prompt injection reaches Kiro's tools

The common thread across the Kiro bulletins is that the agent acts on text it did not get from the user. In indirect prompt injection, instructions sit inside content the agent reads while doing ordinary work: a source file, a comment, an IDE or MCP settings file, or text piped into the CLI through stdin. The model cannot reliably tell a developer's request from an instruction embedded in that content, so an agent with tools may follow the embedded text and call them. AWS-2025-019 describes this path for arbitrary code execution through IDE or MCP settings files, and the GitHub advisory GHSA-cv6r-hx5v-c4m6 describes the same pattern for crafted content piped into the Kiro CLI.

The tools are what turn a steered response into an effect. A shell command runs with the developer's privileges, and a file write can change anything the account can reach. CVE-2026-10591, covered in bulletin 2026-037-AWS, shows why path choice matters: crafted instructions could direct the file write tool in Kiro IDE before 0.11 to write execution-sensitive paths such as .vscode/tasks.json. A file written there does not need a second prompt to run, because the editor runs it later on its own. Writes to such files, and to MCP and IDE configuration, are the places to focus a review.

For the rollout decision, confirm three things with AWS and in your own environment: which Kiro IDE and CLI versions your developers run, which mode they use (Autopilot or Supervised), and which tools and paths the agent can reach without a prompt. Supervised mode is a code review workflow, not a security control, so it should not be the only barrier. Ask your team to review which repositories and MCP servers are trusted, and to treat files from outside sources as untrusted input before an agent reads them.

Which Kiro controls limit this class of attack

Tool and command permissions decide what the agent may run without a person approving it first. AWS-2025-019 describes arbitrary code execution through indirect prompt injection via IDE or MCP settings files, where Kiro acted without human confirmation in Autopilot or Supervised mode. AWS says Kiro 0.1.42, released August 1, 2025, requires human confirmation for these actions in Supervised mode, so the approval mode is the first control to check. Kiro's privacy and security overview describes Supervised mode as a code review workflow, which means it should not be counted as a security control on its own.

  • Autopilot mode: actions run without per-action confirmation, so limit it to repositories that do not process untrusted content, and confirm whether admins can lock this setting centrally.
  • Supervised mode from 0.1.42: confirmation is required for the actions named in AWS-2025-019, so verify the version on every workstation.
  • CLI input from stdin: GHSA-cv6r-hx5v-c4m6 says Kiro CLI before 1.28.0 let piped content run tools without approval, so set a minimum CLI version.
  • Command rules: ask whether allowlists and denylists are available and whether they apply equally to the IDE, the CLI and the web client.

Built in: the approval modes ship with Kiro. Requires Kiro Enterprise: any central enforcement across users (confirm). Customer supplied: the written standard for which mode developers use on which repositories. Check the approval mode and CLI version on each endpoint against the Kiro permissions and sandbox documentation before assuming any mapping.

Where a poisoned input can reach an action

The diagram starts with untrusted content: a repository file, an MCP settings file, or text piped through stdin. That content enters the agent context, and the model proposes a tool call. In Supervised mode, a human must confirm the action, which is the control AWS-2025-019 credits with blocking the settings-file attack in Kiro 0.1.42 and later. In Autopilot mode, the proposed call runs without that confirmation. File writes pass through the file write tool, where the path check failed before Kiro IDE 0.11. Check which mode your users run, which versions they have installed, and whether command execution happens in the sandbox or on the host.

Untrusted inputs reach a tool call through the model, with approval, path and execution checks along the way.

Gaps that patching alone leaves open

The Kiro fixes close specific code paths, but they do not tell an organization which versions are running, which repositories carry risky configuration files, or which agent modes are in use. The cards below cover the gaps that remain after an upgrade and the checks that close them.

No workaround until upgrade

AWS-2025-019 and 2026-037-AWS list no workaround for the IDE file write issue (CVE-2026-10591), so the only remedy is moving to Kiro IDE 0.11 or later. Until every developer machine is upgraded, the exposure stays open for each unpatched install. Ask the vendor to confirm whether any configuration change reduces the risk on older builds, and record that answer in the change ticket. Treat the bulletin as a required upgrade, not an optional hardening step.

Read bulletin 2026-037-AWS

Autopilot mode exposure

AWS-2025-019 describes code execution through indirect prompt injection in IDE or MCP settings files, without human confirmation in Autopilot or Supervised mode. Autopilot removes the confirmation step by design, so any agent session in that mode is exposed to crafted content it reads. Check which users run Autopilot, whether the setting is enforced centrally, and whether those users work in repositories from outside the company.

Read bulletin AWS-2025-019

Pre-1.28.0 CLI stdin exposure

GHSA-cv6r-hx5v-c4m6 (CVE-2026-9255) reports that Kiro CLI before 1.28.0 ran tools, including shell commands, from crafted content piped through stdin without user approval. Scripts, pipelines and CI jobs that pass external text into the CLI can trigger this path even when no developer types a command. Inventory every CLI binary, including those in build images and automation, and confirm each is at 1.28.0 or later.

Read advisory GHSA-cv6r-hx5v-c4m6

Supervised mode is not a control

Kiro's privacy and security overview states that Supervised mode is a code review workflow, not a security control. Developers may still approve actions they do not fully read, especially when a long agent session presents many prompts. Do not accept Supervised mode as the reason a prompt injection bug is acceptable. Pair it with enforced permissions, sandboxing and restrictions on which files the agent can write.

Read the Kiro security docs

Unknown MCP and settings files in repositories

Prompt injection in these bulletins reaches the agent through IDE or MCP settings files, and through files the agent writes such as .vscode/tasks.json. Many teams cannot say which repositories contain such files or who last changed them. Scan shared repositories for MCP configuration and IDE task files, review changes through code review, and set a rule for opening repositories from untrusted sources.

Version drift across developer machines

Developers install Kiro IDE and CLI on their own schedules, so a fleet can run several builds at once. A single unpatched laptop is enough to keep the exposure open for that user. Record the installed IDE and CLI version for each device through your endpoint or software inventory tool, set a minimum version, and confirm the result with a report rather than assuming updates applied. Watch AWS security bulletins for new entries that set a higher minimum.

Order of work before approving Kiro for developers

This sequence confirms that every deployed Kiro IDE and CLI build is past the fixed versions, sets approval and trust boundaries, tests the agent against a benign injected instruction, and leaves a monitoring trail and named owner for future AWS bulletins.

  1. Inventory deployed Kiro IDE and CLI versions

    The platform or endoint team lists every Kiro IDE and CLI installation across developer machines, build hosts and shared images, and records the exact version of each. Compare each version against the fixed releases named in the bulletins: Kiro IDE 0.11 for AWS-2025-019's file write issue covered by 2026-037-AWS, and Kiro CLI 1.28.0 for GHSA-cv6r-hx5v-c4m6. Note that AWS-2025-019 cites Kiro 0.1.42 as the release that added human confirmation in Supervised mode. The step is done when every installation is either confirmed at or above the relevant fixed version or listed for upgrade with an owner.

  2. Set the approval posture for each mode

    The security lead and the engineering manager agree which Kiro mode developers may use and what confirmation the agent needs before it runs commands or writes files. AWS-2025-019 describes arbitrary code execution through IDE or MCP settings files without human confirmation in Autopilot or Supervised mode, so do not treat either mode as a complete control. Kiro's privacy and security overview states that Supervised mode is a code review workflow, not a security control. The output is a written posture for each mode that names who may change it and how exceptions are approved.

  3. Restrict trusted MCP servers and settings files

    The platform team defines which MCP servers the agent may use and which workspace settings files, such as IDE and MCP configuration, the agent may read or change. The injection path in AWS-2025-019 runs through those files, and 2026-037-AWS shows the file write tool could be steered toward execution-sensitive paths such as .vscode/tasks.json. Confirm with your Kiro Enterprise administrator which MCP and web tool controls the console can enforce, and document any path that cannot be locked centrally. The step is done when the allowed list and the protected file paths are written down and reviewed.

  4. Test with a benign injected instruction

    A security engineer runs the approved Kiro build against a non-production repository seeded with a harmless instruction hidden in a file the agent will read, such as a README or a comment. The test asks whether the agent follows the planted text, attempts a file write to a protected path, or runs a command without an approval prompt. Run the test on the IDE and the CLI separately, including the stdin path described in GHSA-cv6r-hx5v-c4m6. The test is complete when the results are recorded and any failed case is blocked or escalated before wider rollout.

  5. Enable prompt logs and CloudTrail collection

    The cloud platform owner turns on the prompt log and AWS CloudTrail collection that your Kiro Enterprise setup supports and sends the records to the central log store your security team already monitors. Confirm the destination, retention and access rights with your AWS administrator, since the governance documentation describes prompt logs to S3 and CloudTrail. The step is done when a test session from the benign run appears in the logs with the user, the mode and the actions taken, so investigators can reconstruct an incident.

  6. Subscribe to AWS bulletins with a named owner

    The security operations lead subscribes the security team to the AWS security bulletins and names one owner responsible for reading new Kiro entries, such as AWS-2025-019, 2026-037-AWS and later notices. The owner maps each new bulletin to the installed versions from the first step and opens a change record for any upgrade. Record the owner's name, the distribution list and the review routine in the rollout file. The step is done when the owner confirms receipt of a test notice and the process for acting on it is written down.

What a security reviewer asks to see

This table lists the evidence a security reviewer should request before approving Kiro, tied to the AWS bulletins and fixes covered on this page. Each row names the request, why it matters for prompt injection and file write risk, and where the evidence should come from. DeployOpen prepares this evidence for assessors but does not issue attestations, so the reviewer should treat each row as a record to collect and verify.

Evidence requestWhy it mattersWhere it comes from
Version inventory against 0.1.42, 0.11 and 1.28.0Shows which Kiro IDE and CLI builds run on each machine, and whether they include the fixes for AWS-2025-019, 2026-037-AWS and GHSA-cv6r-hx5v-c4m6Endpoint management or software inventory, checked against the bulletins
List of approval modes in useAutopilot runs actions without the human confirmation that AWS-2025-019 describes, so the reviewer needs to know which users run it and whether any policy restricts itKiro configuration on each device and the admin settings applied to users
MCP server allowlist and settings file ownershipInjected instructions in IDE or MCP settings files drove the AWS-2025-019 issue, so the reviewer needs to confirm who can change those files and which servers are approvedApproved server list from the admin, file permission records and repository review history
Test record of injected instruction handlingShows whether the deployed version still runs attacker-supplied instructions, including through stdin and file write paths, instead of relying on the bulletin textInternal or partner test results run against the exact versions in the inventory
Write-path restriction test for execution-sensitive filesThe CVE-2026-10591 issue let crafted instructions write files such as .vscode/tasks.json, and the bulletin lists no workaround, so the reviewer should confirm the fixed build blocks these writesTest results on the fixed IDE build, plus the repository's own alerting on changes to editor task files
Prompt log and CloudTrail retention settingsInvestigators need records of prompts and API activity to trace a suspected injection, and retention periods set the time window for that reviewKiro admin configuration for prompt logs to S3, CloudTrail trail settings and the organization's retention policy
Bulletin monitoring recordShows that the team reviews new AWS security bulletins for Kiro, such as AWS-2025-019, 2026-001-AWS, 2026-009-AWS and 2026-037-AWS, and acts on them within a set processDated log of bulletin reviews, owner sign-off and change tickets for each fix applied

Questions buyers ask about Kiro prompt injection

Does updating to a patched Kiro version remove prompt injection risk entirely?

No. A fixed version removes the specific flaw AWS described, but it does not make the agent immune to crafted instructions. AWS-2025-019 describes arbitrary code execution through indirect prompt injection via IDE or MCP settings files, and 2026-037-AWS describes a file write tool steered toward execution-sensitive paths such as .vscode/tasks.json, fixed in Kiro IDE 0.11. Each bulletin covers one defect. Treat patching as the baseline, then keep the permission and approval controls in place. Ask AWS whether any later bulletin changes the picture for your versions.

Is Supervised mode enough to stop Kiro from running injected commands?

Not on its own. AWS-2025-019 says Kiro 0.1.42, released August 1, 2025, requires human confirmation for these actions in Supervised mode, which means earlier versions and Autopilot mode did not. The Kiro privacy and security overview also states that Supervised mode is a code review workflow, not a security control. A reviewer can still approve a step they do not understand, especially after a long session. Pair approval settings with tool restrictions, workspace isolation and a version floor, and confirm the exact behavior of each mode with AWS.

Which Kiro edition lets admins enforce MCP server policy?

Admin enforcement sits in the Kiro Enterprise console, which is administered in the AWS Management Console through a Kiro profile tied to one AWS account and Region. The Kiro pricing page states that Kiro Enterprise requires enterprise authentication through AWS IAM Identity Center or an external identity provider, so individual plans such as Pro or Pro+ do not carry the same central controls. Confirm with AWS which MCP and web tool settings a given profile can enforce and whether the setting applies to the IDE, the CLI and the web client alike.

Can our team verify Kiro versions and settings without outside help?

Yes, for the basics. Your team can check the installed Kiro IDE and CLI versions against the bulletins, confirm that the CLI is at or above 1.28.0 and the IDE at or above 0.11, and review which MCP servers and settings files are present in each repository. Fleet-wide checks depend on how your devices and developer tooling are managed, so confirm with AWS what version information the IDE and CLI expose. Attack paths are harder to judge by inspection, which is where an outside test becomes useful.

What does an outside security test of our Kiro setup involve?

An outside test of an agent setup usually examines the whole chain: the versions in use, the MCP servers and tools the agent can reach, the files it can write, the commands it can run, the repositories and secrets it can read, and the approvals a developer must give. A tester may plant crafted content in test repositories and observe whether the agent acts on it. DeployOpen runs security testing that includes AI systems and agents and red teaming, under a written, fixed scope. Cost and duration depend on the number of repositories and integrations, the depth of the test and the number of environments, so ask for the scope and deliverables in writing before agreeing on price.

What drives the cost and length of a prompt injection review?

The main drivers are the number of Kiro users and environments, the number of MCP servers and external tools connected, how many repositories and secrets the agent can reach, and whether you want configuration review only or active testing as well. Some costs recur, such as retesting after a new Kiro release or bulletin. Ask for a quote that lists each deliverable, what is excluded, who performs retesting, and what happens if a new bulletin changes the scope partway through.

How should we monitor future Kiro security bulletins?

Assign one owner to watch the AWS security bulletins, which AWS publishes with identifiers such as AWS-2025-019, 2026-001-AWS, 2026-009-AWS and 2026-037-AWS, and to check the GitHub advisories for the Kiro CLI. Record the installed version of each IDE and CLI, compare it against each fix version, and set a time for updates to roll out. Ask AWS how it notifies customers of new bulletins and whether an enterprise administrator can see the fleet version status from the Kiro console.

Do Kiro file write and command controls change after a fix?

Possibly, and you should confirm it. The 2026-037-AWS bulletin says the fix in Kiro IDE 0.11 restricts the file write tool, and the GitHub advisory for CVE-2026-9255 says the Kiro CLI before 1.28.0 ran tools, including shell commands, from stdin content without user approval. Read the release notes and the Kiro permissions documentation for your version to see which tools now require approval and which paths are blocked. Do not assume a fix changed a setting you rely on until you have tested it in your own environment.

How DeployOpen works on this

DeployOpen scopes, tests and documents how a Kiro rollout handles prompt injection, starting from the AWS bulletins and the fixed versions your teams must run. The work runs under a written, fixed scope, and it covers the settings your administrators can enforce and the controls that limit file writes and command execution.

How we scope

  • Engagements are fixed-scope, with the Kiro IDE and CLI versions, bulletins and Kiro settings agreed in writing before work starts
  • We confirm which Kiro edition, Kiro profile and AWS account and Region your teams use, since admin controls apply per profile
  • We list the MCP servers, IDE settings files and repositories an agent could read, so test cases match your real exposure

How we build

  • We build a test set of indirect prompt injection cases, such as instructions hidden in repository files, MCP settings and piped input
  • We check whether each case reaches file write, shell command or web request actions under Supervised and Autopilot modes
  • We verify that the installed Kiro IDE and CLI versions include the fixes named in the relevant AWS bulletins

How we hand over

  • You receive a written report of each test case, the observed behavior, the version tested and the control that stopped or allowed it
  • The report includes a configuration baseline for Kiro profiles, permission settings and logging, which your team can apply and review
  • We document open items that need vendor confirmation, such as workarounds that AWS has not published, so your team owns the decision

How we support

  • Ongoing support is available as a retainer, covering version checks when AWS publishes new Kiro bulletins
  • Continuous testing of agent setups against prompt injection can be added to a retainer after the initial review
  • Updates to the test set and baseline follow the scope agreed in writing, and quotes follow from that written scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.