CVE-2026-18657 Executable Resolution from Untrusted Project Directory in Kiro CLI on Windows
Remote attackers can execute arbitrary code on Windows by tricking users into opening a malicious project directory in Kiro CLI.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-18657?
CVE-2026-18657 is a high-severity code injection vulnerability in Amazon Kiro CLI, published on 4 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An uncontrolled search path element in Kiro CLI before version 2.10.0 on Windows might allow a remote unauthenticated actor to execute arbitrary code via a maliciously crafted project directory containing an executable that bypasses workspace trust protections when a local user starts Kiro CLI in the directory.
To remediate this issue, users should upgrade to version 2.10.0 or higher.
Weakness: CWE-427
Which versions are affected by CVE-2026-18657?
It affects 1 product.
Products include Amazon Kiro Cli.
How do I fix CVE-2026-18657?
No fix has been published for CVE-2026-18657 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-18657 being exploited?
There is no known exploitation of CVE-2026-18657 in the wild and no public exploit code.
Other vulnerabilities in Amazon Kiro CLI
Sources
Also known as GHSA-vr58-qjgp-x52v.