| Component | AnythingLLM |
| Severity | high (CVSS 7.2) |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2025-02-10 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.3.1 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 1.3.1 |
| Weakness | CWE-29CWE-22 |
| CISA KEV | not listed |
NVD 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.
What to do
- Upgrade AnythingLLM to
1.3.1or later. - Do not expose the component's API or UI to the internet without authentication in front of it.