CVE-2025-8709

Description

A SQL injection vulnerability exists in the langchain-ai/langchain repository, specifically in the LangGraphs SQLite store implementation. The affected version is langgraph-checkpoint-sqlite 2.0.10. The vulnerability arises from improper handling of filter operators ($eq, $ne, $gt, $lt, $gte, $lte) where direct string concatenation is used without proper parameterization. This allows attackers to inject arbitrary SQL, leading to unauthorized access to all documents, data exfiltration of sensitive fields such as passwords and API keys, and a complete bypass of application-level security filters.

Risk Information

Base Score
7.3
MODERATE
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
EPSS Score
Exploitation Probability
0.016

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2025-64104,CVE-2025-8709 are fixed in Python-langgraph-checkpoint-sqlite 2.0.11Windows
Vulnerabilities CVE-2025-64104,CVE-2025-8709 are fixed in Python-langgraph-checkpoint-sqlite for linux 2.0.11Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234