Unsafe Deserialization in langsmith
Summary
Vulnerability in langsmith (CVE-2026-45134). Confidential information can be exposed externally. Exploitable via pull_prompt. Mitigation: upgrade to 0.8.0 or later.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-45134 has been found in langsmith.
Attackers can target a specific entry point like pull_prompt over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 7.1/10.
What to do: upgrade langsmith to 0.8.0 or later.
If unsure, ask your IT team or search "langsmith CVE-2026-45134" on the vendor's site.
CVE-2026-45134 (langsmith) — CWE-502 / CVSS v3 7.1
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: pull_prompt / pull_prompt_commit / pullPrompt / pullPromptCommit
Patched: 0.8.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Unsafe deserialization (CWE-502) exists in langsmith. Attackers reach the vulnerable code path via pull_prompt without authentication.
Check the vendor advisory for the affected versions of langsmith. Attack surface: pull_prompt / pull_prompt_commit / pullPrompt / pullPromptCommit.
Severity: High (CVSS 7.1/10). Confidential information can be exposed externally.
Update to 0.8.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'langsmith' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'langsmith' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
langsmithを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade langsmith to 0.8.0ステージング環境で 0.8.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| piplangsmith |
< 0.8.0→ 0.8.0 |
0.8.0 |
| npmlangsmith |
< 0.6.0→ 0.6.0 |
0.6.0 |
| piplangchain-classic |
< 1.0.7→ 1.0.7 |
1.0.7 |
| piplangchain |
< 0.3.30→ 0.3.30 |
0.3.30 |
| PyPIlangsmith |
< 0.8.0→ 0.8.0 |
0.8.0 |
| PyPIlangchain-classic |
< 1.0.7→ 1.0.7 |
1.0.7 |
| PyPIlangchain |
< 0.3.30→ 0.3.30 |
0.3.30 |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web security-advisories@github.com
- web github.com