{"id":"GHSA-fh34-c629-p8xj","summary":"Apache Cassandra has sensitive Information Leak in cqlsh","details":"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.","aliases":["BIT-cassandra-2026-27315","CVE-2026-27315"],"modified":"2026-04-09T11:26:20.154477511Z","published":"2026-04-07T18:31:37Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-04-08T19:31:30Z","nvd_published_at":"2026-04-07T17:16:27Z","cwe_ids":["CWE-532"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27315"},{"type":"PACKAGE","url":"https://github.com/apache/cassandra"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/CASSANDRA-21180"},{"type":"WEB","url":"https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/04/07/8"}],"affected":[{"package":{"name":"org.apache.cassandra:cassandra-all","ecosystem":"Maven","purl":"pkg:maven/org.apache.cassandra/cassandra-all"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0"},{"fixed":"4.0.20"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.13","4.0.14","4.0.15","4.0.16","4.0.17","4.0.18","4.0.19","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-fh34-c629-p8xj/GHSA-fh34-c629-p8xj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}