# CVE-2026-27315: Apache Cassandra: cqlsh history sensitive information leak

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-07 · Modified: 2026-04-09
- Aliases: GHSA-fh34-c629-p8xj, BIT-cassandra-2026-27315
- Record: https://cvemate.com/vulnerability/CVE-2026-27315 · JSON: https://cvemate.com/vulnerability/CVE-2026-27315/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.191%, percentile 9.167%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache cassandra: ≥ 4.0, ≤ 4.0.19
- apache cassandra: ≥ 4.0.0, \< 4.0.20
- org.apache.cassandra cassandra-all (Maven): ≥ 4.0, \< 4.0.20

## References

- <https://issues.apache.org/jira/browse/CASSANDRA-21180>
- <https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3>
- <http://www.openwall.com/lists/oss-security/2026/04/07/8>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27315>
- <https://github.com/apache/cassandra>

---

Data as of 2026-12-05T05:32:15.730Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
