Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langgraph-checkpoint-sqlite
  4. ›
  5. CVE-2025-8709

CVE-2025-8709: LangGraph's SQLite store implementation has a SQL Injection Vulnerability

October 26, 2025 (updated October 27, 2025)

A SQL injection vulnerability exists in the langchain-ai/langgraph 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.

References

  • github.com/advisories/GHSA-4h97-wpxp-3757
  • github.com/langchain-ai/langgraph
  • github.com/langchain-ai/langgraph/commit/bc9d45b476101e441cb1cc602dea03eb29232de4
  • github.com/langchain-ai/langgraph/pull/5666
  • github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D2.0.11
  • huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118
  • nvd.nist.gov/vuln/detail/CVE-2025-8709

Code Behaviors & Features

Detect and mitigate CVE-2025-8709 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.11

Fixed versions

  • 2.0.11

Solution

Upgrade to version 2.0.11 or above.

Impact 7.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/langgraph-checkpoint-sqlite/CVE-2025-8709.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 05 Nov 2025 00:19:58 +0000.