SQL Injection in langchain-ai/langchain (langchain-ai langchain-ai/langchain)

CVE-2025-8709
HIGH 7.3

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
@huntr_ai
Statut NVD
Deferred

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0HIGH 7.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N@huntr_ai
CVSS 3.0HIGH 7.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NNVD · security@huntr.dev (Secondary)

Avis

Références européennes

Produits affectés

ProduitVersions
langchain-ai · langchain-ai/langchainaffected unspecified ≤ latest

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD