{"id":"CVE-2024-13059","published":"2025-02-10T18:53:04Z","modified":"2025-02-10T23:18:49Z","title":"Path Traversal in mintplex-labs/anything-llm","vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","tier":"tail","description":{"text":"A vulnerability in mintplex-labs/anything-llm prior to version 1.3.1 allows for path traversal due to improper handling of non-ASCII filenames in the multer library. This vulnerability can lead to arbitrary file write, which can subsequently result in remote code execution. The issue arises when the filename transformation introduces '../' sequences, which are not sanitized by multer, allowing attackers with manager or admin roles to write files to arbitrary locations on the server.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.24111,"percentile":0.97897,"provenance":"source"},"cwes":[{"id":"CWE-29","name":"Path Traversal: '..filename'"}],"references":[{"url":"https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1","tags":[]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca","tags":[]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.58},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"mintplex-labs","affectedVersions":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[">= unspecified, < 1.3.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-02-10T23:18:25.688183Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The path traversal flaw lives in mintplex-labs/anything-llm prior to version 1.3.1, arising from improper handling of non-ASCII filenames by the multer library, which does not sanitise '../' sequences introduced by filename transformation. An attacker holding a manager or admin role on the application can exploit it over the network to write files to arbitrary locations on the server, which can lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:46Z"},"euvd":{"id":"EUVD-2024-51313","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mintplex-labs-anything-llm-cve-2023-4898","parents":[{"from":"CVE-2024-3153","to":"CVE-2024-13059","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/utils/files/multer.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca","https://github.com/mintplex-labs/anything-llm/commit/b8d37d9f43af2facab4c51146a46229a58cb53d9"],"basis":"rarely changed file"}]},{"from":"CVE-2024-3166","to":"CVE-2024-13059","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/utils/files/multer.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca","https://github.com/mintplex-labs/anything-llm/commit/fa27103d032c58904c49b92ee13fabc19a20a5ce"],"basis":"rarely changed file"}]}]}}