AnythingLLMPublished 20 May 2024NVD status: Analyzed

CVE-2024-4287

AnythingLLM: In mintplex-labs/anything-llm, a vulnerability exists due to improper input validation in the workspace update process.

ComponentAnythingLLM
Severityhigh (CVSS 7.2)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2024-05-20
Last modified2026-06-17
Affected versions
< 0.0.0
from the CVE Program record written by the CNA that assigned the CVE
NVD's CPE data says otherwise on some releases, where a more reliable source, or two others together, contradict it
Fixed in0.0.0
WeaknessCWE-20
CISA KEVnot listed

NVD description

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.

What to do

  • Upgrade AnythingLLM to 0.0.0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources