GCD AI RADAR
incidents/AIR-2024-0167

CVE-2024-5998: LangChain pickle deserialization of untrusted data

Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerabilitySupply chain

A vulnerability in LangChain allows for insecure pickle deserialization of untrusted data via the FAISS.deserialize_from_bytes function. This flaw enables the execution of arbitrary commands on the affected system.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

Details

type
Attack on AI
An AI model, agent or AI-powered product was the thing exploited, abused or leaked.
categories
  • Infrastructure vulnerabilityprimary
    CVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
  • Supply chain
    Malicious or backdoored models, poisoned packages, unsafe deserialization and other compromised AI dependencies.
owasp llm top 10
mitre atlas
Both rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
severity
2 · Disclosed vulnerability
CVE or vendor advisory, patched or patchable, no confirmed exploitation.
targets
Framework / tooling
products
LangChain
incident date
17 Sep 2024
first reported
17 Sep 2024
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
classifier confidence
0.95 · published at or above 0.80; see the methodology
tags
CVE-2024-5998 · deserialization · langchain
record
created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json

Sources · 2

  1. 2024-09-17
    CVE-2024-5998: LangChain pickle deserialization of untrusted data
    GitHub Advisory Database · github.com/advisories/GHSA-f2jm-rw3h-6phg
  2. 2024-09-17

Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.

Related incidents