Security Resilience

CVE-2024-13059

Path Traversal in Mintplexlabs Anythingllm ≤ 1.3.1

Public PoCPath Traversal
Published
10 February 2025
Modified
09 July 2025
Patch / advisory
CVSS Score v3 7.2
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.24 98th percentile
Risk Priority 78 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-13059 is a high-severity Path Traversal: '\..\filename' (CWE-29) vulnerability in Mintplexlabs Anythingllm. Its CVSS base score is 7.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as LLM Application Platforms; in the Supply Chain and Deployment risk domain.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-13059 is a path traversal vulnerability in mintplex-labs/anything-llm versions prior to 1.3.1. It stems from improper handling of non-ASCII filenames by the multer library, where filename transformations can introduce unsanitized '../' sequences. The flaw is tracked under CWE-29 and CWE-22 and carries a CVSS 3.0 score of 7.2.

Attackers holding manager or admin roles can supply crafted filenames during file uploads to write arbitrary files to any location on the server filesystem, enabling remote code execution.

The referenced commit 0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca and the associated huntr report document the fix that was released in version 1.3.1. The EPSS score has remained at 0.6923 with no material increase since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
LLM Application Platforms
Risk Domain
Supply Chain and Deployment
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: llm

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-24478Same product: Mintplexlabs Anythingllm
CVE-2024-10513Same product: Mintplexlabs Anythingllm
CVE-2024-0763Same product: Mintplexlabs Anythingllm
CVE-2026-32719Same product: Mintplexlabs Anythingllm
CVE-2024-4320Shared CWE-22, CWE-29
CVE-2024-2360Shared CWE-22, CWE-29
CVE-2024-2624Shared CWE-22, CWE-29
CVE-2024-3429Shared CWE-22, CWE-29
CVE-2024-7962Shared CWE-22, CWE-29
CVE-2026-23483Shared CWE-22

Affected Assets

mintplexlabs
anythingllm
≤ 1.3.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Input validation directly neutralizes the '\..\filename' sequence before pathname resolution occurs.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and path sanitization that block this traversal vector.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can discover path-traversal flaws but does not itself prevent them in production code.

prevents

Training developers in secure coding practices (input validation, path handling) reduces instances of path traversal defects, but the specific '\..\' bypass technique is subtle enough that even trained developers miss it, and training is fallible — consistent with the A.6.3 -> CWE-598 partial anchor and the A.8.28 -> CWE-79 partial anchor for implementation defects.

prevents

Secure coding standards directly require neutralizing path traversal sequences such as '\..\filename'.

prevents

Contractual secure-coding and testing requirements can prevent some path-traversal flaws in outsourced software from being introduced, but the effect depends on fallible supplier practices and leaves a substantial remainder.

finds

A.8.8's reach is disclosure-based: it identifies vulnerabilities through vendor advisories, scanning tools, and third-party library tracking. CWE-29 instances that surface as published CVEs in third-party components are found, but the bulk of path traversal flaws live in first-party code that A.8.8 does not read, mirroring the A.8.8 -> CWE-89 anchor.

References