Arbitrary Code Injection Affecting mageai package, versions *


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
13.74% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-MAGEAI-17956976
  • published13 Jul 2026
  • disclosed29 Oct 2024

Introduced: 29 Oct 2024

CVE-2024-8309  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

There is no fixed version for Minimos:latest mageai.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mageai package and not the mageai package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database.

CVSS Base Scores

version 3.1