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-44843: CWE-502: Deserialization of Untrusted Data in langchain-ai langchain

0
High
VulnerabilityCVE-2026-44843cvecve-2026-44843cwe-502
Published: Tue May 26 2026 (05/26/2026, 19:47:35 UTC)
Source: CVE Database V5
Vendor/Project: langchain-ai
Product: langchain

Description

LangChain versions prior to 0. 3. 85 and between 1. 0. 0a1 and before 1. 3. 3 contain a deserialization vulnerability. The framework uses overly broad object allowlists when deserializing certain runtime inputs, allowing trusted LangChain-serializable objects to be instantiated with untrusted constructor arguments. This can lead to unintended object instantiation from attacker-supplied serialized data. The vulnerability is identified as CWE-502 and has a high severity with a CVSS score of 8.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/26/2026, 20:48:39 UTC

Technical Analysis

LangChain, a framework for building agents and LLM-powered applications, had insecure deserialization in versions before 0.3.85 and between 1.0.0a1 and 1.3.3. The issue arises from runtime code paths that deserialize inputs using overly broad allowlists, specifically calling load() with allowed_objects="all". While this does not allow arbitrary Python object deserialization, it permits any trusted LangChain-serializable object to be revived, which is broader than necessary. Consequently, attacker-supplied serialized constructor dictionaries may cause trusted runtime paths to instantiate classes with untrusted constructor arguments, potentially leading to security risks. The vulnerability is tracked as CVE-2026-44843 and is fixed in versions 0.3.85 and 1.3.3.

Potential Impact

The vulnerability allows an attacker to supply malicious serialized data that can cause the LangChain runtime to instantiate trusted objects with untrusted constructor arguments. This can lead to unauthorized information disclosure or manipulation of application behavior. The CVSS score of 8.2 indicates a high impact on confidentiality with limited impact on integrity and no impact on availability. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

This vulnerability is fixed in LangChain versions 0.3.85 and 1.3.3. Users should upgrade to at least these versions to remediate the issue. Since this is not a cloud service, remediation depends on user action to update the software. Patch status is not explicitly stated in the vendor advisory content, but the fixed versions are clearly identified. Users should verify they are running versions 0.3.85 or later, or 1.3.3 or later, and update accordingly.

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-05-07T21:21:48.352Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a16041de29bf47b505ea069

Added to database: 5/26/2026, 8:35:41 PM

Last enriched: 5/26/2026, 8:48:39 PM

Last updated: 5/27/2026, 4:03:20 AM

Views: 2

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