ADVISORIES

Vulnerability

CVE-2024-5998

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.

3 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 3

Advisories in PyPI

  • GHSA-f2jm-rw3h-6phg

    LangChain pickle deserialization of untrusted data

    High CVE-2024-5998 PyPI Updated 13 July 2026
  • 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 execution of arbitrary commands via the os.system…

    CVE-2024-5998 PyPI Updated 13 July 2026
  • PYSEC-2026-1514

    LangChain pickle deserialization of untrusted data

    CVE-2024-5998 PyPI Updated 13 July 2026

References