{"id":"CVE-2024-3152","published":"2024-06-06T17:19:15Z","modified":"2025-10-15T12:50:23Z","title":"Privilege Escalation and Local File Inclusion in mintplex-labs/anything-llm","vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","tier":"tail","description":{"text":"mintplex-labs/anything-llm is vulnerable to multiple security issues due to improper input validation in several endpoints. An attacker can exploit these vulnerabilities to escalate privileges from a default user role to an admin role, read and delete arbitrary files on the system, and perform Server-Side Request Forgery (SSRF) attacks. The vulnerabilities are present in the `/request-token`, `/workspace/:slug/thread/:threadSlug/update`, `/system/remove-logo`, `/system/logo`, and collector's `/process` endpoints. These issues are due to the application's failure to properly validate user input before passing it to `prisma` functions and other critical operations. Affected versions include the latest version prior to 1.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00569,"percentile":0.48025,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://huntr.com/bounties/46034fa0-d623-49f8-8ee8-390390181373","tags":[]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/200bd7f0615347ed2efc07903d510e5a208b0afc","tags":[]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":9.61},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mintplex-labs","affectedVersions":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[">= unspecified, < 1.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-06-06T18:35:21.876336Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-31750","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mintplex-labs-anything-llm-cve-2023-4898","children":[{"from":"CVE-2024-3152","to":"CVE-2024-3166","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/models/workspaceThread.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/200bd7f0615347ed2efc07903d510e5a208b0afc","https://github.com/mintplex-labs/anything-llm/commit/fa27103d032c58904c49b92ee13fabc19a20a5ce"],"basis":"rarely changed file"}]}]}}