CVE-2024-8309
langchain vulnerability - langchain
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.
Affected Systems
| Vendor | langchain |
| Product | langchain |
| Affected Versions | 0.2.5 |
| CWE ID | CWE-89 |
Mitigation
Apply the latest security patches from the vendor, restrict network exposure where applicable, and monitor for exploitation attempts.
Fix Instructions
Refer to the vendor advisory and apply the latest security updates. See references for detailed patching instructions.
References
Risk Assessment
CVSS: 9.8/10
| Exploit Available | Unknown |
| Patch Available | Yes |
Need Help Patching?
Our security team can help assess and remediate this vulnerability in your environment.
Get HelpRelated Vulnerabilities
Stay Ahead of Threats
Subscribe to our vulnerability feed and get instant alerts when new CVEs affect your systems.
Start Monitoring