CVE-2026-55253Langchain AI Langchain-mongodb vulnerability
CVSS score
7.7
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.53%
0.53% chance of exploitation in the next 30 days, higher than 45.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running langchain-ai Langchain-mongodb, langchain-ai Langgraph-checkpoint-mongodb, langchain-ai Langgraph-store-mongodb and compare its version with the affected versions.
Update to a fixed version
- Update Langchain-mongodb, Langgraph-store-mongodb to 0.4.0 or later.
- Update Langgraph-checkpoint-mongodb to 0.3.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| langchain-ai Langchain-mongodb | < 0.4.0 |
| langchain-ai Langgraph-checkpoint-mongodb | < 0.3.0 |
| langchain-ai Langgraph-store-mongodb | < 0.4.0 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-55253 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-55253?
CVE-2026-55253 has a CVSS 3.1 base score of 7.7 (high).
Which versions are affected?
Langchain AI Langchain-mongodb (< 0.4.0), Langchain AI Langgraph-checkpoint-mongodb (< 0.3.0), Langchain AI Langgraph-store-mongodb (< 0.4.0)
Is there a patch for CVE-2026-55253?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/langchain-ai/langchain-mongodb/commit/14a6cc39e67d23fd409cd13a9caae2c329df0a09
- github.com/langchain-ai/langchain-mongodb/commit/240e7ecee432ea006d9fef6ea506bfd2e009a3f4
- github.com/langchain-ai/langchain-mongodb/commit/5465e4d3ea0ef5c88a666a6442bd853ff4bd70e5
- github.com/langchain-ai/langchain-mongodb/pull/384
- github.com/langchain-ai/langchain-mongodb/releases/tag/libs/langgraph-checkpoint-mongodb/v0.4.0
- github.com/langchain-ai/langchain-mongodb/releases/tag/libs/langgraph-store-mongodb/v0.3.0
- github.com/langchain-ai/langchain-mongodb/security/advisories/GHSA-533j-2v4q-mw5h
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.