- Description
- A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database.
- Source
- security@huntr.dev
- NVD status
- Analyzed
- Products
- langchain
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 3.0
- Type
- Secondary
- Base score
- 4.9
- Impact score
- 3.4
- Exploitability score
- 1.4
- Vector string
- CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Severity
- MEDIUM
- Hype score
- Not currently trending
Prompt injection → AI generates SQL → developer passes it straight to DB → attacker owns the database. That is insecure output handling. LangChain CVE-2024-8309. https://t.co/dXFxPFPNGc CVE-2024-5565. Cisco 2025 white-on-white Confluence RAG. AI output is user input. Tre
@GotoNathan
15 Jun 2026
159 Impressions
0 Retweets
1 Like
0 Bookmarks
0 Replies
0 Quotes
CVE-2024-8309 A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead t… https://t.co/08L9veg3Cd
@CVEnew
29 Oct 2024
204 Impressions
1 Retweet
1 Like
1 Bookmark
0 Replies
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:langchain:langchain:0.2.5:*:*:*:*:*:*:*",
"matchCriteriaId": "7B64914C-D055-40ED-91D4-BC39AB147771",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]