CVE-2024-13059 Path Traversal in mintplex-labs/anything-llm
Attackers with manager or admin roles can exploit path traversal to write arbitrary files, potentially leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-13059?
CVE-2024-13059 is a high-severity path traversal vulnerability in Mintplexlabs Anythingllm, published on 10 Feb 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A vulnerability in mintplex-labs/anything-llm prior to version 1.3.1 allows for path traversal due to improper handling of non-ASCII filenames in the multer library. This vulnerability can lead to arbitrary file write, which can subsequently result in remote code execution. The issue arises when the filename transformation introduces '../' sequences, which are not sanitized by multer, allowing attackers with manager or admin roles to write files to arbitrary locations on the server.
Which versions are affected by CVE-2024-13059?
It affects 1 product.
Products include Mintplexlabs Anythingllm.
How do I fix CVE-2024-13059?
No fix has been published for CVE-2024-13059 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-13059 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-13059 exists.
Other vulnerabilities in Mintplexlabs Anythingllm
- CVE-2024-3025 Path Traversal in mintplex-labs/anything-llm
- CVE-2024-0455 SSRF on AWS deployed instances of AnythingLLM via /metadata
- CVE-2026-32626 AnythingLLM has a Streaming Phase XSS to RCE via LLM Response Injection
- CVE-2024-3104 Remote Code Execution in mintplex-labs/anything-llm
- CVE-2024-3149 SSRF in mintplex-labs/anything-llm
Sources
Also known as GHSA-866h-pm2w-j493.