CVE-2025-8709 - CVE House
Back to Database
Status published High CVE-2025-8709

SQL Injection in langchain-ai/langchain

Vulnerability Description

A SQL injection vulnerability exists in the langchain-ai/langchain repository, specifically in the LangGraph's 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.

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-2025-8709

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 26th, 2025
Last Modified: October 28th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)