Database/AI/ML frameworks & serving
LangGraph.js MongoDB checkpointer: NoSQL injection in thread ids leaks checkpoints across tenants
Impact
thread_id, checkpoint_ns and checkpoint_id taken from config.configurable are passed straight into a MongoDB find() with no type enforcement. A caller who supplies an object such as {"$ne": null} instead of a string turns the identifier into a query operator, so the lookup escapes its thread scope and returns other threads' checkpoints, including pending writes. On a fleet running multi-tenant agent workloads that means one tenant reading another's conversation state and intermediate tool output. Only applications that forward untrusted input into config.configurable without coercing it to a string are exposed; deployments that use server-issued string ids validated against a schema are not.
Who can reach it
Any user of the agent application whose input reaches config.configurable - typically an unauthenticated or low-privilege API caller of the agent front end. No access to MongoDB itself is needed.
What to do
Upgrade @langchain/langgraph-checkpoint-mongodb to 1.3.1 and redeploy the agent service. As a defence that does not depend on the library, coerce or schema-validate thread_id, checkpoint_ns and checkpoint_id to strings before they reach the checkpointer, and reject non-string values. Versions 1.3.0 and below are affected.
References
Related entries
- Ollama: DNS rebinding grants a remote page full API accessCVE-2024-28224 · OllamaMedium
- Dagster (gRPC `get_notebook_data`): Local file inclusion — read arbitrary filesCVE-2025-51481 · Dagster (gRPC `get_notebook_data`)Medium
- llama.cpp (GGUF vocabulary parsing, llama_vocab::impl::print_info): MALICIOUS MODEL FILE CRASHES THE SERVER: the GGUFNCVD-2025-020-llama-cpp-gguf-vocabulary-parsin · llama.cpp (GGUF vocabulary parsing, llama_vocab::impl::print_info)Medium
- Kubeflow: SSRFCVE-2023-6570 · KubeflowMedium
- Gradio: SSRF in the `/proxy` routeCVE-2024-2206 · GradioMedium
- picklescan: ZIP manipulation crashes the scanner (scan bypass by DoS)CVE-2025-1944 · picklescanMedium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.