Skip to main content

Kiro CLI CVE-2026-18657

| EUVDEUVD-2026-52914 HIGH
Uncontrolled Search Path Element (CWE-427)
2026-08-04 AMZN GHSA-vr58-qjgp-x52v
8.5
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious project directory with executable
  2. Delivery
    Distribute to victim via repository or download
  3. Exploit
    Victim opens Kiro CLI in directory on Windows
  4. Execution
    CLI resolves executable via uncontrolled path
  5. Persist
    Malicious binary executes as local user
  6. Impact
    Arbitrary code execution achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the target system runs Windows - the vulnerability is explicitly Windows-specific and not applicable to other platforms; (2) the victim must start Kiro CLI within a directory controlled by the attacker, meaning the attacker must deliver a maliciously crafted project directory to the target, typically via social engineering (shared repository, download, email); and (3) the attacker must place an executable in that directory with a name that Kiro CLI resolves via its uncontrolled search path. Exploitation is limited by the required user interaction (UI:P in CVSS 4.0) - the local user must actively launch Kiro CLI in the malicious directory. Exploitation does not require any authentication or existing foothold on the target system by the attacker, but it does require the attacker to have influenced the contents of a directory the victim opens.

Impact

The CVSS 4.0 score of 8.5 reflects high impact (VC:H/VI:H/VA:H) with a local attack vector (AV:L) and no privileges required from the attacker (PR:N), but user interaction is required (UI:P). This is consistent with the description: an attacker cannot directly exploit this remotely - they must convince a developer to open Kiro CLI inside a malicious directory, a common social engineering pattern in developer-targeting supply chain attacks. EPSS data is not provided; no KEV listing is present, and no public exploit code has been identified. The real-world risk is moderate-to-significant for development environments: developers routinely clone and open repositories from untrusted sources, and a crafted repository is a plausible delivery vehicle. The bypass of workspace trust specifically undermines Kiro's own safety model, which increases concern. The Windows-only scope limits exposure compared to a cross-platform flaw.

Exploit ScenarioDerived

An attacker crafts a malicious project directory - disguised as a legitimate code repository or template - containing a strategically named executable that shadows a binary Kiro CLI attempts to resolve at startup. The attacker distributes the directory via a GitHub repository, file share, or email attachment with instructions to open the project using Kiro CLI. When the developer runs Kiro CLI inside the directory on a Windows system, the CLI resolves the executable through the uncontrolled search path, the malicious binary executes in the context of the local user, and the attacker achieves arbitrary code execution on the developer's workstation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 04, 2026

Uncontrolled search path execution in Amazon Kiro CLI on Windows allows arbitrary code execution when a local user opens the CLI within a maliciously crafted project directory. Affected versions are all Kiro CLI releases before 2.10.0 on Windows; the flaw bypasses workspace trust protections by placing a malicious executable in a directory that Kiro CLI resolves via an uncontrolled search path. No public exploit code has been identified at time of analysis, though exploitation requires only user interaction - not attacker presence on the system - making social engineering a viable delivery mechanism.

RemediationAI

Upgrade Kiro CLI to version 2.10.0 or later, which resolves the uncontrolled search path issue per the vendor advisory at https://aws.amazon.com/security/security-bulletins/2026-074-aws/ and changelog at https://kiro.dev/changelog/cli/2-10/. As a compensating control prior to patching, users should avoid running Kiro CLI in directories obtained from untrusted sources such as cloned repositories from unknown parties or downloaded project archives - this limits the attacker's ability to place a malicious executable in the working directory. Additionally, Windows environments can restrict the current-working-directory search path behavior through Group Policy or by setting the CWDIllegalInDllSearch registry key, though this may affect other application behavior and should be tested. The primary fix is the version upgrade; compensating controls carry trade-offs and should not substitute for patching.

Affected VersionsENISA

Kiro CLI 0 <2.10.0

Affected Packages

euvd kiro_cli fix: 2.10.0

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

CWE-427 (Uncontrolled Search Path Element) describes a class of vulnerabilities where an application resolves executable or library names against an attacker-influenced search path. In this case, Kiro CLI - Amazon's AI-assisted coding CLI tool (CPE: cpe:2.3:a:amazon:kiro_cli:*:*:*:*:*:*:*:*) - appears to search the current working directory or a user-controlled PATH location for executables during startup on Windows. Windows historically prioritizes the current working directory in DLL and executable resolution, making it a well-known attack surface for search-path abuse. The workspace trust protection mechanism, intended to sandbox untrusted project directories, is circumvented, allowing a crafted project directory to deliver and execute a malicious binary when Kiro CLI is launched within it.

Know when Kiro Cli 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

Vendor (AMZN) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Local vector because attacker plants a file in a directory the victim opens; UI:R because user must launch CLI; PR:N because no system privilege is needed from attacker.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 04, 2026 - 20:22 NVD
7.8 (HIGH) 8.5 (HIGH)
CVE Published
Aug 04, 2026 - 19:38 cve.org
HIGH 8.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Amazon Kiro CLI on Windows (versions before 2.10.0) contains a critical arbitrary code execution vulnerability (CVE-2026-18657, CVSS 8.5) exploitable through social engineering when users open malicious project directories-no public exploits identified. This affects development teams who use this tool and bypasses workspace trust protections, creating significant risk to system security.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
new Amazon AI coding tool, limited enterprise footprint to date
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy