logo

CVE-2024-5998 langchain-community

Package

Manager: pip
Name: langchain-community
Vulnerable Version: >=0 <0.2.4

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00129 pctl0.33072

Details

LangChain pickle deserialization of untrusted data 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.

Metadata

Created: 2024-09-17T12:30:32Z
Modified: 2025-07-30T19:30:02Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-f2jm-rw3h-6phg/GHSA-f2jm-rw3h-6phg.json
CWE IDs: ["CWE-502"]
Alternative ID: GHSA-f2jm-rw3h-6phg
Finding: F096
Auto approve: 1