{"id":"CVE-2026-5627","summary":"Path Traversal in mintplex-labs/anything-llm","details":"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.","modified":"2026-07-15T01:48:52.220945979Z","published":"2026-04-07T13:06:38.503Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-29"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5627.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/597d41c5-7ea0-4786-80f4-bd536ec66374"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5627.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5627"},{"type":"FIX","url":"https://github.com/mintplex-labs/anything-llm/commit/3444b9b0aa6764d72d53670ab4b1aaccdc6b7017"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mintplex-labs/anything-llm","events":[{"introduced":"0"},{"fixed":"3444b9b0aa6764d72d53670ab4b1aaccdc6b7017"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"1.9.1"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*"}}],"versions":["v1.12.0","v1.11.2","v1.11.1","v1.11.0","v1.10.0","v1.9.1","v1.9.0","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.8","v1.7.6","v1.7.5","v1.7.4","v1.4.0","v1.3.0","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5627.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}