# CVE-2026-10591: Amazon Kiro IDE remote code execution via insufficient file write restrictions

Source: https://junglewise.ai/threats/cve-2026-10591-amazon-kiro-ide-remote-code-execution-via-insufficient-file-write  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-02. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-10591 · Severity: high · CVSS 8.8 · Published 2026-06-02

Kiro IDE is a development environment that allows developers to write and test code. This vulnerability allows an attacker to write files to execution-sensitive directories on the system, potentially enabling code execution, privilege escalation, or corruption of critical system files. An exploit could allow unauthorized modification of executable paths, leading to arbitrary code execution or complete system compromise.

Technologies: [Amazon AWS](https://junglewise.ai/threats/technologies/aws). Vendors: [Amazon](https://junglewise.ai/threats/vendors/amazon).

## Quick answers

**Is CVE-2026-10591 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-10591 being exploited in the wild.

**How severe is CVE-2026-10591?** High severity, with a CVSS score of 8.8, published 2 June 2026.

**Which products and versions are affected?** Kiro IDE.

**Is there a fix for CVE-2026-10591?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-10591 attacked?** It is attacked with local access or over the network.

**Am I affected by CVE-2026-10591?** Check whether you run Amazon AWS. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This vulnerability exists in Kiro IDE due to insufficient validation of file write operations, allowing files to be written to execution-sensitive paths such as system directories, application directories, or paths in the executable search path (e.g., PATH environment variable locations). The root cause is inadequate access control checks before permitting file write operations. An attacker with local or network access to the IDE (depending on deployment) can write malicious executable files to critical directories, resulting in arbitrary code execution when those files are invoked. This could enable privilege escalation if the IDE runs with elevated privileges. Patches or fixes have not been specified in the available advisory details.

## Affected products

- Kiro IDE

## Timeline

- 2026-09-22: disclosed

## References

- [https://aws.amazon.com/security/security-bulletins/rss/2026-037-aws/](https://aws.amazon.com/security/security-bulletins/rss/2026-037-aws/)

## Related threats

- [An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0)](https://junglewise.ai/threats/cve-2026-126793-privilege-escalation-in-aurora-postgresql-dialect-detection-in)
- [AWS SDK for pandas EMR unverified bucket ownership](https://junglewise.ai/threats/cve-2026-127119-unverified-ownership-of-the-default-emr-cluster-log-location-in)
- [Amazon mcp-gateway-registry server-side request forgery in registration API](https://junglewise.ai/threats/cve-2026-125926-server-side-request-forgery-in-the-server-registration-and)
- [Amazon mcp-gateway-registry authorization bypass in management API](https://junglewise.ai/threats/cve-2026-100307-missing-authorization-on-the-external-management-api-in-mcp)
- [AWS Kiro CLI incorrect default permissions on session files](https://junglewise.ai/threats/cve-2026-124848-incorrect-default-permissions-on-session-transcripts-and-prompt)
