Incorrect default permissions on session transcripts and prompt history in Kiro CLI

State
Published
Severity
6.8 Medium
Published
Nov 10, 2026
Updated
Nov 16, 2026
Reserved
Nov 9, 2026

Read the record on cve.org

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.

ProductVersions
Kiro CLI Amazon1.16.0 to before 2.27.0 Affected

Weaknesses

  • CWE-276 Incorrect default permissions

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.