langchain
Affected
- introduced
0, fixed0.2.9(ecosystem)
Fixed versions
0.2.9
Fix
- Fixed version
0.2.9pip install --upgrade langchain==0.2.9
Advisory
Also known as: CVE-2024-5998, GHSA-f2jm-rw3h-6phg, PYSEC-2026-1514
The record has no summary.
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.
High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0, fixed 0.2.9 (ecosystem)0.2.9
0.2.9pip install --upgrade langchain==0.2.9Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0