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
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.
| Product | Versions |
|---|---|
| Kiro CLI Amazon | 1.16.0 to before 2.27.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | AMZN | |
| 3.1 | 5.5 Medium | AMZN |
Weaknesses
- CWE-276 Incorrect default permissions
References
- https://kiro.dev/changelog/cli/2-27/Release NotesPatch
- https://aws.amazon.com/security/security-bulletins/2026-178-aws/Vendor Advisory
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.