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's cqlsh tool where sensitive information, including passwords, is stored in plaintext within the user's command history file (~/.cassandra/cqlsh_history). The history feature allows recalling previous commands but does not sanitize or redact sensitive data before saving. This leads to an information leak risk if unauthorized users access the local file. The Apache Software Foundation recommends upgrading to version 4.0.20, which addresses this issue by modifying how sensitive data is handled in the command history.
Potential Impact
Sensitive information such as passwords used in cqlsh commands can be exposed to unauthorized local users who have access to the affected user's home directory. This could lead to credential disclosure and potential unauthorized access to the Cassandra database or related systems. There is no indication of remote exploitation or active exploits in the wild.
Mitigation Recommendations
Upgrade Apache Cassandra to version 4.0.20 or later, where this vulnerability is fixed. Until the upgrade is applied, restrict access permissions to the ~/.cassandra/cqlsh_history file to trusted users only to minimize exposure of sensitive data.
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's cqlsh tool where sensitive information, including passwords, is stored in plaintext within the user's command history file (~/.cassandra/cqlsh_history). The history feature allows recalling previous commands but does not sanitize or redact sensitive data before saving. This leads to an information leak risk if unauthorized users access the local file. The Apache Software Foundation recommends upgrading to version 4.0.20, which addresses this issue by modifying how sensitive data is handled in the command history.
Potential Impact
Sensitive information such as passwords used in cqlsh commands can be exposed to unauthorized local users who have access to the affected user's home directory. This could lead to credential disclosure and potential unauthorized access to the Cassandra database or related systems. There is no indication of remote exploitation or active exploits in the wild.
Mitigation Recommendations
Upgrade Apache Cassandra to version 4.0.20 or later, where this vulnerability is fixed. Until the upgrade is applied, restrict access permissions to the ~/.cassandra/cqlsh_history file to trusted users only to minimize exposure of sensitive data.
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/7/2026, 5:32:17 PM
Last updated: 4/8/2026, 12:29:36 AM
Views: 4
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.