A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-44843

CVE-2026-44843: LangChain Deserialization Vulnerability

CVE-2026-44843 is a deserialization flaw in LangChain that allows attackers to instantiate classes with untrusted constructor arguments. This article covers the technical details, affected versions, and mitigation steps.

Published: May 28, 2026

CVE-2026-44843 Overview

CVE-2026-44843 is an insecure deserialization vulnerability in LangChain, a framework for building agents and Large Language Model (LLM)-powered applications. Versions prior to 0.3.85 and 1.3.3 contain runtime code paths that deserialize run inputs, run outputs, and other application-controlled payloads using overly broad object allowlists. These paths invoke load() with allowed_objects="all", permitting any trusted LangChain-serializable object to be revived from attacker-supplied data. The vulnerability is classified as [CWE-502] Deserialization of Untrusted Data.

Critical Impact

Attacker-supplied LangChain serialized constructor dictionaries can cause trusted runtime paths to instantiate classes with untrusted constructor arguments, broadening the attack surface beyond what runtime paths require.

Affected Products

  • LangChain versions prior to 0.3.85 (0.3.x branch)
  • LangChain versions prior to 1.3.3 (1.x branch)
  • Applications and agents built on vulnerable LangChain runtime paths

Discovery Timeline

  • 2026-05-26 - CVE-2026-44843 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-44843

Vulnerability Analysis

LangChain provides a serialization layer that allows objects such as prompts, chains, and tools to be persisted and reloaded. The framework exposes a load() function that accepts an allowed_objects parameter to restrict which classes can be deserialized. Older runtime code paths within LangChain set this parameter to "all", effectively allowing any trusted LangChain-serializable class to be instantiated from a serialized payload.

This configuration does not allow arbitrary Python object deserialization in the style of pickle. However, it grants attackers the ability to construct any LangChain class by supplying a constructor dictionary. An attacker who controls run inputs, run outputs, or related application payloads can trigger instantiation of trusted classes with attacker-controlled constructor arguments, leading to confidentiality impact and limited integrity impact in the runtime context.

Root Cause

The root cause is an overly permissive allowlist in legacy runtime deserialization paths. By passing allowed_objects="all" to load(), these paths bypass the narrower class allowlist that the affected runtime operations actually require. The mismatch between the privileges granted by the allowlist and the operational needs of the runtime path produces the insecure deserialization condition.

Attack Vector

The vulnerability is exploitable over the network without authentication or user interaction. An attacker submits a crafted LangChain serialized payload as a run input, run output, or other application-controlled field. When the vulnerable runtime path processes the payload, it calls load() and revives the attacker-specified class with attacker-supplied constructor arguments. The resulting object behavior depends on which trusted class the attacker selects from the LangChain ecosystem.

No verified public proof-of-concept code is available at this time. Refer to the GitHub Security Advisory GHSA-pjwx-r37v-7724 for vendor technical details.

Detection Methods for CVE-2026-44843

Indicators of Compromise

  • Inbound payloads to LangChain applications containing serialized constructor dictionaries with lc, type, id, and kwargs keys from untrusted sources
  • Unexpected instantiation of LangChain classes during processing of run inputs or run outputs
  • Anomalous outbound network connections originating from LangChain agent processes following payload ingestion

Detection Strategies

  • Inventory LangChain installations and identify versions prior to 0.3.85 and 1.3.3 across development, staging, and production environments
  • Audit application code for calls to load() and flag invocations where allowed_objects="all" is passed or where allowlists are not explicitly defined
  • Inspect HTTP and message-queue payloads delivered to LangChain endpoints for LangChain-serialized JSON structures from untrusted callers

Monitoring Recommendations

  • Log all deserialization events in LangChain runtime paths, including the class identifiers being revived
  • Alert on LangChain processes spawning child processes or making outbound connections to unexpected destinations
  • Monitor package manifests in CI/CD pipelines to confirm patched LangChain versions are pinned

How to Mitigate CVE-2026-44843

Immediate Actions Required

  • Upgrade LangChain to version 0.3.85 or 1.3.3 or later across all environments running agents or LLM applications
  • Restrict network access to LangChain runtime endpoints so only trusted callers can submit run inputs and outputs
  • Review application code for any direct use of load() and replace allowed_objects="all" with narrow, explicit class allowlists

Patch Information

The LangChain maintainers fixed the vulnerability in versions 0.3.85 and 1.3.3. Patched releases tighten the object allowlist used by affected runtime paths so that only the specific classes required by each path can be deserialized. Consult the GitHub Security Advisory GHSA-pjwx-r37v-7724 for the full list of affected modules and remediation guidance.

Workarounds

  • If immediate upgrade is not possible, validate and sanitize all serialized payloads before they reach LangChain runtime paths
  • Treat all run inputs and run outputs as untrusted and isolate LangChain workers in sandboxed environments with minimal privileges
  • Block external submission of serialized LangChain objects at the application or API gateway layer until patching is complete
bash
# Configuration example: upgrade LangChain to a patched release
pip install --upgrade "langchain>=1.3.3"
# Or for the 0.3.x branch
pip install --upgrade "langchain>=0.3.85,<1.0.0"

# Verify installed version
python -c "import langchain; print(langchain.__version__)"

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLangchain

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-68665: Langchain.js Serialization Injection Flaw

  • CVE-2025-68664: Langchain Core Serialization Vulnerability

  • CVE-2026-7845: Langchain-Chatchat Information Disclosure

  • CVE-2026-7844: Langchain-Chatchat Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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