Skip to main content
← All vulnerabilities
CVE-2025-8709GHSA-4H97-WPXP-3757PYSEC-2026-1528

SQL Injection in langchain-ai/langchain

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

A SQL injection vulnerability exists in the langchain-ai/langchain 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langchain-ai langchain-ai/langchain

    Version range not reported

  • langgraph-checkpoint-sqlitePyPI

    fixed in 2.0.11

References 1

huntr.com