# CVE-2024-5211: Path Traversal to Arbitrary File Read/Delete/Overwrite, DoS Attack, and Admin Account Takeover in mintplex-labs/anything-llm

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-12T11:33:42.236Z
- Modified: 2026-06-17T08:15:25.270Z
- Weaknesses: CWE-29
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- mintplex-labs mintplex-labs/anything-llm: from unspecified before 1.0.0
- mintplexlabs anythingllm: before 1.0.0

## Every score

- @huntr_ai: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4b> (exploit, third-party-advisory)
- <https://github.com/mintplex-labs/anything-llm/commit/e208074ef4c240fe03e4147ab097ec3b52b97619> (patch)

## Sources

- CVE List: [CVE-2024-5211](https://www.cve.org/CVERecord?id=CVE-2024-5211), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5211](https://nvd.nist.gov/vuln/detail/CVE-2024-5211), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5211 · Whole record: https://cve.day/CVE-2024-5211.json · Rebuilt by cve.day 2026-11-25T22:58:41.741Z
