# CVE-2026-5627: Path Traversal 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.15%, higher than 67% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-07T13:06:38.503Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-29
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

A path traversal vulnerability exists in mintplex-labs/anything-llm versions up to and including 1.9.1, within the `AgentFlows` component. The vulnerability arises from improper handling of user input in the `loadFlow` and `deleteFlow` methods in `server/utils/agentFlows/index.js`. Specifically, the combination of `path.join` and `normalizePath` allows attackers to bypass directory restrictions and access or delete arbitrary `.json` files on the server. This can lead to information disclosure, such as leaking sensitive configuration files containing API keys, or denial of service by deleting critical files like `package.json`. The issue is resolved in version 1.12.1.

(As written by CVE List.)

## Affected

- mintplex-labs mintplex-labs/anything-llm: from unspecified before 1.12.1
- mintplexlabs anythingllm: up to 1.9.1

## 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/597d41c5-7ea0-4786-80f4-bd536ec66374> (exploit, third-party-advisory)
- <https://github.com/mintplex-labs/anything-llm/commit/3444b9b0aa6764d72d53670ab4b1aaccdc6b7017> (patch)

## Sources

- CVE List: [CVE-2026-5627](https://www.cve.org/CVERecord?id=CVE-2026-5627), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2026-5627](https://nvd.nist.gov/vuln/detail/CVE-2026-5627), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-5627 · Whole record: https://cve.day/CVE-2026-5627.json · Rebuilt by cve.day 2026-11-25T22:59:18.098Z
