LangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlists (langchain-ai langchain)
En bref
- Source
- NVD
- EPSS
- EPSS 0.41 % · centile 35 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Rechercher sur…
Description
LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.85 and 1.3.3, LangChain contains older runtime code paths that deserialize run inputs, run outputs, or other application-controlled payloads using overly broad object allowlists. These paths may call load() with allowed_objects="all". This does not enable arbitrary Python object deserialization, but it does allow any trusted LangChain-serializable object to be revived, which is broader than these runtime paths require. As a result, attacker-supplied LangChain serialized constructor dictionaries may cause trusted runtime paths to instantiate classes with untrusted constructor arguments. This vulnerability is fixed in 0.3.85 and 1.3.3.
Faiblesses (CWE)
- CWE-502 — Désérialisation de données non fiables
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | GitHub_M |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-pjwx-r37v-7724 — LangChain vulnerable to unsafe deserialization of attacker-controlled objects through overly broad `load()` allowlists
- PYSEC-2026-2564 — LangChain vulnerable to unsafe deserialization of attacker-controlled objects through overly broad `load()` allowlists
Références européennes
- ENISA EUVD · EUVD-2026-31976
- GCVE · GCVE-0-2026-44843
Configurations affectées (CPE NVD)
cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*< 0.3.85cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*≥ 1.0.0 < 1.3.3
Produits affectés
| Produit | Versions |
|---|---|
| langchain-ai · langchain | affected < 0.3.85 ; affected >= 1.0.0a1, < 1.3.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |