{"answers":{"affected":"3 open source packages ship an affected version, including org.apache.cassandra:cassandra-all and cassandra. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-27315 in the wild and no public exploit code.","fix":"Upgrade org.apache.cassandra:cassandra-all to 4.0.20 or later.","what":"CVE-2026-27315 is a medium-severity vulnerability in Apache Cassandra, published on 7 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27315 and fix it if it is affected.\n\nWhat it is: CVE-2026-27315 is a medium-severity vulnerability in Apache Cassandra, published on 7 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-27315 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.cassandra:cassandra-all (Maven): affected from 4.0; fixed in 4.0.20\n- org.apache.cassandra:cassandra-all (Maven): affected from 4.0; fixed in 4.0.20\n- cassandra (Bitnami): affected from 4.0.0; fixed in 4.0.20\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27315/ (Markdown: https://insights.sbomify.com/CVE-2026-27315/index.md)","id":"CVE-2026-27315","markdown":"https://insights.sbomify.com/CVE-2026-27315/index.md","name":"CVE-2026-27315","record":{"aliases":["BIT-cassandra-2026-27315","CLEANSTART-2026-CL53248","CLEANSTART-2026-TJ88203","GHSA-fh34-c629-p8xj","MINI-ff7j-2765-8j2p","MINI-qxgw-5vf2-rxmm"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache Cassandra","requires_auth":"low_privilege","summary":"Attackers with local access can read cleartext passwords from cqlsh history files, exposing sensitive credentials stored by the database client.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"cassandra","vendor":"apache"}],"cvss":{"score":5.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"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.","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Cassandra: cqlsh history sensitive information leak","id":"CVE-2026-27315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Information disclosure in FortiSandbox","id":"CVE-2026-27316"},"packages":[{"ecosystem":"Bitnami","fixed":["4.0.20"],"introduced":["4.0.0"],"last_affected":[],"package":"cassandra","purl":"pkg:bitnami/cassandra","source":"BIT-cassandra-2026-27315"},{"ecosystem":"Maven","fixed":["4.0.20"],"introduced":["4.0"],"last_affected":[],"package":"org.apache.cassandra:cassandra-all","purl":null,"source":"GHSA-fh34-c629-p8xj"},{"ecosystem":"Maven","fixed":["4.0.20"],"introduced":["4.0"],"last_affected":[],"package":"org.apache.cassandra:cassandra-all","purl":"pkg:maven/org.apache.cassandra/cassandra-all","source":"GHSA-fh34-c629-p8xj"}],"prev":{"headline":"Apache Cassandra: Privilege escalation via ADD IDENTITY authorization bypass","id":"CVE-2026-27314"},"products":["Apache Cassandra"],"published":"2026-04-07","related":[{"cvss_score":9.8,"headline":"Oracle Java SE and JRockit Unspecified","id":"CVE-2016-3427","kev_date_added":"2023-05-12","published":"2016-04-21"},{"cvss_score":9.8,"headline":"Missing Authentication for Critical Function in Apache Cassandra","id":"CVE-2018-8016","kev_date_added":null,"published":"2018-06-28"},{"cvss_score":9.1,"headline":"Remote code execution for scripted UDFs","id":"CVE-2021-44521","kev_date_added":null,"published":"2022-02-11"},{"cvss_score":8.8,"headline":"Apache Cassandra: Privilege escalation via ADD IDENTITY authorization bypass","id":"CVE-2026-27314","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.8,"headline":"Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions (4.0.16 only)","id":"CVE-2025-26467","kev_date_added":null,"published":"2025-08-25"},{"cvss_score":8.8,"headline":"Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions","id":"CVE-2025-23015","kev_date_added":null,"published":"2025-02-04"},{"cvss_score":7.8,"headline":"Apache Cassandra: Privilege escalation when enabling FQL/Audit logs","id":"CVE-2023-30601","kev_date_added":null,"published":"2023-05-30"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-09","vendors":["Apache Software Foundation"]},"summary":"Attackers with local access can read cleartext passwords from cqlsh history files, exposing sensitive credentials stored by the database client.","url":"https://insights.sbomify.com/CVE-2026-27315/"}