CVE-2024-8251
CVE-2024-8251 is a medium-severity vulnerability in Mintplexlabs Anythingllm with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 0% (36th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-6903
- Weakness: CWE-89
- Affected product: Mintplexlabs Anythingllm
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2024-8251?
- 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.
- How severe is CVE-2024-8251?
- CVE-2024-8251 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
- Is CVE-2024-8251 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-8251?
- CVE-2024-8251 affects Mintplexlabs Anythingllm. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-8251?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-8251 have an EU (EUVD) identifier?
- Yes. CVE-2024-8251 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-6903.
- When was CVE-2024-8251 published?
- CVE-2024-8251 was published on 2025-03-20 and last updated on 2026-06-17.
References
- https://github.com/mintplex-labs/anything-llm/commit/334fd9cdd02ad4aa6a3c9bdfc95e7764651c13f4
- https://huntr.com/bounties/7c263ef1-7d50-475a-9425-b15df4e0403c
Affected products (1)
- cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*
More vulnerabilities in Mintplexlabs Anythingllm
- CVE-2024-3025 — Critical (CVSS 9.9): mintplex-labs/anything-llm is vulnerable to path traversal attacks due to insufficient validation of user-supplied…
- CVE-2024-3104 — Critical (CVSS 9.8): A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment…
- CVE-2023-4897 — Critical (CVSS 9.8): Relative Path Traversal in GitHub repository mintplex-labs/anything-llm prior to 0.0.1.
- CVE-2026-32626 — Critical (CVSS 9.6): AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during…
- CVE-2024-3033 — Critical (CVSS 9.4): An improper authorization vulnerability exists in the mintplex-labs/anything-llm application, specifically within the…
- CVE-2024-3279 — Critical (CVSS 9.1): An improper access control vulnerability exists in the mintplex-labs/anything-llm application, specifically within the…
All CVEs affecting Mintplexlabs Anythingllm →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…