CVE-2026-27315

Apache Cassandra: cqlsh history sensitive information leak

MEDIUM
5.5
CVSS Score
Published: April 7, 2026 at 04:40 PM UTC
Updated: October 26, 2026 at 10:10 PM UTC
1 product affected across 1 vendorCassandra

Using Apache Cassandra by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Cassandra - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0.0 ≤ v < 4.0.204.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

Issue TrackingPatchVendor Advisory
Source: cverecord
https://issues.apache.org/jira/browse/CASSANDRA-21180
Vendor AdvisoryMailing List
Source: cverecord
https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/04/07/8

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-532

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card