Deserialization of Untrusted Data in langchain-ai/langchain (langchain-ai langchain-ai/langchain)
En bref
- Source
- NVD
- EPSS
- EPSS 0.36 % · centile 30 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- @huntr_ai
- Statut NVD
- Analyzed
Description
A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitrary commands via the os.system function. The issue affects the latest version of the product.
Faiblesses (CWE)
- CWE-502 — Désérialisation de données non fiables
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.0 | MEDIUM 5.2 | CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L | @huntr_ai |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.0 | MEDIUM 5.2 | CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L | NVD · security@huntr.dev (Secondary) |
Avis
- GHSA-f2jm-rw3h-6phg — LangChain pickle deserialization of untrusted data
- PYSEC-2024-323 — A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the
- PYSEC-2026-1514 — LangChain pickle deserialization of untrusted data
Références européennes
- ENISA EUVD · EUVD-2024-2778
- GCVE · GCVE-0-2024-5998
Avis du CERT-FR
- CERTFR-2025-AVI-0538 — Multiples vulnérabilités dans VMware Tanzu · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*< 0.2.9
Produits affectés
| Produit | Versions |
|---|---|
| langchain-ai · langchain-ai/langchain | affected unspecified < 0.2.9 |
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 |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| 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 |