Intel

AIKIDO-2026-692879

@langchain/langgraph is vulnerable to Insecure Deserialization

Insecure DeserializationGHSA-j87f-x5h5-gr75 Published Aug 26, 2026

77

High Risk

This Affects:

JS@langchain/langgraph
0.1.1 - 0.4.9
Fixed in 0.4.10
1.0.0 - 1.4.11
Fixed in 1.4.12
Are you affected? Scan for Free

TL;DR

LangGraph.js restores graph checkpoints with the default JsonPlusSerializer from @langchain/langgraph-checkpoint. In the lc: 2 reviver path that serializer performed dynamic method invocation, using property names and arguments taken from serialized data. Externally influenced checkpoint data could abuse inherited constructor references to reach Function and invoke arbitrary callables during restore. Patched LangGraph releases require a checkpoint version that reconstructs only a fixed allow-list of safe types with strict validation of constructor identifiers and argument shapes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application restores checkpoint data that can contain untrusted structured objects.

Background info

@langchain/langgraph is vulnerable to Insecure Deserialization in versions 0.1.1 - 0.4.9 and 1.0.0 - 1.4.11.

How to fix this

Upgrade the @langchain/langgraph library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform