PYSEC-2024-323

At a glance

Published
Updated
CVE
CVE-2024-5998
Aliases
GHSA-f2jm-rw3h-6phg, PYSEC-2026-1514
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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 packages

PackageVersions
PyPI · langchainintroduced 0, fixed 0.2.9

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database