CVE-2026-27315: CWE-532 Insertion of Sensitive Information into Log File in Apache Software Foundation Apache Cassandra
Sensitive Information Leak in cqlsh in Apache Cassandra 4.0 allows access to sensitive information, like passwords, from previously executed cqlsh command via ~/.cassandra/cqlsh_history local file access. Users are recommended to upgrade to version 4.0.20, which fixes this issue. -- Description: Cassandra's command-line tool, cqlsh, provides a command history feature that allows users to recall previously executed commands using the up/down arrow keys. These history records are saved in the ~/.cassandra/cqlsh_history file in the user's home directory. However, cqlsh does not redact sensitive information when saving command history. This means that if a user executes operations involving passwords (such as logging in or creating users) within cqlsh, these passwords are permanently stored in cleartext in the history file on the disk.
AI Analysis
Technical Summary
CVE-2026-27315 is a vulnerability in Apache Cassandra 4.0 where the cqlsh command-line tool saves command history, including sensitive information like passwords, in cleartext within the ~/.cassandra/cqlsh_history file. This occurs because cqlsh does not redact or mask sensitive data before writing to the history file. The vulnerability is classified under CWE-532 (Insertion of Sensitive Information into Log File). It affects local users who can access the history file and potentially extract sensitive credentials. The vendor recommends upgrading to version 4.0.20 to fix this issue.
Potential Impact
The vulnerability exposes sensitive information such as passwords in plaintext on disk, which can be accessed by any local user with read permissions to the ~/.cassandra/cqlsh_history file. This could lead to unauthorized disclosure of credentials. There is no indication of remote exploitation or impact on integrity or availability. The CVSS score is 5.5 (medium severity) with local attack vector, low complexity, and no user interaction required.
Mitigation Recommendations
Users should upgrade Apache Cassandra to version 4.0.20, which addresses this vulnerability by preventing sensitive information from being stored in the cqlsh history file. Until the upgrade is applied, restrict access permissions to the ~/.cassandra/cqlsh_history file to trusted users only to minimize exposure.
CVE-2026-27315: CWE-532 Insertion of Sensitive Information into Log File in Apache Software Foundation Apache Cassandra
Description
Sensitive Information Leak in cqlsh in Apache Cassandra 4.0 allows access to sensitive information, like passwords, from previously executed cqlsh command via ~/.cassandra/cqlsh_history local file access. Users are recommended to upgrade to version 4.0.20, which fixes this issue. -- Description: Cassandra's command-line tool, cqlsh, provides a command history feature that allows users to recall previously executed commands using the up/down arrow keys. These history records are saved in the ~/.cassandra/cqlsh_history file in the user's home directory. However, cqlsh does not redact sensitive information when saving command history. This means that if a user executes operations involving passwords (such as logging in or creating users) within cqlsh, these passwords are permanently stored in cleartext in the history file on the disk.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-27315 is a vulnerability in Apache Cassandra 4.0 where the cqlsh command-line tool saves command history, including sensitive information like passwords, in cleartext within the ~/.cassandra/cqlsh_history file. This occurs because cqlsh does not redact or mask sensitive data before writing to the history file. The vulnerability is classified under CWE-532 (Insertion of Sensitive Information into Log File). It affects local users who can access the history file and potentially extract sensitive credentials. The vendor recommends upgrading to version 4.0.20 to fix this issue.
Potential Impact
The vulnerability exposes sensitive information such as passwords in plaintext on disk, which can be accessed by any local user with read permissions to the ~/.cassandra/cqlsh_history file. This could lead to unauthorized disclosure of credentials. There is no indication of remote exploitation or impact on integrity or availability. The CVSS score is 5.5 (medium severity) with local attack vector, low complexity, and no user interaction required.
Mitigation Recommendations
Users should upgrade Apache Cassandra to version 4.0.20, which addresses this vulnerability by preventing sensitive information from being stored in the cqlsh history file. Until the upgrade is applied, restrict access permissions to the ~/.cassandra/cqlsh_history file to trusted users only to minimize exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-02-19T05:21:19.755Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d53bdbaaed68159a38bdb6
Added to database: 4/7/2026, 5:16:11 PM
Last enriched: 4/15/2026, 12:29:56 PM
Last updated: 5/22/2026, 10:51:41 AM
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.