Skip to content
RedCVE

CVE-2026-55253Langchain AI Langchain-mongodb vulnerability

langchain-aiPublished:

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

  1. 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.

  2. 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.
  3. 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 productsVersions
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

  1. Published:
  2. 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

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.