Bug 2406382 (CVE-2025-8709) - CVE-2025-8709 langchain: SQL Injection in langchain-ai/langchain
Summary: CVE-2025-8709 langchain: SQL Injection in langchain-ai/langchain
Keywords:
Status: NEW
Alias: CVE-2025-8709
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-26 06:01 UTC by OSIDB Bzimport
Modified: 2025-10-27 08:39 UTC (History)
32 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-26 06:01:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.