Skip to content
HighVulnerability

CVE-2026-5627: anything-llm path traversal in AgentFlows loadFlow and deleteFlow

Identifier
CVE-2026-5627
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

CVE-2026-5627 is a path traversal vulnerability in the AgentFlows component of mintplex-labs/anything-llm, affecting versions up to and including 1.9.1. Improper handling of user input in the loadFlow and deleteFlow methods in server/utils/agentFlows/index.js lets attackers combine path.join and normalizePath to bypass directory restrictions. Attackers can then read or delete arbitrary .json files, leaking API keys in configuration files or deleting critical files such as package.json.

Mitigation

The issue is resolved in version 1.12.1.