{"id":"CVE-2026-27315","published":"2026-04-07T16:40:51Z","modified":"2026-04-09T14:38:23Z","title":"Apache Cassandra: cqlsh history sensitive information leak","vendor":"Apache","product":"Apache Cassandra","tier":"tail","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.\n\nUsers are recommended to upgrade to version 4.0.20, which fixes this issue.\n\n--\nDescription: 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.\n\nHowever, 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00203,"percentile":0.05824,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://issues.apache.org/jira/browse/CASSANDRA-21180","tags":["issue-tracking"]},{"url":"https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/07/8","tags":[]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.16},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Cassandra","versions":[">= 4.0, <= 4.0.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-09T14:37:35.522951Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.cassandra:cassandra-all","vulnerableRanges":[">=4.0, <4.0.20"],"patched":["4.0.20"],"from":["GHSA-fh34-c629-p8xj"],"provenance":"source"}],"summary":{"text":"Apache Cassandra 4.0's cqlsh command-line tool stores command history in the user's ~/.cassandra/cqlsh_history file without redacting sensitive values, so passwords entered in commands such as logins or user creation are kept in cleartext. An attacker with local file access to the affected user's home directory, and low privileges on the system, can read those stored passwords without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:20Z"},"euvd":{"id":"EUVD-2026-19763","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-13946","published":"2020-09-01","fixed":"4.0-beta2","kev":false},{"cve":"CVE-2021-44521","published":"2022-02-11","fixed":"4.0.2","kev":false},{"cve":"CVE-2025-26467","published":"2025-08-25","fixed":"4.0.17","kev":false,"link":{"from":"CVE-2025-26467","to":"CVE-2026-27315","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.cassandra:cassandra-all","fromFixed":"4.0.17","toFixed":"4.0.20","daysApart":225}]}},{"cve":"CVE-2026-27315","published":"2026-04-07","fixed":"4.0.20","kev":false},{"cve":"CVE-2023-30601","published":"2023-05-30","fixed":"4.1.2","kev":false},{"cve":"CVE-2024-27137","published":"2025-02-04","fixed":"5.0.3","kev":false},{"cve":"CVE-2025-23015","published":"2025-02-04","fixed":"5.0.3","kev":false}],"package":"Maven:org.apache.cassandra:cassandra-all"}}