CVE-2026-5627

Path Traversal in mintplex-labs/anything-llm

State
Published
Severity
9.1 Critical
Published
Apr 7, 2026
Updated
Apr 7, 2026
Reserved
Apr 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.09.1 CriticalCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-29 Path Traversal: '\..\filename'

Affected Products

ProductVersions
mintplex-labs/anything-llmmintplex-labs
  • before 1.12.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.