CVE-2024-13059

HIGH
Published Feb 10, 2025 Modified Jul 9, 2025 CWE-29 CWE-22

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.

Is your site exposed to CVE-2024-13059?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.2
HIGH
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-29 CWE-29
CWE-22 Path Traversal

Affected Products

Vendor Product
mintplexlabs anythingllm

References

Frequently Asked Questions

What is CVE-2024-13059? +
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. It has a CVSS v3.1 base score of 7.2 (HIGH).
How severe is CVE-2024-13059? +
CVE-2024-13059 has a CVSS v3.1 score of 7.2 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-13059? +
CVE-2024-13059 affects products from mintplexlabs, specifically: anythingllm. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-13059? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-13059 — free, no signup required.