CRITICAL🇵🇱 Wersja polska

CVE-2024-0404

CVSS 9.1v3.0pub. 2024-04-16upd. 2025-07-09

A mass assignment vulnerability exists in the `/api/invite/:code` endpoint of the mintplex-labs/anything-llm repository, allowing unauthorized creation of high-privileged accounts. By intercepting and modifying the HTTP request during the account creation process via an invitation link, an attacker can add a `role` property with `admin` value, thereby gaining administrative access. This issue arises due to the lack of property allowlisting and blocklisting, enabling the attacker to exploit the system and perform actions as an administrator.

🤖 AI Analysis
How it works

During account registration via an invitation link, the application processes an HTTP request without filtering (allowlisting/blocklisting) permitted fields. An attacker can intercept and modify the HTTP request by adding a `role` field with the value `admin` to its content. The lack of server-side validation causes the system to accept this value and create an account with administrator privileges instead of standard privileges intended for invited users.

Impact

The attacker gains full administrator privileges in the anything-llm application, allowing them to manage the system, access data, and perform any administrative actions. High confidentiality and integrity of data processed by the application is at risk.

Mitigation & patch

The application should be updated to a version containing commit 8cd3a92c660b202655d99bee90b2864694c99946, which introduces proper validation of fields transmitted during account registration. Details are available in the vendor's references on GitHub and on the huntr.com platform.

Who is affected

The mintplex-labs/anything-llm application — versions indicated in vendor references (fix commit: 8cd3a92c660b202655d99bee90b2864694c99946)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Mintplexlabs Anythingllm

    APP
    Mintplexlabs
    < 1.0.0
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-32626CRITICAL9.6PL ✓same product

XSS eskalujący do RCE w AnythingLLM Desktop poprzez podatny renderer Electron

CVE-2024-3279CRITICAL9.1PL ✓same product

Nieprawidłowa kontrola dostępu w AnythingLLM — nieautoryzowana manipulacja bazą danych

CVE-2024-3104CRITICAL9.8PL ✓same product

RCE poprzez command injection w Mintplex Labs AnythingLLM

CVE-2024-3033CRITICAL9.4PL ✓same product

Brak autoryzacji w AnythingLLM — destrukcyjny dostęp do VectorDB

CVE-2024-3025CRITICAL9.9PL ✓same product

Path Traversal w AnythingLLM — odczyt i usunięcie plików przez logo filename