AnythingLLMPublished 7 Apr 2026NVD status: Analyzed

CVE-2026-5627

AnythingLLM: A path traversal vulnerability exists in mintplex-labs/anything-llm versions up to and including 1.9.1, within the AgentFlows component.

ComponentAnythingLLM
Severityhigh (CVSS 7.2)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2026-04-07
Last modified2026-06-17
Affected versions
< 1.12.1
from the CVE Program record written by the CNA that assigned the CVE
Fixed in1.12.1
WeaknessCWE-29
CISA KEVnot listed

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

What to do

  • Upgrade AnythingLLM to 1.12.1 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources