CVE-2026-55253langchain-ai langchain-mongodb
High 7.7
Follow: this CVE · langchain-ai · langchain-ai langchain-mongodb We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 3.1
- 7.7
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 14, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-943
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for langchain-mongodb.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | langgraph-checkpoint-mongodb |
< 0.3.0 |
0.3.0 |
pip install "langgraph-checkpoint-mongodb>=0.3.0" |
| PyPI | langgraph-checkpoint-mongodb |
< 0.3.0 |
0.3.0 |
pip install "langgraph-checkpoint-mongodb>=0.3.0" |
| PyPI | langgraph-store-mongodb |
< 0.4.0 |
0.4.0 |
pip install "langgraph-store-mongodb>=0.4.0" |
| PyPI | langgraph-store-mongodb |
< 0.4.0 |
0.4.0 |
pip install "langgraph-store-mongodb>=0.4.0" |
Per OSV / GitHub Advisories (GHSA-533j-2v4q-mw5h, PYSEC-2026-3859, PYSEC-2026-3860). Check the version in your lockfile before upgrading.
Affected products
- langchain-ai · langchain-mongodb
- langchain-ai · langgraph-checkpoint-mongodb
- langchain-ai · langgraph-store-mongodb
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.