{"answers":{"affected":"6 open source packages ship an affected version, including langgraph-checkpoint-mongodb and langgraph-store-mongodb.","exploited":"There is no known exploitation of CVE-2026-55253 in the wild and no public exploit code.","fix":"Upgrade langgraph-checkpoint-mongodb to 0.3.0 or later.","what":"CVE-2026-55253 is a high-severity SQL injection vulnerability in langchain-ai langchain-mongodb, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55253 and fix it if it is affected.\n\nWhat it is: CVE-2026-55253 is a high-severity SQL injection vulnerability in langchain-ai langchain-mongodb, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-55253 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- langgraph-checkpoint-mongodb (PyPI): affected all versions; fixed in 0.3.0\n- langgraph-checkpoint-mongodb (PyPI): affected all versions; fixed in 0.3.0\n- langgraph-checkpoint-mongodb (PyPI): affected all versions; fixed in 0.3.0\n- langgraph-store-mongodb (PyPI): affected all versions; fixed in 0.4.0\n- langgraph-store-mongodb (PyPI): affected all versions; fixed in 0.4.0\n- langgraph-store-mongodb (PyPI): affected all versions; fixed in 0.4.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55253/ (Markdown: https://insights.sbomify.com/CVE-2026-55253/index.md)","id":"CVE-2026-55253","markdown":"https://insights.sbomify.com/CVE-2026-55253/index.md","name":"CVE-2026-55253","record":{"aliases":["GHSA-533j-2v4q-mw5h","PYSEC-2026-3859","PYSEC-2026-3860","ROOT-APP-PYPI-CVE-2026-55253"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"LangChain MongoDB integration","requires_auth":"low_privilege","summary":"Authenticated attackers can inject MongoDB operators to bypass tenant isolation and access other tenants' data in multi-tenant deployments.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LangChain MongoDB: NoSQL Operator Injection in MongoDBSaver.list() leading to cross-tenant data exposure","id":"CVE-2026-55253","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":6,"n_references":7,"next":{"headline":"NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation","id":"CVE-2026-55254"},"packages":[{"ecosystem":"PyPI","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"langgraph-checkpoint-mongodb","purl":null,"source":"GHSA-533j-2v4q-mw5h"},{"ecosystem":"PyPI","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"langgraph-checkpoint-mongodb","purl":"pkg:pypi/langgraph-checkpoint-mongodb","source":"GHSA-533j-2v4q-mw5h"},{"ecosystem":"PyPI","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"langgraph-checkpoint-mongodb","purl":"pkg:pypi/langgraph-checkpoint-mongodb","source":"PYSEC-2026-3859"},{"ecosystem":"PyPI","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"langgraph-store-mongodb","purl":null,"source":"GHSA-533j-2v4q-mw5h"},{"ecosystem":"PyPI","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"langgraph-store-mongodb","purl":"pkg:pypi/langgraph-store-mongodb","source":"GHSA-533j-2v4q-mw5h"},{"ecosystem":"PyPI","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"langgraph-store-mongodb","purl":"pkg:pypi/langgraph-store-mongodb","source":"PYSEC-2026-3860"}],"prev":{"headline":"OpenRun: Redirect URL validation bypass using //host paths leads to Open Redirect","id":"CVE-2026-55252"},"products":["langchain-mongodb","langgraph-checkpoint-mongodb","langgraph-store-mongodb"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["langchain-ai"]},"summary":"Authenticated attackers can inject MongoDB operators to bypass tenant isolation and access other tenants' data in multi-tenant deployments.","url":"https://insights.sbomify.com/CVE-2026-55253/"}