{"api_version":"1","generated_at":"2026-04-07T19:51:32+00:00","cve":"CVE-2026-27315","urls":{"html":"https://cve.report/CVE-2026-27315","api":"https://cve.report/api/cve/CVE-2026-27315.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-27315","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-27315"},"summary":{"title":"Apache Cassandra: cqlsh history sensitive information leak","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.\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.","state":"PUBLISHED","assigner":"apache","published_at":"2026-04-07 17:16:27","updated_at":"2026-04-07 18:16:40"},"problem_types":["CWE-532","CWE-532 CWE-532 Insertion of Sensitive Information into Log File"],"metrics":[],"references":[{"url":"https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3","name":"https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/04/07/8","name":"http://www.openwall.com/lists/oss-security/2026/04/07/8","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://issues.apache.org/jira/browse/CASSANDRA-21180","name":"https://issues.apache.org/jira/browse/CASSANDRA-21180","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-27315","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27315","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Apache Software Foundation","product":"Apache Cassandra","version":"affected 4.0 4.0.19 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Youlong Chen, Institute of Computing Technology, Chinese Academy of Sciences","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-04-07T17:25:59.994Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/04/07/8"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://downloads.apache.org/cassandra/","defaultStatus":"unaffected","packageName":"apache-cassandra","product":"Apache Cassandra","vendor":"Apache Software Foundation","versions":[{"lessThanOrEqual":"4.0.19","status":"affected","version":"4.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"Youlong Chen, Institute of Computing Technology, Chinese Academy of Sciences"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Sensitive Information Leak in cqlsh in Apache Cassandra 4.0 allows access to sensitive information, like passwords, from previously executed cqlsh command via <span style=\"background-color: rgb(255, 255, 255);\">&nbsp;~/.cassandra/cqlsh_history&nbsp;<span style=\"background-color: rgb(255, 255, 255);\">local file access.<br></span></span><br>Users are recommended to upgrade to version 4.0.20, which fixes this issue.<br><br>--<br>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.<br><br>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.<br><br><br>"}],"value":"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."}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","description":"CWE-532 Insertion of Sensitive Information into Log File","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-07T16:40:51.836Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache"},"references":[{"tags":["issue-tracking"],"url":"https://issues.apache.org/jira/browse/CASSANDRA-21180"},{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3"}],"source":{"defect":["CASSANDRA-21180"],"discovery":"EXTERNAL"},"title":"Apache Cassandra: cqlsh history sensitive information leak","x_generator":{"engine":"Vulnogram 0.2.0"}}},"cveMetadata":{"assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","cveId":"CVE-2026-27315","datePublished":"2026-04-07T16:40:51.836Z","dateReserved":"2026-02-19T05:21:19.755Z","dateUpdated":"2026-04-07T17:25:59.994Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-07 17:16:27","lastModifiedDate":"2026-04-07 18:16:40","problem_types":["CWE-532","CWE-532 CWE-532 Insertion of Sensitive Information into Log File"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"27315","Ordinal":"1","Title":"Apache Cassandra: cqlsh history sensitive information leak","CVE":"CVE-2026-27315","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"27315","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Apache Cassandra: cqlsh history sensitive information leak"}]}}}