CVE-2024-10513 Path Traversal in mintplex-labs/anything-llm

High 7.2 Published Updated

Attackers with manager role can exploit path traversal to move, download, and delete the database file, leading to data exposure and privilege escalation.

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-10513?

CVE-2024-10513 is a high-severity path traversal vulnerability in Mintplexlabs Anythingllm, published on 20 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A path traversal vulnerability exists in the 'document uploads manager' feature of mintplex-labs/anything-llm, affecting the latest version prior to 1.2.2. This vulnerability allows users with the 'manager' role to access and manipulate the 'anythingllm.db' database file. By exploiting the vulnerable endpoint '/api/document/move-files', an attacker can move the database file to a publicly accessible directory, download it, and subsequently delete it. This can lead to unauthorized access to sensitive data, privilege escalation, and potential data loss.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2024-10513?

It affects 1 product.

Products include Mintplexlabs Anythingllm.

How do I fix CVE-2024-10513?

No fix has been published for CVE-2024-10513 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-10513 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10513 exists.

All Mintplexlabs Anythingllm vulnerabilities

Sources

Also known as GHSA-45p5-8q33-98hw.

Is CVE-2024-10513 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free