CVE-2026-27315 Details
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.
A sensitive information leak vulnerability has been identified in the cqlsh command-line tool of Apache Cassandra versions 4.0 through 4.0.19. This vulnerability allows access to sensitive data, such as passwords, from the cqlsh command history. The history is stored in the local file ~/.cassandra/cqlsh_history, and cqlsh does not redact sensitive information before saving it. As a result, passwords entered during command execution are permanently recorded in cleartext.
Users are advised to upgrade to Apache Cassandra version 4.0.20 or later, as this version addresses the vulnerability by redacting sensitive information in the command history. Instructions for upgrading can be found on the Apache Cassandra website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/04/07/8 | CVE | Mailing ListThird Party Advisory |
| https://issues.apache.org/jira/browse/CASSANDRA-21180 | [email protected] | Issue TrackingPatchVendor Advisory |
| https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3 | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-532 | Insertion of Sensitive Information into Log File | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache cassandra | >= 4.0.0, < 4.0.20 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 15, 2026 | Initial Analysis | [email protected] |
| Apr 9, 2026 | CVE Modified | CISA-ADP |
| Apr 7, 2026 | CVE Modified | CVE |
| Apr 7, 2026 | New CVE Received | [email protected] |