Skip to content
HighVulnerabilityLLM-specific

CVE-2024-22422: AnythingLLM unauthenticated denial of service through data-export endpoint

Identifier
CVE-2024-22422
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

AnythingLLM versions prior to commit `08d33cfd8` expose an unauthenticated file export API route, the "data-export" endpoint, which takes the filename parameter as user input. An attacker can bypass the directory traversal filter to target the current directory, and the server crashes when it tries to delete it because there is no error-handling wrapper, enabling a denial of service with a single HTTP packet.

Mitigation

This issue has been addressed in commit `08d33cfd8`. Users are advised to upgrade. There are no known workarounds for this vulnerability.