LangChain and LangSmith SDK unsafe deserialization of untrusted serialized objects
LangChain versions before 0.3.85 and 1.3.3 deserialized application-controlled payloads using overly broad object allowlists, letting attacker-supplied serialized constructor dictionaries instantiate trusted LangChain classes with untrusted arguments. A related issue in the LangSmith SDKs (before Python 0.8.0 and JS/TS 0.6.0) meant prompt pull methods deserialized externally controlled public prompt manifests without distinguishing them from prompts owned by the caller's organization.
Disclosed 26 May 2026 · Record updated 13 September 2026
Impact
Attacker-controlled serialized payloads or public prompt manifests could cause trusted runtime paths to revive LangChain-serializable objects with untrusted constructor arguments, influencing runtime behaviour and model configuration.
Our coverage
No articles linked to this incident yet.
Sources
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-44843
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-45134
