Medium

Apache Cassandra has sensitive Information Leak in cqlsh

  • Disclosed: 07.04.2026
  • Updated: 11.10.2026 12:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.cassandra:cassandra-all >= 4.0, < 4.0.20 4.0.20

References

CVSS score -
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-532
Platform
Java / Kotlin (Maven)
Package
org.apache.cassandra:cassandra-all
Disclosed
07.04.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-fh34-c629-p8xj - CC BY 4.0

Vulnerability history: org.apache.cassandra:cassandra-all

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
05.2021 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 5
  • Medium 4
  • Low 1

Disclosures per year

  1. 2021: 1
  2. 2022: 3
  3. 2023: 1
  4. 2024: 0
  5. 2025: 4
  6. 2026: 3
Severity:
  1. Apache Cassandra has sensitive Information Leak in cqlsh this entry
    Medium CVE-2026-27315 >= 4.0, < 4.0.20 4.0.20
  2. High · 8.8 CVE-2025-23015 >= 5.0-alpha1, < 5.0.3, >= 4.1-alpha1, < 4.1.8, >= 4.0-alpha1, < 4.0.16, >= 3.1, < 3.11.18, < 3.0.31 5.0.3, 4.1.8, 4.0.16, 3.11.18, 3.0.31
  3. High · 7.8 CVE-2023-30601 >= 4.1.0, < 4.1.2, >= 4.0.0, < 4.0.10 4.1.2, 4.0.10
  4. Critical · 9.8 CVE-2018-8016 >= 3.8, < 3.11.2 3.11.2
  5. Critical · 9.1 CVE-2021-44521 < 3.0.26, >= 3.11.0, < 3.11.12, >= 4.0.0, < 4.0.2 3.0.26, 3.11.12, 4.0.2
  6. High · 7.5 CVE-2020-17516 >= 2.1.0, < 3.0.24, >= 3.11.0, < 3.11.10 3.0.24, 3.11.10

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.