CVE-2024-8309 - CVE House
Back to Database
Status published Medium CVE-2024-8309

SQL Injection in langchain-ai/langchain

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-8309

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

langchain-ai

View all reports →

Affected Software

langchain-ai/langchain
Vulnerable Versions:
unspecified

Timeline

Official Publish: October 29th, 2024
Last Modified: October 15th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Weaknesses (CWE)