CVE-2025-8709: A SQL injection vulnerability exists in the langchain-ai/langchain repository, specifically in the LangGraph's SQLite store implementation.

CVE-2025-8709 · Severity: high · CVSS 7.3 · Published 2025-10-26

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.

Technologies: langgraph-checkpoint-sqlite (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2025-8709 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-8709 being exploited in the wild.
How severe is CVE-2025-8709?
High severity, with a CVSS score of 7.3, published 26 October 2025.
Which products and versions are affected?
langgraph-checkpoint-sqlite (PyPI) ECOSYSTEM:introduced=0,fixed=2.0.11.
Is there a fix for CVE-2025-8709?
Yes. langgraph-checkpoint-sqlite (PyPI): upgrade to 2.0.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-8709?
Check whether you run langgraph-checkpoint-sqlite (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • langgraph-checkpoint-sqlite (PyPI): upgrade to 2.0.11 or later
    pip install "langgraph-checkpoint-sqlite>=2.0.11"

Affected products

  • langgraph-checkpoint-sqlite (PyPI) ECOSYSTEM:introduced=0,fixed=2.0.11

Identifiers

  • CVE-2025-8709
  • GHSA-4h97-wpxp-3757
  • PYSEC-2026-1528

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.