Deserialization of Untrusted Data Affecting mageai package, versions *


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
42.93% (99th 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-17923258
  • published10 Jul 2026
  • disclosed23 Dec 2025

Introduced: 23 Dec 2025

CVE-2025-68664  (opens in a new tab)
CWE-502  (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.

LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data contains this key structure, it is treated as a legitimate LangChain object during deserialization rather than plain user data. This issue has been patched in versions 0.3.81 and 1.2.5.

CVSS Base Scores

version 3.1