CVE-2026-48121

MEDIUMPre-NVD 6.76.7
EchelonGraph scoreLOW confidence

This medium-severity CVE scores 6.7 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.0%, top 94% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m, epss
6.7
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 6.7Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

LangGraph has NoSQL parameter injection in MongoDBSaver, allowing cross-tenant state access

Summary

A NoSQL injection vulnerability existed in MongoDBSaver where checkpoint identifier fields from config.configurable were used in MongoDB queries without strict type enforcement. In vulnerable versions, attacker-controlled object payloads (for example MongoDB operators like $gt and $ne) could be interpreted as query operators instead of literal identifier values.

This could bypass intended thread scoping and return checkpoints from other tenants.

Attack surface

The vulnerable path was in MongoDBSaver.getTuple(), where thread_id, checkpoint_ns, and checkpoint_id were used in MongoDB find() queries. The same unvalidated values were then reused to fetch pending writes.

Applications were exposed when untrusted input was forwarded into config.configurable (for example, directly from request bodies or query parameters) without string coercion or schema validation.

Who is affected?

Applications are vulnerable if they:

  • Use @langchain/langgraph-checkpoint-mongodb with multi-tenant or user-isolated thread models.
  • Accept user-controlled values for thread_id, checkpoint_ns, or checkpoint_id.
  • Pass those values into app.invoke(), app.stream(), or direct saver methods without validation.

Applications are generally not vulnerable if they:

  • Use server-issued identifiers only.
  • Source thread_id from trusted URL params that remain strings.
  • Enforce schema validation that rejects non-string identifier fields.

Impact

An attacker with control over configurable checkpoint identifiers could read checkpoint data outside their authorized thread boundary.

Potentially exposed data includes:

  • Checkpoint state
  • Metadata
  • Pending writes

This is a confidentiality issue with cross-tenant data disclosure risk.

Exploit example

An attacker-controlled request can inject MongoDB operators:

graph = new StateGraph(...)
  .compile({
    checkpointer: new MongoDBSaver()
  });

graph.invoke(..., { configurable: { "thread_id": { "$gt": "" }, "checkpoint_ns": { "$ne": null } } });

If this payload is forwarded into config.configurable, the resulting query may match checkpoints outside the intended tenant/thread scope.

Security hardening changes

Version 1.3.1 hardens @langchain/langgraph-checkpoint-mongodb by adding runtime validation for configurable checkpoint identifiers and rejecting invalid values before MongoDB query/write paths execute.

The patch also includes regression tests covering object/operator payloads across affected methods.

Migration guide

Upgrade to @langchain/[email protected] or later.

No API migration is required for valid callers. However, applications that currently pass non-string identifier values in config.configurable will now receive explicit errors and should normalize/validate inputs.

As defense in depth, validate identifier fields at API boundaries and avoid passing raw client objects into graph config.

Resources

  • Issue: https://github.com/langchain-ai/langgraphjs/issues/2351
  • Fix PR: https://github.com/langchain-ai/langgraphjs/pull/2397

CVSS v3
6.7
EG Score
6.7(low)
EPSS
6.4%
KEV
Not listed

Published

June 12, 2026

Last Modified

June 12, 2026

Vendor Advisories for CVE-2026-48121(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
npm(1)
PackageVulnerable rangeFixed inDependents
@langchain/langgraph-checkpoint-mongodb1.3.1

Data Freshness Timeline

(refreshed 7× in last 7d / 30× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-07 01:16 UTCEG score recompute
  2. 2026-07-05 17:01 UTCEG score recompute
  3. 2026-07-04 19:13 UTCEG score recompute
  4. 2026-07-03 19:18 UTCEG score recompute
  5. 2026-07-02 21:34 UTCEG score recompute
  6. 2026-07-01 23:51 UTCEG score recompute
  7. 2026-07-01 02:08 UTCEG score recompute
  8. 2026-06-30 04:21 UTCEG score recompute
  9. 2026-06-29 06:37 UTCEG score recompute
  10. 2026-06-28 07:34 UTCEG score recompute
  11. 2026-06-27 09:51 UTCEG score recompute
  12. 2026-06-26 12:06 UTCEG score recompute
  13. 2026-06-25 11:10 UTCEG score recompute
  14. 2026-06-24 13:26 UTCEG score recompute
  15. 2026-06-23 15:24 UTCEG score recompute
  16. 2026-06-22 17:33 UTCEG score recompute
  17. 2026-06-21 18:24 UTCEG score recompute
  18. 2026-06-20 20:26 UTCEG score recompute
  19. 2026-06-19 21:22 UTCEG score recompute
  20. 2026-06-18 23:31 UTCEG score recompute
  21. 2026-06-18 01:41 UTCEG score recompute
  22. 2026-06-17 03:58 UTCEG score recompute
  23. 2026-06-16 06:15 UTCEG score recompute
  24. 2026-06-15 08:24 UTCEG score recompute
  25. 2026-06-14 23:18 UTCEPSS rescore
Show 5 more
  1. 2026-06-14 10:38 UTCEG score recompute
  2. 2026-06-13 23:00 UTCEPSS rescore
  3. 2026-06-13 12:54 UTCEG score recompute
  4. 2026-06-12 23:12 UTCEPSS rescore
  5. 2026-06-12 15:11 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-48121?
CVE-2026-48121 is a medium vulnerability published on June 12, 2026. LangGraph has NoSQL parameter injection in MongoDBSaver, allowing cross-tenant state access Summary A NoSQL injection vulnerability existed in MongoDBSaver where checkpoint identifier fields from config.configurable were used in MongoDB queries without strict type enforcement. In vulnerable…
When was CVE-2026-48121 disclosed?
CVE-2026-48121 was first published in the National Vulnerability Database on June 12, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-48121 actively exploited?
CVE-2026-48121 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 6.4% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-48121?
CVE-2026-48121 has a CVSS v4.0 base score of 6.7 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-48121?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-48121, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-48121

Explore →

Is Your Infrastructure Affected by CVE-2026-48121?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.