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

Machine-generated threat intelligence

AILast updated: 03/12/2026, 20:25:42 UTC

Technical Analysis

CVE-2026-28277 is a vulnerability classified under CWE-502 (Deserialization of Untrusted Data) affecting langchain-ai's langgraph product, specifically versions up to and including 1.0.9. LangGraph uses a checkpointing mechanism that serializes Python objects into msgpack format and stores them in SQLite databases, supporting both synchronous and asynchronous operations via aiosqlite. During checkpoint loading, the system deserializes these msgpack-encoded objects back into Python objects. The vulnerability arises because this deserialization process is unsafe and can reconstruct arbitrary Python objects without validation. If an attacker gains privileged write access to the underlying SQLite database or persistence layer—such as through a prior database compromise or insider threat—they can inject maliciously crafted checkpoint data. When the langgraph application subsequently loads this checkpoint, the malicious payload triggers unsafe object reconstruction, potentially leading to arbitrary code execution, data corruption, or denial of service. The vulnerability does not require user interaction but does require high privileges (write access to the database). No public patches or mitigations have been released as of the publication date (March 5, 2026). The CVSS v3.1 score is 6.8, indicating a medium severity with high impact on confidentiality, integrity, and availability, but limited by the requirement for privileged access and no remote unauthenticated exploitation vector. This vulnerability highlights the risks of insecure deserialization in AI workflow persistence mechanisms and the importance of securing backend storage.

Potential Impact

The potential impact of CVE-2026-28277 is significant for organizations using langgraph for AI model checkpointing and workflow persistence. Successful exploitation can lead to arbitrary code execution within the context of the langgraph process, enabling attackers to manipulate AI workflows, exfiltrate sensitive data, corrupt checkpoint states, or disrupt availability. Since the vulnerability requires write access to the checkpoint database, it is likely to be exploited post-compromise or insider attack, amplifying damage in multi-stage attacks. Organizations relying on langgraph in production environments may face operational disruption, loss of AI model integrity, and potential data breaches. The impact extends to any sector utilizing langchain-ai tools, including technology companies, research institutions, and enterprises deploying AI-driven applications. The absence of a public patch increases exposure duration, necessitating immediate compensating controls. The vulnerability also undermines trust in AI system reliability and security, potentially affecting compliance with data protection regulations if exploited.

Mitigation Recommendations

To mitigate CVE-2026-28277, organizations should implement strict access controls to the persistence layer, ensuring only trusted processes and users have write permissions to the SQLite checkpoint databases. Employ database encryption and integrity verification mechanisms to detect unauthorized modifications. Monitor database access logs for anomalous write activities indicative of compromise. Where possible, isolate langgraph checkpoint storage on dedicated, hardened infrastructure with minimal exposure. Consider implementing application-layer validation of deserialized data or replacing unsafe deserialization with safer alternatives that do not reconstruct arbitrary objects. Until an official patch is released, avoid loading checkpoints from untrusted or external sources. Regularly back up checkpoint data to enable recovery from tampering. Engage with langchain-ai for updates and apply patches promptly once available. Additionally, conduct security audits and penetration testing focused on persistence mechanisms to identify and remediate related risks.

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/12/2026, 8:25:42 PM

Last updated: 4/19/2026, 10:04:09 AM

Views: 265

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