CVE-2025-8709

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductLanggraph-checkpoint-sqlite
PublishedOct 26, 2025
First seenOct 26, 2025
Weakness typeCWE-89SQL injection

How to fix

Update
  • langgraph-checkpoint-sqlite2.0.11 or later

Affected products

ProductAffected versionsFixed in
langgraph-checkpoint-sqlitePyPIv < 2.0.112.0.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.