{"id":"CVE-2026-27315","aliases":["CVE-2026-27315","GHSA-fh34-c629-p8xj","BIT-CASSANDRA-2026-27315"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Cassandra: cqlsh history sensitive information leak","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Fuga de información sensible en cqlsh en Apache Cassandra 4.0 permite el acceso a información sensible, como contraseñas, de comandos cqlsh ejecutados previamente a través del acceso al archivo local ~/.cassandra/cqlsh_history.\n\nSe recomienda a los usuarios actualizar a la versión 4.0.20, que corrige este problema.\n\n--\nDescripción: La herramienta de línea de comandos de Cassandra, cqlsh, proporciona una función de historial de comandos que permite a los usuarios recuperar comandos ejecutados previamente usando las teclas de flecha arriba/abajo. Estos registros de historial se guardan en el archivo ~/.cassandra/cqlsh_history en el directorio de inicio del usuario.\n\nSin embargo, cqlsh no redacta información sensible al guardar el historial de comandos. Esto significa que si un usuario ejecuta operaciones que involucran contraseñas (como iniciar sesión o crear usuarios) dentro de cqlsh, estas contraseñas se almacenan permanentemente en texto claro en el archivo de historial en el disco.","source":"nvd"}],"published":"2026-04-07T16:40:51.836Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0","lastAffected":"4.0.19","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Cassandra","package":"apache-cassandra","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0","status":"affected","fixed":"4.0.20"}],"ecosystem":"Maven","package":"org.apache.cassandra:cassandra-all","purl":"pkg:maven/org.apache.cassandra/cassandra-all","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.0.20"}],"vendor":"apache","product":"cassandra","cpe":"cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.20"}],"ecosystem":"Bitnami","package":"cassandra","purl":"pkg:bitnami/cassandra","source":"bitnami"}],"references":[{"url":"https://issues.apache.org/jira/browse/CASSANDRA-21180","tags":["advisory","issue-tracking","patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.apache.org/thread/ft77zrk2mzt8qsch4g6jqjj4901d22k3","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/07/8","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27315","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/cassandra","tags":["package"],"sources":["ghsa"]}],"credits":["Youlong Chen, Institute of Computing Technology, Chinese Academy of Sciences"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-09T14:37:35.522Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27315","url":"https://www.cve.org/CVERecord?id=CVE-2026-27315","licence":"CVE Terms of Use","modified":"2026-04-09T14:38:23.271Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fh34-c629-p8xj","url":"https://github.com/advisories/GHSA-fh34-c629-p8xj","licence":"CC-BY-4.0","modified":"2026-04-09T10:11:15.577Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27315","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27315","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CASSANDRA-2026-27315","url":"https://osv.dev/vulnerability/BIT-CASSANDRA-2026-27315","licence":"Apache-2.0","modified":"2026-09-08T08:45:49.698Z"}],"updatedAt":"2026-11-25T22:59:18.127Z","epss":{"score":0.00169,"percentile":0.06501,"date":"2026-12-01T12:00:22.000Z"}}