CVE-2026-124848
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 …
Impact
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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Amazon | Kiro CLI | from 1.16.0 before 2.27.0 |
| Aws | Kiro CLI | from 1.16.0 before 2.27.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://kiro.dev/changelog/cli/2-27/
- https://aws.amazon.com/security/security-bulletins/2026-178-aws/
- https://github.com/advisories/GHSA-9857-5m9p-q7m3
- https://nvd.nist.gov/vuln/detail/CVE-2026-124848
- https://aws.amazon.com/security/security-bulletins/2026-178-aws
- https://kiro.dev/changelog/cli/2-27