CVE-2026-48775: langgraph-checkpoint - Unsafe JSON Deserialization in Checkpoint Loading

langgraph-checkpoint Updated 26 Jun 2026

Summary

25/06/2026
Yes i
Moderate
6.8

CVE-2026-48775: LangGraph Checkpoint: Unsafe JSON deserialization in checkpoint loading. Affects langgraph-checkpoint versions < 4.1.1. Fixed in 4.1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

LangGraph is a framework designed for building and managing machine learning models, providing functionalities such as checkpointing for model states. The package includes a default serializer, JsonPlusSerializer, which reconstructs Python objects from JSON checkpoint payloads. This functionality is essential for resuming model training or inference from saved states. However, it also introduces security risks if the checkpoint data can be tampered with.

Vulnerability Detail

The vulnerability arises from LangGraph's JsonPlusSerializer, which allows for the reconstruction of Python objects from JSON checkpoint payloads. If an unauthorized party can modify the checkpoint bytes in the backing store, they could exploit this deserialization process to reconstruct unexpected objects, potentially leading to arbitrary code execution during checkpoint loading. This issue is particularly concerning in environments where checkpoint stores are not adequately secured, as it escalates the risk from mere write access to the checkpoint store to full code execution within the LangGraph worker process.

How To Fix

Latest published version: 4.3.0 as of 23 Oct 2026

pip install --upgrade "langgraph-checkpoint==4.3.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.1.1

This is the first release that contains the fix.

pip install --upgrade "langgraph-checkpoint==4.1.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, treat checkpoint stores as integrity-sensitive. Restrict write access and rotate credentials if unauthorized access is suspected. Avoid using custom JSON revival hooks that reconstruct arbitrary types unless the checkpoint data is fully trusted.

Conclusion

The CVE-2026-48775 vulnerability in the langgraph-checkpoint package poses a significant risk due to unsafe JSON deserialization. Users are advised to update to version 4.1.1 or later to mitigate this risk. Additionally, employing best practices for securing checkpoint stores can further protect against potential exploits.

See every vulnerability recorded for langgraph-checkpoint →

Share this vulnerability

FAQ

CVE-2026-48775 is a vulnerability in the langgraph-checkpoint package that allows for unsafe JSON deserialization, potentially leading to arbitrary code execution.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to test your application without needing to sign up.

The primary risk is arbitrary code execution during checkpoint deserialization, which could expose runtime secrets or allow unauthorized access to other systems.

If an immediate update is not possible, ensure that your checkpoint store is secure and restrict write access to prevent unauthorized modifications.

There is currently no evidence of this vulnerability being exploited in the wild, but it is important to address it to reduce potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for langgraph-checkpoint.

How To Fix

Latest published version: 4.3.0 as of 23 Oct 2026

pip install --upgrade "langgraph-checkpoint==4.3.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.1.1

This is the first release that contains the fix.

pip install --upgrade "langgraph-checkpoint==4.1.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback