# CVE-2026-27315: Apache Cassandra has sensitive Information Leak in cqlsh

Source: https://junglewise.ai/threats/cve-2026-27315-apache-cassandra-has-sensitive-information-leak-in-cqlsh  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-07  
License: CC BY 4.0 with a link back

CVE-2026-27315 · Severity: medium · CVSS 5.5 · Published 2026-04-07

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.

Technologies: [Apache Cassandra](https://junglewise.ai/threats/technologies/apache-cassandra), [org.apache.cassandra:cassandra-all (Maven)](https://junglewise.ai/threats/technologies/org-apache-cassandra-cassandra-all). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2026-27315 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-27315 being exploited in the wild.

**How severe is CVE-2026-27315?** Medium severity, with a CVSS score of 5.5, published 7 April 2026.

**Which products and versions are affected?** org.apache.cassandra:cassandra-all (Maven) ECOSYSTEM:introduced=4.0,fixed=4.0.20.

**Is there a fix for CVE-2026-27315?** Yes. org.apache.cassandra:cassandra-all (Maven): upgrade to 4.0.20 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-27315?** Check whether you run Apache Cassandra or org.apache.cassandra:cassandra-all (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.cassandra:cassandra-all (Maven): upgrade to 4.0.20 or later

  ```sh
  # set org.apache.cassandra:cassandra-all to 4.0.20 in your pom.xml or build.gradle
  ```


## Affected products

- Apache Cassandra
- org.apache.cassandra:cassandra-all (Maven) ECOSYSTEM:introduced=4.0,fixed=4.0.20

## Identifiers

- CVE-2026-27315
- GHSA-fh34-c629-p8xj

## Related threats

- [Apache Cassandra has an authenticated DoS over CQL](https://junglewise.ai/threats/cve-2026-32588-apache-cassandra-has-an-authenticated-dos-over-cql)
- [Apache Cassandra is vulnerable to privilege escalation in an mTLS environment using MutualTlsAuthenticator](https://junglewise.ai/threats/cve-2026-27314-apache-cassandra-is-vulnerable-to-privilege-escalation-in-an-mtls)
- [Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions (4.0.16 only)](https://junglewise.ai/threats/cve-2025-26467-apache-cassandra-user-with-modify-permission-on-all-keyspaces-can)
- [Apache Cassandra: unrestricted deserialization of JMX authentication credentials](https://junglewise.ai/threats/cve-2024-27137-apache-cassandra-unrestricted-deserialization-of-jmx)
- [Apache Cassandra: CassandraNetworkAuthorizer and CassandraCIDRAuthorizer can be bypassed allowing access to different…](https://junglewise.ai/threats/cve-2025-24860-apache-cassandra-cassandranetworkauthorizer-and)
