HighVulnerability
GHSA-533j-2v4q-mw5h: LangChain MongoDB has NoSQL Operator Injection in MongoDBSaver.list() leading to cross-tenant data exposure
- Identifiers
- CVE-2026-55253GHSA-533j-2v4q-mw5h
- Published
- Record updated
- Affected
- langgraph-store-mongodb < 0.4.0, fixed in 0.4.0, released September 4, 2026, 15 days after disclosure
- langgraph-checkpoint-mongodb < 0.3.0, fixed in 0.3.0, released November 19, 2025, 274 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%
Summary
A NoSQL injection flaw in langgraph-checkpoint-mongodb and langgraph-store-mongodb lets a caller who controls the filter argument embed MongoDB query operators, because keys prefixed with $ are not rejected. The affected methods are MongoDBSaver.list(), MongoDBSaver.alist() and MongoDBStore.search(), and the advisory rates the issue High (CVSS 4.0 base 7.1, CVSS 3.1 base 7.7), with cross-tenant read exposure of checkpoint data.
Mitigation
Upgrade langgraph-checkpoint-mongodb to 0.3.0 or later and langgraph-store-mongodb to 0.4.0 or later. If an upgrade is not possible immediately, remove or escape MongoDB query metacharacters such as "$" from user-controlled input before passing it to the filter parameter.
Related items
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor · GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor · GitHub Advisory Database
- MediumGHSA-3fx2-cqw9-xr3c: LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestsSame vendor · GitHub Advisory Database
- MediumGHSA-6hmw-9432-67qq: LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite storesSame vendor · GitHub Advisory Database
- MediumCVE-2026-108575: BerriAI LiteLLM improper authorization in secret resolution via api_keySame vendor · NVD/CVE Database