CVE-2024-8251

published 20 Mar 2025 · updated 15 Oct 2025

Prisma Injection in mintplex-labs/anything-llm

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.2.2.

A vulnerability in mintplex-labs/anything-llm prior to version 1.2.2 allows for Prisma injection. The issue exists in the API endpoint "/embed/:embedId/stream-chat" where user-provided JSON is directly taken to the Prisma library's where clause. An attacker can exploit this by providing a specially crafted JSON object, such as {"sessionId":{"not":"a"}}, causing Prisma to return all data from the table. This can lead to unauthorized access to all user queries in embedded chat mode.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Mintplex-Labs<1.2.21.2.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8251 severity on Zeptric[![CVE-2024-8251](https://zeptric.io/badge/cve/CVE-2024-8251.svg)](https://zeptric.io/cve/CVE-2024-8251)