7.3

CVE-2025-8709: langchain-ai langchain-ai/langchain SQL Injection

CVSS: 7.3v3.0HighDeferred
AliasesGHSA-4h97-wpxp-3757PYSEC-2026-1528
Published 26-10-2025Last modified 28-10-2025

Vulnerability summary

CVE-2025-8709 is a high (CVSS 7.3) SQL Injection vulnerability in langchain-ai langchain-ai/langchain. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.3/10
010
High · v3.0 (CVE.org)
EPSS score
0.18%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 26-10-2025
    PublishedVulnerability first disclosed.
  2. 28-10-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

+0.01 pp

From 0.17% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Langchain-ai1 product
PyPI1 product
  • langgraph-checkpoint-sqlite< 2.0.11

2 vendors · 2 products

References

8 links