Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-124848— Incorrect default permissions on session transcripts and prompt history in Kiro CLI

Quick assessment

Affected
Amazon Kiro CLI
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 macOS 和 Linux 系统上,Kiro CLI(前身为 Amazon Q Developer CLI)2.27.0 版本之前存在默认文件权限配置不当的问题。这可能导致同一主机上的其他本地用户读取当前用户的会话记录及提示历史,其中可能包含凭据或源代码等敏感信息。该 CLI 工具在创建本地会话存储文件时,使用了允许所有本地用户读取的权限设置。 为修复此问题,用户应升级至 Kiro CLI 2.27.0 或更高版本,并至少启动一次该工具。对于曾运行过 Amazon Q Developer CLI 1.16.0

CVSS 5.5 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-124848

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Incorrect default permissions on session transcripts and prompt history in Kiro CLI
Source: CVE Program / CVE List V5
Vulnerability Description
Incorrect default file permissions in Kiro CLI (formerly Amazon Q Developer CLI) before version 2.27.0 on macOS and Linux might allow other local users on the same host to read a user's session transcripts and prompt history, including any credentials or source code they contain. The CLI created its local session storage files with permissions that made them readable by all local users. To remediate this issue, users should upgrade to Kiro CLI version 2.27.0 or later and launch it once. Users who ran Amazon Q Developer CLI 1.16.0 through 1.19.x should also delete the ~/.aws/amazonq/.cli_bash_history file or restrict it to the owner.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
缺省权限不正确
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Amazon Kiro CLI 1.16.0 ~ 2.27.0 -

II. Public POCs for CVE-2026-124848

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-124848

请登录查看更多情报信息。

Other References for CVE-2026-124848 (2)

IV. Related Vulnerabilities