Read the docs
TI-2026-39926 Aliases CVE-2026-55253GHSA-533j-2v4q-mw5h

LangChain MongoDB: NoSQL Operator Injection in MongoDBSaver.list() leading to cross-tenant data exposure

Priority LOW 34CWE-943Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

LangChain MongoDB provides integrations between MongoDB, Atlas, LangChain, and LangGraph. Prior to langgraph-checkpoint-mongodb 0.3.0 and langgraph-store-mongodb 0.4.0, MongoDBSaver.list(), MongoDBSaver.alist(), and MongoDBStore.search() incorporate filter dictionaries into MongoDB queries without recursively rejecting keys prefixed with $. An authenticated caller who controls a filter argument through HTTP query parameters, request body fields, or agent tool arguments can inject MongoDB Query Language operators such as $regex or $where. In a multi-tenant deployment that uses the filter to enforce per-user or per-tenant isolation, injected operators can bypass intended equality filtering and expose other tenants' checkpoint or store data. Filters constructed entirely from trusted server-side values have lower practical risk. This issue is fixed in langgraph-checkpoint-mongodb 0.3.0 and langgraph-store-mongodb 0.4.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00531 45th percentileScored 2026-11-07
Fix Fixed langchain-mongodb (langchain-ai): 0.4.0langgraph-checkpoint-mongodb (langchain-ai): 0.3.0+3 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
langchain-ailangchain-mongodbbefore 0.4.00.4.0Patch availableCNA
langchain-ailanggraph-checkpoint-mongodbbefore 0.3.00.3.0Patch availableCNA
langchain-ailanggraph-store-mongodbbefore 0.4.00.4.0Patch availableCNA
—langgraph-checkpoint-mongodb (PyPI)before 0.3.00.3.0Patch availableGHSA-533j-2v4q-mw5h
—langgraph-store-mongodb (PyPI)before 0.4.00.4.0Patch availableGHSA-533j-2v4q-mw5h
  • langchain-mongodb Vendorlangchain-ai Affected before 0.4.0 Fixed in 0.4.0 Patch available CNA
  • langgraph-checkpoint-mongodb Vendorlangchain-ai Affected before 0.3.0 Fixed in 0.3.0 Patch available CNA
  • langgraph-store-mongodb Vendorlangchain-ai Affected before 0.4.0 Fixed in 0.4.0 Patch available CNA
  • langgraph-checkpoint-mongodb (PyPI) Vendor— Affected before 0.3.0 Fixed in 0.3.0 Patch available GHSA-533j-2v4q-mw5h
  • langgraph-store-mongodb (PyPI) Vendor— Affected before 0.4.0 Fixed in 0.4.0 Patch available GHSA-533j-2v4q-mw5h

Remediation

  • Fix · CNA langchain-mongodb (langchain-ai) Fixed in 0.4.0
  • Fix · CNA langgraph-checkpoint-mongodb (langchain-ai) Fixed in 0.3.0
  • Fix · CNA langgraph-store-mongodb (langchain-ai) Fixed in 0.4.0
  • Fix · GHSA-533j-2v4q-mw5h langgraph-checkpoint-mongodb (PyPI) Fixed in 0.3.0 Advisory →
  • Fix · GHSA-533j-2v4q-mw5h langgraph-store-mongodb (PyPI) Fixed in 0.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55253
  2. 2026-10-03 Alias added: GHSA-533j-2v4q-mw5h

References

  • TI-2024-31340 langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain… CVSS 3.1CRITICAL 9.8
  • TI-2023-20724 An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2023-20706 An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary… CVSS 3.1CRITICAL 9.8
  • TI-2023-20166 An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2023-20136 An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter. CVSS 3.1CRITICAL 9.8
  • TI-2023-18185 An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a… CVSS 3.1CRITICAL 9.8
See all 75 →

Sources