# CVE-2026-5627: Path Traversal in mintplex-labs/anything-llm

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.0, CNA) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.15% (percentile 67, 2026-11-26)
- **CWE:** CWE-29
- **Published:** 2026-04-07T13:06:38.503Z
- **Modified:** 2026-10-26T22:10:00.163Z

## Who should check

- Anyone running mintplex-labs/anything-llm \>= unspecified, \< 1.12.1

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

## Affected and fixed versions

- mintplex-labs/anything-llm: \>= unspecified, \< 1.12.1 (cvelist)

## Mitigation

- Upgrade mintplex-labs/anything-llm to 1.12.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-5627. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-5627.md
Affected: mintplex-labs/anything-llm >= unspecified, < 1.12.1
Fixed in: mintplex-labs/anything-llm 1.12.1

Steps:
1. Search this machine and project for mintplex-labs/anything-llm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-5627 being exploited?

There is no confirmed exploitation: CVE-2026-5627 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-5627?

Critical: CVSS 9.1 (v3.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-5627?

mintplex-labs/anything-llm \>= unspecified, \< 1.12.1.

### Is there a fix for CVE-2026-5627?

Yes. Fixed in mintplex-labs/anything-llm 1.12.1. Upgrade mintplex-labs/anything-llm to 1.12.1 or later.

### How do I check if I'm affected by CVE-2026-5627?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/mintplex-labs/anything-llm/commit/3444b9b0aa6764d72d53670ab4b1aaccdc6b7017>
- exploit: <https://huntr.com/bounties/597d41c5-7ea0-4786-80f4-bd536ec66374>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-5627>

HTML: <https://flawdb.com/CVE-2026-5627> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-5627>
