Vulnerability · CVE-2024-8309
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain-community version 0.2.5 allows for SQL injection through prompt injection.
Published Nov 5, 2024 · catalog updated Jul 9, 2027 · A vulnerability in the
Check this week
CVE-2024-8309 is not in CISA KEV. FIRST estimates a 13.74% chance of exploitation in the next 30 days. Check whether you run A vulnerability in the.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (A vulnerability in the).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Critical9.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 13.74%
- Remediation
- Advisory link
- Affected products
- PyPI langchain-community
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain-community 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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- PyPI langchain-community0.2.0 → 0.3.0
How to fix CVE-2024-8309
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2024-8309 is not in CISA KEV. FIRST estimates a 13.74% chance of exploitation in the next 30 days. Check whether you run A vulnerability in the.
Which versions are affected?
Compare what you have installed with 0.2.0 → 0.3.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 13.74%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Nov 5, 2024 · Catalog
Detected
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain-community 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 an
Jul 9, 2027 · Catalog
Fix available
PyPI langchain-community 0.2.0 → 0.3.0
Jul 9, 2027 · CIRCL Vulnerability Lookup
Fix available
langchain-community fixed in 0.3.0
Jul 9, 2027 · CIRCL Vulnerability Lookup
Fix available
langchain-community fixed in 0.3.0
Jul 9, 2027 · Catalog
Updated
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain-community 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 an
Sources
- CIRCL Vulnerability LookupVulnerability recordPYSEC-2024-115vulnerability.circl.lu
- CVE.orgVulnerability recordCVE-2024-8309
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2024-8309
30-day exploitation probability 13.7%
first.org
References
Freshness
Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.