> CVE-2026-48121 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-04 17:16
MODIFIED
2026-08-04 17:16
CVSS_SCORE V3
6.7
EPSS (Prob. Exploit)
0.36%
Top 70.8%
DATA SOURCES:
NVD đź”— 2026-08-04 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-10-15 OSV đź”— 2026-11-02

> DESCRIPTION

@langchain/langgraph-checkpoint-mongodb provides a LangGraph.js CheckpointSaver implementation that uses MongoDB for storage. Versions 1.3.0 and below are vulnerable to NoSQL injection: checkpoint identifiers (thread_id, checkpoint_ns, checkpoint_id) from config.configurable are passed into MongoDB find() queries in MongoDBSaver.getTuple() without type enforcement. If an attacker supplies an object payload (such as MongoDB operators $gt or $ne) instead of a string, it can be interpreted as a query operator, bypassing thread scoping and leaking checkpoints, including pending writes, across tenants. Applications are at risk if they forward untrusted input into config.configurable without coercing it to strings or validating it against a schema, particularly in multi-tenant or user-isolated setups. Apps that only use server-issued, string-typed identifiers with schema validation rejecting non-string fields are not affected. This issue has been fixed in version 1.3.1.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EXPLOITABILITY
1.5
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Adjacent (A)
Exploit nécessite un accès au segment réseau local
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-943

> CWE DETAILED DESCRIPTIONS

CWE-943: Improper Neutralization of Special Elements in Data Query Logic - The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.

> GITHUB SECURITY ADVISORY

GHSA-98xf-r82g-9mhx MODERATE

LangGraph has NoSQL parameter injection in MongoDBSaver, allowing cross-tenant state access

AFFECTED PACKAGES:
NPM / @langchain/langgraph-checkpoint-mongodb
<= 1.3.0
Fixed in: 1.3.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

@langchain/langgraph-checkpoint-mongodb: NoSQL parameter injection in MongoDBSaver allows cross-tenant state access

AFFECTED PACKAGES:
Unknown / Unknown
234 versions affected
ALIASES:
GHSA-98xf-r82g-9mhx

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/08/2026 17:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-943: Improper Neutralization of Special Elements in Data Query Logic - The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutr...
Total des modifications: 1 Dernière mise à jour: 2 months ago

> REFERENCES

https://github.com/langchain-ai/langgraphjs/commit/284226c7ca164b3c81fe2d9e32b10...
https://github.com/langchain-ai/langgraphjs/issues/2351
https://github.com/langchain-ai/langgraphjs/security/advisories/GHSA-98xf-r82g-9...
« BACK_TO_HOME