CVE-2026-45134
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedLangSmith 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe LangSmith SDK's prompt pull methods deserialize LangChain objects from manifests fetched from the LangSmith Hub. Prior to v0.8.0 (Python) and v0.6.0 (JS/TS), pulling a public prompt by owner/name allowed external parties to supply malicious serialized objects that execute upon deserialization, compromising the runtime environment.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Python LangSmith SDK versionRun `pip show langsmith` or `python -c "import langsmith; print(langsmith.__version__)"`Affected if Version is lower than 0.8.0 and code uses prompt pull methods
-
Check JavaScript/TypeScript LangSmith SDK versionRun `npm list langsmith` or check the version in package.jsonAffected if Version is lower than 0.6.0 and code uses prompt pull methods
-
Identify prompt pull usage in Python codeSearch codebase for `client.pull(` or `langsmith.pull(` calls that fetch prompts from LangSmith Hub by owner/nameAffected if Code pulls public prompts using owner/name identifiers from LangSmith Hub
-
Identify prompt pull usage in JS/TS codeSearch codebase for `client.pull(` or `hub.pull(` calls that fetch prompts from LangSmith Hub by owner/nameAffected if Code pulls public prompts using owner/name identifiers from LangSmith Hub
You are affected if your LangSmith SDK version is below 0.8.0 (Python) or 0.6.0 (JS/TS) AND your code uses prompt pull methods to fetch public prompts from the LangSmith Hub by owner/name.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade LangSmith SDK to Python 0.8.0+ or JS/TS 0.6.0+ to receive the fix that properly distinguishes public prompts from organizational prompts. Audit existing code that pulls public prompts for signs of compromise.
LangSmith SDK Python 0.8.0+ and JS/TS 0.6.0+
- Identify which LangSmith SDK is in use (Python or JavaScript/TypeScript)
- For Python: Check current version with `pip show langsmith` or in requirements.txt
- For JS/TS: Check current version with `npm list langsmith` or `yarn list langsmith`
- For Python: Upgrade to version 0.8.0 or later using `pip install langsmith>=0.8.0`
- For JS/TS: Upgrade to version 0.6.0 or later using `npm install langsmith@^0.6.0` or `yarn add langsmith@^0.6.0`
- Verify the upgrade was successful by checking the installed version
- Review the SDK release notes for the new version to ensure compatibility with your application
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,936.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45134 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45134 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data