What’s Vulnerable › Vulnerabilities
CVE-2024-13059: Path Traversal in mintplex-labs/anything-llm
- Severity: high (CVSS 7.2 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 24.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-02-10 · updated 2026-06-17
- Weakness: CWE-29
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.
Affected products
- Mintplexlabs Anythingllm: before 1.3.1 — fixed in 1.3.1
How to fix
Upgrade to a fixed version: Mintplexlabs Anythingllm 1.3.1. Check the vendor advisory for mitigations.
References
- https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca
- https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1
- https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1
Get alerted when CVE-2024-13059 or the next vulnerability affects your stack