Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27794

CVE-2026-27794: LangGraph Checkpoint RCE Vulnerability

CVE-2026-27794 is a remote code execution vulnerability in LangGraph Checkpoint's caching layer affecting versions before 4.0.0. Attackers with cache write access can exploit pickle deserialization to execute code.

Published: February 27, 2026

CVE-2026-27794 Overview

A Remote Code Execution vulnerability exists in LangGraph's caching layer due to insecure deserialization when applications enable cache backends that inherit from BaseCache and opt nodes into caching via CachePolicy. Prior to langgraph-checkpoint version 4.0.0, BaseCache defaults to JsonPlusSerializer(pickle_fallback=True), which allows cached values to be deserialized via pickle.loads(...) when msgpack serialization fails. This creates a dangerous attack surface where an attacker with write access to the cache backend can inject malicious serialized objects that execute arbitrary code when deserialized by the LangGraph process.

Critical Impact

Attackers with write access to cache backends (Redis, SQLite, or shared cache infrastructure) can achieve Remote Code Execution by injecting malicious pickle-serialized payloads into the cache layer.

Affected Products

  • LangGraph Checkpoint versions prior to 4.0.0
  • LangGraph Checkpoint Postgres versions prior to 3.0.3
  • Applications using BaseCache implementations with CachePolicy enabled nodes

Discovery Timeline

  • February 25, 2026 - CVE-2026-27794 published to NVD
  • February 25, 2026 - Last updated in NVD database

Technical Details for CVE-2026-27794

Vulnerability Analysis

This vulnerability represents a classic insecure deserialization flaw (CWE-502) within the LangGraph checkpoint caching mechanism. The core issue stems from the JsonPlusSerializer class defaulting to pickle_fallback=True, which enables Python's native pickle serialization as a fallback when the primary msgpack serialization fails.

Python's pickle module is inherently unsafe when deserializing untrusted data, as it can execute arbitrary Python code during the deserialization process. The attack requires specific conditions to be exploited: the application must explicitly enable a cache backend by passing cache=... to StateGraph.compile(...) or by configuring a BaseCache implementation, and one or more nodes must opt into caching via CachePolicy.

The exploitation scenario involves an attacker gaining write access to the cache storage layer—whether through a network-accessible Redis instance with weak or no authentication, shared cache infrastructure accessible by other tenants or services, or a writable SQLite cache file with permissive file permissions. Once the attacker can write controlled bytes to the cache, the LangGraph process will read and deserialize them, triggering arbitrary code execution.

Root Cause

The root cause is the default configuration of JsonPlusSerializer(pickle_fallback=True) in the BaseCache implementation. This design decision prioritizes serialization flexibility over security by allowing pickle deserialization as a fallback mechanism. When msgpack fails to serialize certain Python objects, the system falls back to pickle, which can deserialize arbitrary Python bytecode. The fix in version 4.0.0 changes this default to disable the pickle fallback, requiring explicit opt-in for applications that need pickle serialization.

Attack Vector

The attack vector is network-based but requires elevated privileges, as the attacker must have write access to the cache backend. This positions the vulnerability as a post-compromise or post-access escalation vector rather than an initial access technique.

Typical attack scenarios include:

  1. Compromised Redis Instance: A network-accessible Redis cache with weak or missing authentication allows attackers to write malicious pickle payloads directly to cached keys
  2. Multi-tenant Environment: Shared cache infrastructure where one tenant can write to cache keys that another tenant's LangGraph process will deserialize
  3. Local File Access: Writable SQLite cache files with permissive file permissions or shared writable volumes enable local attackers to inject payloads

The attack flow involves crafting a malicious pickle payload containing code to execute, writing this payload to the cache backend under a key that will be accessed by the target LangGraph process, and waiting for the application to read and deserialize the cached value, triggering code execution.

text
[[package]]
name = "langgraph-checkpoint"
-version = "3.0.1"
+version = "4.0.0"
source = { editable = "../checkpoint" }
dependencies = [
    { name = "langchain-core" },

Source: GitHub Commit

Detection Methods for CVE-2026-27794

Indicators of Compromise

  • Unexpected pickle-serialized objects appearing in cache backends (Redis, SQLite, or other BaseCache implementations)
  • Anomalous write operations to cache keys from unauthorized sources or IP addresses
  • Process spawning or network connections originating from LangGraph application processes that are inconsistent with normal behavior
  • Python pickle magic bytes (\\x80\\x04\\x95 for protocol 4) in cache entries where msgpack serialization is expected

Detection Strategies

  • Monitor cache backend access logs for unauthorized write operations, particularly from external or untrusted sources
  • Implement content inspection on cache writes to detect pickle-serialized payloads when msgpack is expected
  • Deploy network segmentation and authentication monitoring for Redis and other networked cache services
  • Enable application-level logging for deserialization events, particularly when pickle fallback is triggered

Monitoring Recommendations

  • Configure alerting for any pickle deserialization events in LangGraph applications using the legacy BaseCache configuration
  • Monitor for unusual process behavior (network connections, file system access, subprocess creation) from LangGraph worker processes
  • Implement anomaly detection for cache access patterns to identify potential injection attempts
  • Review authentication logs for cache backends to detect credential compromise or brute-force attempts

How to Mitigate CVE-2026-27794

Immediate Actions Required

  • Upgrade langgraph-checkpoint to version 4.0.0 or later immediately
  • Audit all cache backend configurations for proper authentication and network isolation
  • Review file permissions on SQLite cache files to ensure they are not world-writable
  • Verify that Redis instances and other networked caches require strong authentication and are not exposed to untrusted networks

Patch Information

LangGraph Checkpoint version 4.0.0 patches this vulnerability by changing the default serializer configuration to disable pickle fallback. The fix is documented in GitHub Pull Request #6677 and the GitHub Security Advisory GHSA-mhr3-j7m5-c7c9.

For langgraph-checkpoint-postgres users, upgrade to version 3.0.3 or later, which updates the dependency constraint to allow langgraph-checkpoint>=2.1.2,<5.0.0.

Workarounds

  • If upgrading is not immediately possible, explicitly configure JsonPlusSerializer(pickle_fallback=False) in your cache backend configuration
  • Restrict network access to cache backends using firewall rules and ensure Redis instances require authentication
  • For SQLite cache files, ensure restrictive file permissions (e.g., chmod 600) and avoid shared writable volumes
  • Consider disabling caching entirely by not passing cache=... to StateGraph.compile(...) until the upgrade can be applied
bash
# Verify langgraph-checkpoint version
pip show langgraph-checkpoint | grep Version

# Upgrade to patched version
pip install --upgrade langgraph-checkpoint>=4.0.0

# For postgres checkpoint users
pip install --upgrade langgraph-checkpoint-postgres>=3.0.3

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLanggraph

  • SeverityMEDIUM

  • CVSS Score6.6

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Commit Change

  • GitHub Pull Request

  • GitHub Release Tag

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-28277: LangGraph SQLite Checkpoint RCE Flaw

  • CVE-2025-64439: LangGraph SQLite Checkpoint RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English