Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

From SQLi to RCE – Exploiting LangGraph’s Checkpointer

0
Medium
Exploitrcesqli
Published: Thu Jun 11 2026 (06/11/2026, 13:37:11 UTC)
Source: Check Point Research

Description

LangGraph, an open-source framework for stateful AI agents, contains multiple vulnerabilities in its persistence layer (checkpointers) that can be chained to achieve remote code execution (RCE). The primary issues include a SQL injection in the SQLite checkpointer (CVE-2025-67644), unsafe msgpack deserialization (CVE-2026-28277), and a similar SQL injection in the Redis checkpointer (CVE-2026-27022). These vulnerabilities allow an attacker controlling the filter parameter in get_state_history() to inject malicious SQL, insert crafted serialized data, and trigger unsafe deserialization leading to arbitrary code execution. LangChain has patched these vulnerabilities in specific versions of langgraph and its checkpointer components. The managed cloud service LangSmith Deployment is not affected.

Affected software

Affected versions
<3.0.1<1.0.10<1.0.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/11/2026, 15:52:48 UTC

Technical Analysis

Check Point Research analyzed LangGraph and discovered three vulnerabilities in its persistence layer. The SQLite checkpointer suffers from a SQL injection vulnerability in the filter parameter used to query checkpoint metadata, allowing injection of arbitrary SQL code. This injection can be used to add a fake checkpoint row with attacker-controlled serialized data. The deserialization of this data uses unsafe msgpack deserialization with a custom extension handler that can execute arbitrary Python code, enabling remote code execution. A similar SQL injection exists in the Redis checkpointer. The attack chain requires exposing the get_state_history() method with a user-controlled filter and self-hosting LangGraph with SQLite or Redis checkpointers. LangChain patched these issues in langgraph-checkpoint-sqlite 3.0.1+, langgraph 1.0.10+, and langgraph-checkpoint-redis 1.0.2+. The managed cloud service uses PostgreSQL and is not vulnerable.

Potential Impact

Successful exploitation allows an attacker to perform SQL injection to inject malicious checkpoint data into the database query results. This data is then deserialized unsafely using msgpack with a custom extension hook that can execute arbitrary code. This leads to remote code execution on the server hosting LangGraph, enabling full control over the system. The vulnerabilities affect self-hosted LangGraph deployments using SQLite or Redis checkpointers with exposed get_state_history() methods accepting user-controlled filters. The managed cloud service LangSmith Deployment is not affected.

Mitigation Recommendations

LangChain has released official patches addressing these vulnerabilities. Users should update to langgraph-checkpoint-sqlite version 3.0.1 or later, langgraph version 1.0.10 or later, and langgraph-checkpoint-redis version 1.0.2 or later. The managed cloud service LangSmith Deployment uses PostgreSQL and is not vulnerable. Applying these updates effectively mitigates the risk of exploitation. No additional mitigations are required if these patches are applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Article Source
{"url":"https://research.checkpoint.com/2026/from-sqli-to-rce-exploiting-langgraphs-checkpointer/","fetched":true,"fetchedAt":"2026-06-11T15:52:40.948Z","wordCount":1620}

Threat ID: 6a2ad9c9815e7002b802c76a

Added to database: 6/11/2026, 3:52:41 PM

Last enriched: 6/11/2026, 3:52:48 PM

Last updated: 6/11/2026, 5:11:54 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses