LangChain pickle deserialization of untrusted data
High severity
GitHub Reviewed
Published
Sep 17, 2024
to the GitHub Advisory Database
•
Updated Jul 30, 2025
Description
Published by the National Vulnerability Database
Sep 17, 2024
Published to the GitHub Advisory Database
Sep 17, 2024
Reviewed
Sep 17, 2024
Last updated
Jul 30, 2025
A vulnerability in the
FAISS.deserialize_from_bytesfunction of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitrary commands via theos.systemfunction. The issue affects versions prior to 0.2.4.References