Advisory

PYSEC-2026-1528

Also known as: CVE-2025-8709, GHSA-4h97-wpxp-3757

Summary

LangGraph's SQLite store implementation has a SQL Injection Vulnerability

Details

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.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

langgraph-checkpoint-sqlite

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.11 (ecosystem)

Fixed versions

2.0.11

Fix

  • Fixed version 2.0.11
    pip install --upgrade langgraph-checkpoint-sqlite==2.0.11

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences