CVE-2025-8709CWE-89sql-injection

CVE-2025-8709

High · published October 26, 2025

CVSS v3.0
7.3
EPSS
0%
Percentile
11.9
In the wild
Unconfirmed
What it is

⚡ A seemingly innocent filter could open a massive data breach! This SQL injection vulnerability in langchain's SQLite store lets attackers run arbitrary SQL queries with just a tiny misconfiguration. 🔥 Think of your data like a restaurant menu. If a waiter takes orders without verifying the customers’ requests, they might accidentally serve a dish that wasn't on the menu, exposing your kitchen secrets to outsiders. In this case, the filter operators are those unchecked orders allowing malicious queries inside your database. An attacker could gain unauthorized access to sensitive documents, exfiltrate data like passwords and API keys, and completely circumvent your security measures. This could lead to devastating consequences for your users and your organization’s integrity!

Put simply

Think of your data like a restaurant menu. If a waiter takes orders without verifying the customers’ requests, they might accidentally serve a dish that wasn't on the menu, exposing your kitchen secrets to outsiders. In this case, the filter operators are those unchecked orders allowing malicious queries inside your database. The vulnerability arises from improper handling of SQL filter operators ($eq, $ne, $gt, $lt, $gte, $lte) in the langgraph-checkpoint-sqlite version 2.0.10, allowing direct string concatenation without parameterization, which opens the door for SQL injection attacks.

What to do

An attacker could gain unauthorized access to sensitive documents, exfiltrate data like passwords and API keys, and completely circumvent your security measures. This could lead to devastating consequences for your users and your organization’s integrity! Upgrade to langgraph-checkpoint-sqlite version 2.0.11 or later immediately. Use prepared statements for SQL queries and audit all database access points to ensure proper validation. Don't let your data become an easy target! You've got this! With these fixes in place, your app will be better protected than ever. 🛡️

The record
Technical detail
CVSS v3.0
7.3 · HIGH
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00220 · 11.9th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-10-26T10:15Z
References (2)
EPSS history
Timeline
  • 26 OCT 05:38Z
    SQL Injection in langchain-ai/langchain
    cvelistv5