Home

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.

PUBLISHED Reserved 2026-04-05 | Published 2026-04-07 | Updated 2026-04-07 | Assigner @huntr_ai




CRITICAL: 9.1CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Problem types

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

Product status

Any version before 1.12.1
affected

References

huntr.com/bounties/597d41c5-7ea0-4786-80f4-bd536ec66374

github.com/...ommit/3444b9b0aa6764d72d53670ab4b1aaccdc6b7017

cve.org (CVE-2026-5627)

nvd.nist.gov (CVE-2026-5627)

Download JSON