CVE-2025-67644

LangGraph SQLite Checkpoint is vulnerable to SQL Injection via metadata filter key in checkpointer list method

Published Dec 10, 2025 CVSS 3.1 · 7.3 High EPSS 2.5% KEV · Not listed
Description
LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). Versions 3.0.0 and below are vulnerable to SQL injection through the checkpoint implementation. Checkpoint allows attackers to manipulate SQL queries through metadata filter keys, affecting applications that accept untrusted metadata filter keys (not just filter values) in checkpoint search operations. The _metadata_predicate() function constructs SQL queries by interpolating filter keys directly into f-strings without validation. This issue is fixed in version 3.0.1.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9rwj-6rc7-p77c LangGraph's SQLite is vulnerable to SQL injection via metadata filter key in SQLite checkpointer list method
History
Type Values Removed Values Added
First Time appeared Langchain langgraph-checkpoint-sqlite
CPEs cpe:2.3:a:langchain:langgraph-checkpoint-sqlite:*:*:*:*:*:python:*:*
Vendors & Products Langchain langgraph-checkpoint-sqlite
Type Values Removed Values Added
First Time appeared Langchain
Langchain langchain
Langchain-ai
Langchain-ai langchain
Langchain-ai langchain-ai/langchain
Vendors & Products Langchain
Langchain langchain
Langchain-ai
Langchain-ai langchain
Langchain-ai langchain-ai/langchain
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). Versions 3.0.0 and below are vulnerable to SQL injection through the checkpoint implementation. Checkpoint allows attackers to manipulate SQL queries through metadata filter keys, affecting applications that accept untrusted metadata filter keys (not just filter values) in checkpoint search operations. The _metadata_predicate() function constructs SQL queries by interpolating filter keys directly into f-strings without validation. This issue is fixed in version 3.0.1.
Title LangGraph SQLite Checkpoint is vulnerable to SQL Injection via metadata filter key in checkpointer list method
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 11, 2025, 3:35 PM
Reserved
Dec 9, 2025, 6:36 PM
Status
Analyzed
Published
Dec 11, 2025, 12:16 AM
Modified
Oct 8, 2026, 10:10 AM