Advisory record · GHSA-cgcg-p68q-3w7v

Versions of the package langchain-experimental from 0.0.15 and before 0.0.21 are vulnerable to Arbitrary Code Execution when retrieving values from the database, the code will attempt to call 'eval...

CVSS 8.5 HighEPSS 0.019 · 79th percentile

Published by the GitHub Advisory Database at 15 Jul 2024, 05:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
langchain-experimentalPyPI<7b13292e3544b2f5f2bfb8a27a062ea2b0c34561 || <0.0.217b13292e3544b2f5f2bfb8a27a062ea2b0c34561, 0.0.21
Identifiers
GHSA-cgcg-p68q-3w7v · CVE-2024-21513 · PYSEC-2024-62
Weakness (CWE)
CWE-94
Published
15 Jul 2024
Updated
10 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

langchain-experimental versions from 0.0.15 before 0.0.21 are vulnerable to arbitrary code execution when values retrieved from the database are passed to eval. An attacker who can control the input prompt on a server configured with VectorSQLDatabaseChain can execute arbitrary Python code. Upgrade to langchain-experimental 0.0.21 or later.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.5 High 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P CNA (snyk)
  • CISA KEV Not listed.
  • EPSS 0.019, the 79th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 15 Jul 2024. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.