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.
Published: 2026-11-10
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Confidentiality breach
Action: Upgrade CLI
AI Analysis

Impact

The vulnerability arises from the Kiro CLI creating session transcript and prompt history files with world‑readable permissions on macOS and Linux. An attacker who has local user privileges on the same host could read these files and obtain sensitive data such as credentials and source code. This compromises confidentiality and may enable further attacks.

Affected Systems

Affected by Amazon Kiro CLI, formerly Amazon Q Developer CLI, versions prior to 2.27.0 on macOS and Linux. Any user executing the CLI on a shared machine before the upgrade is at risk. No specific OS versions beyond general macOS/Linux are mentioned.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. EPSS indicates very low exploitation probability, and the vulnerability is not in KEV. Exploitation requires local access to the same system; an attacker with another local account can read the session files. The risk is therefore limited to environments where users share a host but is mitigated by upgrading or adjusting permissions. The attack vector is local, and no remote compromise is possible.

Generated by OpenCVE AI on November 11, 2026 at 23:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Kiro CLI version 2.27.0 or later.
  • Launch the upgraded CLI once to ensure proper permission settings for session storage files.
  • For users who ran Amazon Q Developer CLI 1.16.0 through 1.19.x, delete the ~/.aws/amazonq/.cli_bash_history file or restrict its permissions to the owner.
  • Verify that all local session storage files on the host have read permissions limited to the owning user.

Generated by OpenCVE AI on November 11, 2026 at 23:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 10 Nov 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title Incorrect default permissions on session transcripts and prompt history in Kiro CLI
First Time appeared Amazon
Amazon kiro Cli
Weaknesses CWE-276
CPEs cpe:2.3:a:amazon:kiro_cli:*:*:*:*:*:*:*:*
Vendors & Products Amazon
Amazon kiro Cli
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-11-10T20:03:38.123Z

Reserved: 2026-11-09T14:25:09.034Z

Link: CVE-2026-124848

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-10T20:19:07.390

Modified: 2026-11-10T20:19:07.390

Link: CVE-2026-124848

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-11T23:30:19Z

Weaknesses
  • CWE-276

    Incorrect Default Permissions