Skip to content
HighVulnerabilityLLM-specific

CVE-2024-13059: anything-llm path traversal via non-ASCII filenames in multer uploads

Identifier
CVE-2024-13059
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
24.1%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

mintplex-labs/anything-llm versions prior to 1.3.1 contain a path traversal flaw caused by improper handling of non-ASCII filenames in the multer library. Filename transformation introduces '../' sequences that multer does not sanitize, letting attackers with manager or admin roles write files to arbitrary server locations, which can lead to remote code execution.

Mitigation

Fixed in 1.3.1.