Vulnerabilities

CVE-2024-13059

High 7.2 CVSS 3.0

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.

Description as published by the source, in English.

Key facts

Published
2025-02-10
Last modified
2026-06-17
Assigned by
security@huntr.dev
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Scored by
security@huntr.dev
Probability of exploitation
21.3 % higher than 97 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Mintplexlabs Anythingllm < 1.3.1 Affected

Weakness type

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory

    The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…

  • CWE-29: Path Traversal: '\..\filename'

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading backslash dot dot) sequences that can resolve to a locati…

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities