PoC Monitor
← All CVEs
CVE-2025-8709published 26 Oct 2025 05:38 UTCData: JSON · API

Langchain-ai langchain-ai/langchain

SQL Injection in langchain-ai/langchain

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

langchain-ai langchain-ai/langchain
  • >= unspecified, <= latest
langgraph-checkpoint-sqlite (PyPI)
  • < 2.0.11

Fixed in 2.0.11

from GitHub Security Advisory GHSA-4h97-wpxp-3757

Mitigation

Upgrade langgraph-checkpoint-sqlite to 2.0.11 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published26 Oct 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.