| 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) | 2024-04-16 |
| 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-20 |
| CISA KEV | not listed |
NVD description
mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.
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.