Live threats

All CVEs / langchain-ai

CVE-2025-8709langchain-ai/langchain

High 7.3

Priority
44
CVSS 3.0
7.3
EPSS
—
Auth required
Yes
Published
Oct 26, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for langchain-ai/langchain.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI langgraph-checkpoint-sqlite < 2.0.11 2.0.11 pip install "langgraph-checkpoint-sqlite>=2.0.11"
PyPI langgraph-checkpoint-sqlite < 2.0.11 2.0.11 pip install "langgraph-checkpoint-sqlite>=2.0.11"

Per OSV / GitHub Advisories (GHSA-4h97-wpxp-3757, PYSEC-2026-1528). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.