CVE-2024-5998Published Sep 17, 2024 · Sep 17Updated Oct 28
Deserialization of Untrusted Data in langchain-ai/langchain
langchain-ai/langchain
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| langchain-community PyPI |
|
|
| langchain PyPI |
|
|
Original 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.