CVE-2026-48121
Last modified
CVE-2026-48121 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. @langchain/langgraph-checkpoint-mongodb provides a LangGraph.js CheckpointSaver implementation that uses MongoDB for storage. Versions 1.3.0 and below are vulnerable to NoSQL injection: checkpoint identifiers (thread_id, checkpoint_ns, checkpoint_id) from config.configurable are passed into MongoDB find() queries in MongoDBSaver.getTuple() without type enforcement.
Description
@langchain/langgraph-checkpoint-mongodb provides a LangGraph.js CheckpointSaver implementation that uses MongoDB for storage. Versions 1.3.0 and below are vulnerable to NoSQL injection: checkpoint identifiers (thread_id, checkpoint_ns, checkpoint_id) from config.configurable are passed into MongoDB find() queries in MongoDBSaver.getTuple() without type enforcement. If an attacker supplies an object payload (such as MongoDB operators $gt or $ne) instead of a string, it can be interpreted as a query operator, bypassing thread scoping and leaking checkpoints, including pending writes, across tenants. Applications are at risk if they forward untrusted input into config.configurable without coercing it to strings or validating it against a schema, particularly in multi-tenant or user-isolated setups. Apps that only use server-issued, string-typed identifiers with schema validation rejecting non-string fields are not affected. This issue has been fixed in version 1.3.1.
Metrics
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| langchain-ai | langgraphjs | < 1.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-48121?
How severe is CVE-2026-48121?
How do I fix CVE-2026-48121?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48115Misskey is an open source, federated social media platform. …6.3
- CVE-2026-48116AnythingLLM is an application that turns pieces of content i…8.8
- CVE-2026-48117DroneAware is a drone detection platform. The centralized Dr…6.8
- CVE-2026-48119Nezha Monitoring is a self-hostable, lightweight, servers an…7.1
- CVE-2026-4812The Advanced Custom Fields (ACF) plugin for WordPress is vul…5.3
- CVE-2026-48120Kakoune is a code editor. Prior to version 2026.05.21, the b…8.6
- CVE-2026-48122Ruby LSP is an implementation of the language server protoco…5.4
- CVE-2026-48124Cursor is a code editor built for programming with AI. In ve…8.5
- CVE-2026-48125UAParser.js is a JavaScript library to detect browsers, oper…5.3
- CVE-2026-48126Algernon is a small self-contained pure-Go web server. Prior…8.2
- CVE-2026-48127Frappe is a full-stack web application framework. Prior to 1…5.3
- CVE-2026-48128Budibase is an open-source low-code platform. Prior to 3.39.…5.1
Are you affected by CVE-2026-48121?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
