CVE-2024-21513: langchain-experimental vulnerable to arbitrary code execution
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
Certain versions of langchain-experimental are vulnerable to arbitrary code execution when retrieving database values due to unsafe eval usage. Attackers can exploit this if they control input prompts on servers configured with VectorSQLDatabaseChain.
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 AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- langchain-experimental
- incident date
- 15 Jul 2024
- first reported
- 15 Jul 2024
- origin
- GitHub Advisory DatabaseVulnerability 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-21513 · code-execution
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2024-07-15CVE-2024-21513: langchain-experimental vulnerable to Arbitrary Code ExecutionGitHub Advisory Database · github.com/advisories/GHSA-cgcg-p68q-3w7v
- 2024-07-15CVE-2024-21513: Versions of the package langchain-experimental from 0.0.15 and before 0.0.21 are vulnerable to Arbitrary Code Execution when…NVD · nvd.nist.gov/vuln/detail/CVE-2024-21513
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
- 2024-08-12CVE-2024-42478: Arbitrary address read vulnerability in llama.cpp2 Disclosedon AIInfra vuln1 src
- 2024-08-12CVE-2024-42479: Arbitrary address write vulnerability in llama.cpp2 Disclosedon AIInfra vuln1 src
- 2024-08-12CVE-2024-42477: Global buffer overflow in llama.cpp RPC tensor handling2 Disclosedon AIInfra vuln1 src
- 2024-08-08CVE-2024-6706: Open WebUI Stored Cross-Site Scripting2 Disclosedon AIInfra vulnPrompt inj.1 src
- 2024-08-01CVE-2024-6040: Missing client_id parameter leads to CSRF in lollms-webui2 Disclosedon AIInfra vuln1 src
- 2024-07-31CVE-2024-41950: Haystack insecure Jinja2 templates RCE2 Disclosedon AIInfra vuln1 src