---
id: CVE-2025-8709
aliases:
  - GHSA-4h97-wpxp-3757
  - PYSEC-2026-1528
title: LangGraph's SQLite store implementation has a SQL Injection Vulnerability
summary: LangGraph's SQLite store implementation has a SQL Injection Vulnerability
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N'
vendor: langgraph-checkpoint-sqlite
product: langgraph-checkpoint-sqlite
ecosystem: pip
affected:
  - langgraph-checkpoint-sqlite < 2.0.11
patched:
  - langgraph-checkpoint-sqlite 2.0.11
published: '2025-10-26'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4h97-wpxp-3757'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-8709'
  - url: 'https://github.com/langchain-ai/langgraph/pull/5666'
  - url: >-
      https://github.com/langchain-ai/langgraph/commit/bc9d45b476101e441cb1cc602dea03eb29232de4
  - url: 'https://github.com/langchain-ai/langgraph'
  - url: >-
      https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D2.0.11
  - url: 'https://huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118'
tags:
  - osv
  - pip
epss: 0.00165
epssPercentile: 0.06195
ingestedAt: '2026-07-08T18:25:45.491Z'
---

## Overview

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.

## Affected packages

- `langgraph-checkpoint-sqlite < 2.0.11`

## Remediation

Upgrade to a patched release:

- `langgraph-checkpoint-sqlite 2.0.11`
