CVE-2026-45134: CWE-502: Deserialization of Untrusted Data in langchain-ai langsmith-sdk
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.
AI Analysis
Technical Summary
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.
CVE-2026-45134: CWE-502: Deserialization of Untrusted Data in langchain-ai 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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.