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

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, org.apache.cassandra:cassandra-all (Maven). Vendors: Apache, 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
    # 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.