← Database

CVE-2024-5998

HIGH CVSS: 7.8 Published: 2024-09-17 Modified: 2026-06-17

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.

Affected Platforms

Langchain Langchain

Weakness Type

CWE-502

References