{"schemaVersion":4,"id":"CVE-2026-55253","aliases":["GHSA-533j-2v4q-mw5h","PYSEC-2026-3859","PYSEC-2026-3860"],"status":"published","duplicateOf":null,"title":"LangChain MongoDB: NoSQL Operator Injection in MongoDBSaver.list() leading to cross-tenant data exposure","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.","dates":{"published":"2026-09-14T17:09:04.088Z","modified":"2026-09-14T20:06:14.744Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":7.9,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0039,"percentile":0.35225,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.141,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00531},"history":[{"date":"2026-09-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0039,"percentile":0.35225}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0039,"percentile":0.35225}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic","description":"The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/943.html"}],"affected":[{"vendor":"langchain-ai","product":"langchain-mongodb","name":"langchain-mongodb","label":"langchain-mongodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.4.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.4.0","endInclusive":false}}],"versionsText":"< 0.4.0","eol":null,"hubHref":"/vendor/langchain-ai/langchain-mongodb"},{"vendor":"langchain-ai","product":"langgraph-checkpoint-mongodb","name":"langgraph-checkpoint-mongodb","label":"langgraph-checkpoint-mongodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.3.0","endInclusive":false}}],"versionsText":"< 0.3.0","eol":null,"hubHref":"/vendor/langchain-ai/langgraph-checkpoint-mongodb"},{"vendor":"langchain-ai","product":"langgraph-store-mongodb","name":"langgraph-store-mongodb","label":"langgraph-store-mongodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.4.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.4.0","endInclusive":false}}],"versionsText":"< 0.4.0","eol":null,"hubHref":"/vendor/langchain-ai/langgraph-store-mongodb"},{"vendor":"PyPI","product":"langgraph-checkpoint-mongodb","name":"langgraph-checkpoint-mongodb","label":"langgraph-checkpoint-mongodb","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langgraph-checkpoint-mongodb","purlType":"pypi","versions":[{"text":"< 0.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.3.0","endInclusive":false}}],"versionsText":"< 0.3.0","eol":null,"hubHref":null},{"vendor":"PyPI","product":"langgraph-store-mongodb","name":"langgraph-store-mongodb","label":"langgraph-store-mongodb","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langgraph-store-mongodb","purlType":"pypi","versions":[{"text":"< 0.4.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.4.0","endInclusive":false}}],"versionsText":"< 0.4.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langchain-ai/langchain-mongodb/security/advisories/GHSA-533j-2v4q-mw5h","label":"github.com/langchain-ai/langchain-mongodb/security/advisories/GHSA-533j-2v4q-mw5h","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/pull/384","label":"github.com/langchain-ai/langchain-mongodb/pull/384","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/commit/14a6cc39e67d23fd409cd13a9caae2c329df0a09","label":"github.com/langchain-ai/langchain-mongodb/commit/14a6cc39e67d23fd409cd13a9caae2c329df0a09","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/commit/240e7ecee432ea006d9fef6ea506bfd2e009a3f4","label":"github.com/langchain-ai/langchain-mongodb/commit/240e7ecee432ea006d9fef6ea506bfd2e009a3f4","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/commit/5465e4d3ea0ef5c88a666a6442bd853ff4bd70e5","label":"github.com/langchain-ai/langchain-mongodb/commit/5465e4d3ea0ef5c88a666a6442bd853ff4bd70e5","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/releases/tag/libs/langgraph-checkpoint-mongodb/v0.4.0","label":"github.com/langchain-ai/langchain-mongodb/releases/tag/libs/langgraph-checkpoint-mongodb/v0.4.0","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/releases/tag/libs/langgraph-store-mongodb/v0.3.0","label":"github.com/langchain-ai/langchain-mongodb/releases/tag/libs/langgraph-store-mongodb/v0.3.0","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/langchain-ai/langchain-mongodb","label":"github.com/langchain-ai/langchain-mongodb","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/releases/tag/libs%2Flanggraph-checkpoint-mongodb%2Fv0.4.0","label":"github.com/langchain-ai/langchain-mongodb/releases/tag/libs%2Flanggraph-checkpoint-mongodb%2Fv0.4.0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/langchain-ai/langchain-mongodb/releases/tag/libs%2Flanggraph-store-mongodb%2Fv0.3.0","label":"github.com/langchain-ai/langchain-mongodb/releases/tag/libs%2Flanggraph-store-mongodb%2Fv0.3.0","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/langgraph-checkpoint-mongodb","label":"pypi.org/project/langgraph-checkpoint-mongodb","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-533j-2v4q-mw5h","label":"github.com/advisories/GHSA-533j-2v4q-mw5h","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55253","label":"nvd.nist.gov/vuln/detail/CVE-2026-55253","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://pypi.org/project/langgraph-store-mongodb","label":"pypi.org/project/langgraph-store-mongodb","hostname":"pypi.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-14T17:09:04.088Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-14T20:06:14.744Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,77],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0039,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-09-14T20:06:14.744Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2026-09-14T20:06:14.744Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-09-14T20:06:14.744Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-09-14T19:20:51.424Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0039,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T12:50:08.334Z","stale":false,"partial":false}}