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…

CVE-2026-28277: CWE-502: Deserialization of Untrusted Data in langchain-ai langgraph

0
Medium
VulnerabilityCVE-2026-28277cvecve-2026-28277cwe-502
Published: Thu Mar 05 2026 (03/05/2026, 19:10:36 UTC)
Source: CVE Database V5
Vendor/Project: langchain-ai
Product: langgraph

Description

LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). In version 1.0.9 and prior, LangGraph checkpointers can load msgpack-encoded checkpoints that reconstruct Python objects during deserialization. If an attacker can modify checkpoint data in the backing store (for example, after a database compromise or other privileged write access to the persistence layer), they can potentially supply a crafted payload that triggers unsafe object reconstruction when the checkpoint is loaded. No known patch is public.

AI-Powered Analysis

AILast updated: 03/05/2026, 20:24:04 UTC

Technical Analysis

CVE-2026-28277 is a vulnerability classified under CWE-502 (Deserialization of Untrusted Data) affecting the langgraph product from langchain-ai, specifically versions up to and including 1.0.9. LangGraph's SQLite CheckpointSaver implementation uses SQLite databases to persist checkpoints, which are serialized using msgpack encoding. During checkpoint loading, the system deserializes these msgpack-encoded checkpoints back into Python objects. Because Python object deserialization can execute arbitrary code if the data is maliciously crafted, this process is unsafe if the checkpoint data can be tampered with. An attacker who gains privileged write access to the underlying SQLite database or persistence layer can inject a malicious payload that, when deserialized, leads to arbitrary code execution or other malicious behavior. This vulnerability does not require user interaction but does require the attacker to have elevated privileges to modify the checkpoint data. The vulnerability has not been publicly patched as of the publication date (March 5, 2026). The CVSS 3.1 score is 6.8, indicating a medium severity with high impact on confidentiality, integrity, and availability. The attack vector is adjacent network (AV:A), requiring low attack complexity (AC:L) but high privileges (PR:H). The scope is unchanged (S:U), and no user interaction is required (UI:N). No known exploits are currently in the wild. This vulnerability is critical in environments where checkpoint data integrity cannot be guaranteed or where multiple tenants share the same persistence infrastructure.

Potential Impact

If exploited, this vulnerability can lead to arbitrary code execution within the context of the application deserializing the checkpoint data. This compromises confidentiality by potentially exposing sensitive data stored or processed by langgraph. Integrity is compromised as attackers can manipulate checkpoint data to alter application behavior or inject malicious logic. Availability may also be affected if the injected payload disrupts normal operations or causes crashes. Since exploitation requires privileged write access to the persistence layer, the vulnerability is often a post-compromise risk, enabling attackers to escalate their foothold or maintain persistence. Organizations relying on langgraph for AI workflows or data processing may face significant operational disruption, data breaches, or lateral movement within their networks. The absence of a public patch increases the risk window, especially in environments where database security is weak or multi-tenant setups exist. The medium severity rating reflects the balance between the high impact and the prerequisite of elevated privileges for exploitation.

Mitigation Recommendations

1. Restrict and monitor access to the SQLite checkpoint database and any persistence layers to prevent unauthorized modifications. Implement strict access controls and audit logging for all write operations. 2. Isolate checkpoint storage to trusted environments and avoid sharing persistence layers across tenants or untrusted users. 3. Employ integrity verification mechanisms such as cryptographic signatures or hashes on checkpoint data before deserialization to detect tampering. 4. Consider disabling automatic checkpoint loading or deserialization if not strictly necessary, or implement safer serialization formats that do not allow arbitrary code execution. 5. Monitor application logs and database access patterns for unusual activity indicative of tampering attempts. 6. Stay updated with langchain-ai releases and apply patches promptly once available. 7. As a temporary workaround, restrict the use of vulnerable langgraph versions to trusted environments only and avoid exposing checkpoint databases to potentially untrusted networks or users. 8. Conduct regular security assessments of the persistence infrastructure to identify and remediate privilege escalation paths that could enable exploitation.

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

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-26T01:52:58.734Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69a9e2f561e8e69ef5e9241d

Added to database: 3/5/2026, 8:09:25 PM

Last enriched: 3/5/2026, 8:24:04 PM

Last updated: 3/5/2026, 9:38:03 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 in Console -> Billing 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