PYSEC-2026-1514

vendorUSosv

LangChain pickle deserialization of untrusted data

view advisory published 2026-07-07Licence: CC-BY-4.0

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 versions prior to 0.2.4.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2024-5998UShigh7.8—
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 arbitr…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan