{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-18657 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-18657 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-18657 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-18657 in the wild and no public exploit code.\n\nAffected product: Amazon Kiro CLI. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-18657/ (Markdown: https://insights.sbomify.com/CVE-2026-18657/index.md)","id":"CVE-2026-18657","markdown":"https://insights.sbomify.com/CVE-2026-18657/index.md","name":"CVE-2026-18657","record":{"aliases":["GHSA-vr58-qjgp-x52v"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kiro CLI","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Windows by tricking users into opening a malicious project directory in Kiro CLI.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMZN","cpe":[{"product":"kiro_cli","vendor":"amazon"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"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.\n\nTo remediate this issue, users should upgrade to version 2.10.0 or higher.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Executable Resolution from Untrusted Project Directory in Kiro CLI on Windows","id":"CVE-2026-18657","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"IBM Operational Decision Manager for Aug 2026 - Multiple CVEs addressed","id":"CVE-2026-18658"},"packages":[],"prev":{"headline":"Executable Resolution from Untrusted Project Directory in Kiro IDE on Windows","id":"CVE-2026-18656"},"products":["Kiro CLI"],"published":"2026-08-04","related":[{"cvss_score":8.4,"headline":"Tool Execution Without Authorization via Piped Stdin in Kiro CLI","id":"CVE-2026-9255","kev_date_added":null,"published":"2026-05-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Amazon"]},"summary":"Remote attackers can execute arbitrary code on Windows by tricking users into opening a malicious project directory in Kiro CLI.","url":"https://insights.sbomify.com/CVE-2026-18657/"}