CVE-2026-27315
JSON

5.5medium

Apache Cassandra: cqlsh history sensitive information leak

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-fh34-c629-p8xjBIT-CASSANDRA-2026-27315

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

Product or packageVersionsReported by
apache-cassandrafrom 4.0 up to 4.0.19CVE List
org.apache.cassandra:cassandra-all (Maven)from 4.0 before 4.0.20GitHub Advisory Database
apache cassandrafrom 4.0.0 before 4.0.20NVD
cassandra (Bitnami)from 4.0.0 before 4.0.20Bitnami Vulnerability Database

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Fuga de información sensible en cqlsh en Apache Cassandra 4.0 permite el acceso a información sensible, como contraseñas, de comandos cqlsh ejecutados previamente a través del acceso al archivo local ~/.cassandra/cqlsh_history. Se recomienda a los usuarios actualizar a la versión 4.0.20, que corrige este problema. -- Descripción: La herramienta de línea de comandos de Cassandra, cqlsh, proporciona una función de historial de comandos que permite a los usuarios recuperar comandos ejecutados previamente usando las teclas de flecha arriba/abajo. Estos registros de historial se guardan en el archivo ~/.cassandra/cqlsh_history en el directorio de inicio del usuario. Sin embargo, cqlsh no redacta información sensible al guardar el historial de comandos. Esto significa que si un usuario ejecuta operaciones que involucran contraseñas (como iniciar sesión o crear usuarios) dentro de cqlsh, estas contraseñas se almacenan permanentemente en texto claro en el archivo de historial en el disco.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27315 changed 2026-04-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-fh34-c629-p8xj changed 2026-04-09CC-BY-4.0
NVDCVE-2026-27315 changed 2026-10-26Public domain
Bitnami Vulnerability DatabaseBIT-CASSANDRA-2026-27315 changed 2026-09-08Apache-2.0