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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
Sources
- GitHub Advisory Database: GHSA-cgcg-p68q-3w7v
- OSV: GHSA-cgcg-p68q-3w7v
- security.snyk.io/vuln/SNYK-PYTHON-LANGCHAINEXPERIMENTAL-7278171
- github.com/langchain-ai/langchain/blob/672907bbbb7c38bf19787b78e4ffd7c8a9026fe4/libs/experimental/langchain_experimental/sql/vector_sql.py%23L81
- github.com/langchain-ai/langchain/commit/7b13292e3544b2f5f2bfb8a27a062ea2b0c34561
- github.com/advisories/GHSA-cgcg-p68q-3w7v