{"id":"CVE-2024-4287","summary":"Improper Input Validation in mintplex-labs/anything-llm","details":"In mintplex-labs/anything-llm, a vulnerability exists due to improper input validation in the workspace update process. Specifically, the application fails to validate or format JSON data sent in an HTTP POST request to `/api/workspace/:workspace-slug/update`, allowing it to be executed as part of a database query without restrictions. This flaw enables users with a manager role to craft a request that includes nested write operations, effectively allowing them to create new Administrator accounts.","modified":"2026-08-12T03:51:32.728046719Z","published":"2024-05-20T12:24:51.682Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4287.json","unresolved_ranges":[{"extracted_events":[{"fixed":"0.0.0"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://huntr.com/bounties/34491fb7-5133-4e80-8782-74124350bbdb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4287.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4287"},{"type":"FIX","url":"https://github.com/mintplex-labs/anything-llm/commit/94b58249a37a21b1c08deaa2d1edfdecbb6deb18"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mintplex-labs/anything-llm","events":[{"introduced":"0"},{"fixed":"013c0b9575ae6a87af87275e326041c4e0afeeee"},{"fixed":"94b58249a37a21b1c08deaa2d1edfdecbb6deb18"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.0.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4287.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}