CVE-2024-5998

Severity CVSS v4.0:
Pending analysis
Type:
CWE-502 Deserialization of Untrusted Dat
Publication date:
17/09/2024
Last modified:
30/07/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:* 0.2.9 (excluding)