| Component | AnythingLLM |
| Severity | high (CVSS 7.2) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2024-06-12 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.0.0 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 1.0.0 |
| Weakness | CWE-29 |
| CISA KEV | not listed |
NVD description
A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the normalizePath() function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.
What to do
- Upgrade AnythingLLM to
1.0.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.