p PatchFirst

CVE-2025-67644

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.3 · High · EPSS 2.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • langgraph

    Versions
    • < 3.0.1: Affected

    No fix published

  • langgraph-checkpoint-sqlite PyPI

    Versions
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 2.0.0
    • 2.0.1
    • 2.0.10
    • 2.0.11
    • 2.0.2
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    • 3.0.0
    Affected ranges
    • ECOSYSTEM: < 3.0.1

    Update to 3.0.1

Original sources

Check your server →