{"schemaVersion":3,"id":"CVE-2026-55253","aliases":["GHSA-533j-2v4q-mw5h","PYSEC-2026-3859","PYSEC-2026-3860"],"status":"published","duplicateOf":null,"title":null,"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.00531,"percentile":0.43729,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.141,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0039},"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":0.43729}],"last30":[{"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":0.43729}]},"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}],"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}],"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}],"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}],"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}],"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}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:58:23.857Z","stale":false,"partial":false}}