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

High 7.2 Published Updated

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.

Weakness: CWE-22, CWE-29

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.

All Mintplexlabs Anythingllm vulnerabilities

Sources

Also known as GHSA-866h-pm2w-j493.

Is CVE-2024-13059 in your software?

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

Check your SBOMs for free