Information disclosure in Apache Cassandra
CVE-2026-27315
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.002 (5.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 5th percentile — 5.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: -0.000
Affected products
- Apache Cassandra
- Apache Software Foundation Cassandra — versions 4.0
Weakness classification (CWE)
References
- issues.apache.org/jira/browse/CASSANDRA-21180 (issue-tracking, Patch, Issue Tracking, Vendor Advisory)
- lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3 (vendor-advisory, Mailing List, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-27315?
- CVE-2026-27315 is a medium-severity vulnerability in Apache Cassandra, classified under Insertion of Sensitive Information into Log File. CVSS score: 5.5/10. Published 2026-04-07.
- How severe is CVE-2026-27315?
- Medium severity. CVSS v3 base score is 5.5 out of 10.