Skip to main content
← All vulnerabilities
CVE-2024-5998PYSEC-2026-1514GHSA-F2JM-RW3H-6PHGPYSEC-2024-323

Deserialization of Untrusted Data in langchain-ai/langchain

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.9, 0.2.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langchain-ai langchain-ai/langchain

    fixed in 0.2.9

  • langchain-communityPyPI

    fixed in 0.2.4

  • langchainPyPI

    fixed in 0.2.9

References 2

huntr.com

GitHub · langchain-ai/langchain