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…
EPSS 0.0%top 90%

CVE-2026-45134: CWE-502: Deserialization of Untrusted Data in langchain-ai langsmith-sdk

0
High
VulnerabilityCVE-2026-45134cvecve-2026-45134cwe-502
Published: Wed May 27 2026 (05/27/2026, 19:35:32 UTC)
Source: CVE Database V5
Vendor/Project: langchain-ai
Product: langsmith-sdk

Description

LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. Prior to LangSmith SDK Python 0.8.0 and JS/TS 0.6.0, the LangSmith SDK's prompt pull methods (pull_prompt / pull_prompt_commit in Python, pullPrompt / pullPromptCommit in JS/TS) fetch and deserialize prompt manifests from the LangSmith Hub. These manifests may contain serialized LangChain objects and model configuration that affect runtime behavior. When pulling a public prompt by owner/name identifier, the manifest content is controlled by an external party, but prior versions of the SDK did not distinguish this from pulling a prompt within the caller's own organization. This vulnerability is fixed in LangSmith SDK Python 0.8.0 and JS/TS 0.6.0.

CVSS v3.1

Score 7.1high

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/27/2026, 20:35:19 UTC

Technical Analysis

The vulnerability involves deserialization of untrusted data (CWE-502) in langsmith-sdk versions prior to Python 0.8.0 and JS/TS 0.6.0. The SDK's prompt pull methods (pull_prompt / pull_prompt_commit in Python and pullPrompt / pullPromptCommit in JS/TS) retrieve and deserialize prompt manifests from the LangSmith Hub. These manifests may include serialized LangChain objects and model configurations that influence runtime behavior. Prior to the fix, the SDK did not distinguish between prompts from the user's organization and public prompts controlled by external parties, enabling potential malicious deserialization attacks. This vulnerability has a CVSS 3.1 base score of 7.1, indicating high severity with network attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, high confidentiality impact, low integrity impact, and no availability impact. The issue is resolved in LangSmith SDK Python 0.8.0 and JS/TS 0.6.0.

Potential Impact

Successful exploitation could allow an attacker to influence runtime behavior by deserializing malicious objects from public prompt manifests, potentially leading to unauthorized disclosure of sensitive information (high confidentiality impact) and limited integrity compromise. There is no reported availability impact. No known exploits in the wild have been reported to date.

Mitigation Recommendations

Users should upgrade to LangSmith SDK Python version 0.8.0 or later, or JS/TS version 0.6.0 or later, where this vulnerability is fixed. Since no official vendor advisory or patch link is provided, users should verify upgrade availability from the official langchain-ai sources. Patch status is not explicitly confirmed beyond the fixed version information; therefore, users should consult the vendor's official channels for the latest remediation guidance. No additional mitigation steps are indicated.

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-08T20:08:17.209Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a17519de29bf47b50e7719e

Added to database: 5/27/2026, 8:18:37 PM

Last enriched: 5/27/2026, 8:35:19 PM

Last updated: 5/29/2026, 5:23:07 PM

Views: 12

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