CVE-2026-27315
Apache Cassandra: cqlsh history sensitive information leak
Also known as BIT-cassandra-2026-27315, GHSA-fh34-c629-p8xj
Mitigation
- Upgrade org.apache.cassandra:cassandra-all to 4.0.20 or later.
Who should check
- Projects that depend on Maven package org.apache.cassandra:cassandra-all (>= 4.0, < 4.0.20)
- Anyone running Apache Software Foundation Apache Cassandra >= 4.0, <= 4.0.19
Vulnerability facts
- Affected
- org.apache.cassandra:cassandra-all >= 4.0, < 4.0.20
- Fixed in
- 4.0.20
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-532
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.cassandra:cassandra-all | >= 4.0, < 4.0.20 | 4.0.20 | osv |
| Apache Software Foundation Apache Cassandra | >= 4.0, <= 4.0.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-27315. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-27315.md Affected: org.apache.cassandra:cassandra-all >= 4.0, < 4.0.20 Fixed in: 4.0.20 Steps: 1. Search this machine and project for org.apache.cassandra:cassandra-all (Maven), Apache Software Foundation Apache Cassandra: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-27315 being exploited?
There is no confirmed exploitation: CVE-2026-27315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-27315?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-27315?
org.apache.cassandra:cassandra-all >= 4.0, < 4.0.20.
Is there a fix for CVE-2026-27315?
Yes. Fixed in 4.0.20. Upgrade org.apache.cassandra:cassandra-all to 4.0.20 or later.
How do I check if I'm affected by CVE-2026-27315?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.