BreachSpiderVerified, not vibes

CVE-2024-13059 in Mintplexlabs Anythingllm

High 7.2

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 transfo...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.07.2
EPSS1.8%
EPSS percentile80th
FixUnknown

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Mintplexlabs Anythingllm < 1.3.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-13059
BreachSpider IDBS-2025-GLOBAL-184153-H
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published2025-02-10
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

CWE-29: CWE-29

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-13059 affects mintplex-labs/anything-llm versions prior to 1.3.1, allowing path traversal and potential remote code execution due to improper handling of non-ASCII filenames. The vulnerability has a CVSS score of 7.2, indicating a high risk of impact if exploited. Immediate action is recommended to mitigate the risk of unauthorized file writes and potential system compromise.

The vulnerability arises from the improper handling of non-ASCII filenames in the multer library, which can introduce '../' sequences. This allows attackers with manager or admin roles to write files to arbitrary locations on the server, potentially leading to remote code execution.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for file uploads, particularly for non-ASCII filenames. Ensure that the multer library is updated to a version that addresses this vulnerability.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2024-13059?

CVE-2024-13059 affects mintplex-labs/anything-llm versions prior to 1.3.1, allowing path traversal and potential remote code execution due to improper handling of non-ASCII filenames. The vulnerability has a CVSS score of 7.2, indicating a high risk of impact if exploited. Immediate action is recommended to mitigate the risk of unauthorized file writes and potential system compromise.

What is the CVSS score for CVE-2024-13059?

CVE-2024-13059 has CVSS 7.2 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.8%.

Is CVE-2024-13059 actively exploited?

No confirmed active exploitation of CVE-2024-13059 as of 2026-09-25.

How do I remediate CVE-2024-13059?

Priority: HIGH.

What systems are affected by CVE-2024-13059?

CVE-2024-13059 affects Mintplexlabs Anythingllm.

What NERC-CIP standard applies to CVE-2024-13059?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to critical cyber assets, which can lead to the compromise of the system and potential disruption of power delivery.

What IEC 62443 requirement maps to CVE-2024-13059?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves the protection of files and directories from unauthorized access and modification, which is essential for maintaining the integrity and security of the system.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Mintplexlabs","product":"Anythingllm","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.