CVE-2024-24565 is a medium-severity (CVSS 5.7) Path Traversal vulnerability in io.crate:crate. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for io.crate:crate — see the affected versions and patch details below.
CrateDB database has an arbitrary file read vulnerability
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-24565.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
io.crate:crate☕io.crate:crate☕io.crate:crate☕io.crate:crateReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Summary
There is an arbitrary file read vulnerability in the CrateDB database, and authenticated CrateDB database users can read any file on the system.
Details
There is a COPY FROM function in the CrateDB database that is used to import file data into database tables. This function has a flaw, and authenticated attackers can use the COPY FROM function to import arbitrary file content into database tables, resulting in information leakage.
PoC
CREATE TABLE info_leak(info_leak STRING);
COPY info_leak FROM '/etc/passwd' with (format='csv', header=false); or COPY info_leak FROM '/crate/config/crate.yml' with (format='csv', header=false);
SELECT * FROM info_leak;

Impact
This vulnerability affects all current versions of the CrateDB database. Attackers who exploit this vulnerability to obtain sensitive information may carry out further attacks, while also affecting CrateDB Cloud Clusters.

Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.crate:crate | all versions | 5.3.9io.crate:crate:5.3.9 |
| ☕Maven | io.crate:crate | ≥ 5.4.0&&< 5.4.8 | 5.4.8io.crate:crate:5.4.8 |
| ☕Maven | io.crate:crate | ≥ 5.5.0&&< 5.5.4 | 5.5.4io.crate:crate:5.5.4 |
| ☕Maven | io.crate:crate | ≥ 5.6.0&&< 5.6.1 | 5.6.1io.crate:crate:5.6.1 |
Affected Products
cratedbcratedbResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.crate:crate, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.crate:crate to 5.3.9 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-24565 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
How to detect CVE-2024-24565
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2024-24565 -u https://target- Template
- CrateDB Database - Arbitrary File Read
- Severity
- medium
- Impact
- Authenticated attackers can read arbitrary files on the server including sensitive configuration files and system files.
- Remediation
- Update CrateDB to a version that addresses CVE-2024-24565.
Template by ProjectDiscovery nuclei-templates (DhiyaneshDK), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2024-24565 in your dependencies?
Find it across Maven, including transitive dependencies.