CVE-2024-13059

Path Traversal in mintplex-labs/anything-llm

State
Published
Severity
7.2 High
Published
Feb 10, 2025
Updated
Feb 10, 2025
Reserved
Dec 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.07.2 HighCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

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

Affected Products

ProductVersions
mintplex-labs/anything-llmmintplex-labs
  • before 1.3.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.