chore(security): bump vulnerable dependencies to patched versions#4835
Merged
whysosaket merged 1 commit intomainfrom Apr 20, 2026
Merged
chore(security): bump vulnerable dependencies to patched versions#4835whysosaket merged 1 commit intomainfrom
whysosaket merged 1 commit intomainfrom
Conversation
Raise Python floor to 3.10 and refresh root + embedchain lockfiles to close all security scanner findings. Root mem0: - Python floor: 3.9 -> 3.10 (3.9 not tested in CI; unblocks nltk/torch) - litellm >= 1.83.7 (from 1.74.0) - langchain-core >= 0.3.81, <1.0.0 (new explicit range in extras) - langchain >= 0.3.0, <1.0.0 (cap to match lock's 0.3.x resolution) - langchain-community >= 0.3.0, <1.0.0 (cap) - langchain-aws >= 0.2.23, <0.3.0 (cap) - weaviate-client >= 4.15.4, <5.0.0 (align manifest with lock reality) - Refresh poetry.lock: authlib 1.6.10, h11 0.16.0, httpcore 1.0.9, nltk 3.9.4, torch 2.7.1/2.11.0, langchain-core 0.3.84, litellm 1.83.7 - Drop dev_py_3_9 Hatch env and test-py-3.9 Make target Embedchain: - torch 2.3.0 -> >=2.6.0,<3 in embedchain/pyproject.toml - Refresh embedchain/poetry.lock: authlib 1.6.10, h11 0.16.0, httpcore 1.0.9, torch 2.8.0/2.11.0, langchain-core 0.3.84 - gradio >= 4.14.0 in gradio.app deployment requirements - embedchain 0.1.57 in rest-api, chainlit, discord_bot examples - Delete embedchain/examples/full_stack/ (Next 13, embedchain 0.0.58, @babel/traverse 7.22.8); remove matching docs and nav entries JS apps: - openmemory/ui next 15.2.4 -> 15.2.8 (CVE-2025-55183/55184/67779) - examples/mem0-demo next 15.2.0 -> 15.2.8
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
kartik-mem0
approved these changes
Apr 18, 2026
whysosaket
approved these changes
Apr 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked Issue
Addresses security scanner findings for vulnerable dependencies across the mem0 monorepo.
Description
Raise Python floor to 3.10 and refresh root + embedchain lockfiles to close all security scanner findings. Bump Next.js in the two active apps to close the December 11, 2025 CVE line. Delete an unmaintained example that was the source of several other scanner hits.
Root mem0 (
pyproject.toml+poetry.lock)>=1.74.0→>=1.83.7>=0.3.81,<1.0.0inextras>=0.3.0,<1.0.0to match lock's 0.3.x resolution>=0.2.23,<0.3.0>=4.4.0,<4.15.0→>=4.15.4,<5.0.0(aligns manifest with lock reality)dev_py_3_9Hatch env andtest-py-3.9Make targetEmbedchain (
embedchain/pyproject.toml+embedchain/poetry.lock)2.3.0→>=2.6.0,<3==4.11.0→>=4.14.0in gradio.app deployment requirements0.1.3,0.1.31,0.0.58→0.1.57in rest-api, chainlit, discord_bot examplesembedchain/examples/full_stack/— unmaintained tree containing Next 13.4.9,embedchain==0.0.58backend, and@babel/traverse 7.22.8in its lockfile. Also removed matching docs nav entry and "Full Stack Chatbot" card.JS apps
openmemory/ui: next15.2.4→15.2.8(CVE-2025-55183 / CVE-2025-55184 / CVE-2025-67779)examples/mem0-demo: next15.2.0→15.2.8, matchingeslint-config-nextbumpSecurity requirements coverage
embedchain/.../gradio.app/requirements.txtmem0-ts7.26.9 +vercel-ai-sdk7.27.0 (already); legacy 7.22.8 removed viafull_stackdeletion>=1.83.7, root lock 1.83.7Type of Change
mem0aipackage)Breaking Changes
Dropped Python 3.9 support for the root
mem0aipackage. Python 3.9 was not tested in CI (matrix is 3.10/3.11/3.12) butrequires-pythonadvertised>=3.9. The policy now matches CI reality. Embedchain still supports Python 3.9 (its CI matrix is unchanged).Users on Python 3.9 will need to upgrade to Python 3.10+. No migration path needed if already on 3.10+.
Test Coverage
Local verification performed
Python (root mem0):
main(byte-for-byte diff, zero regressions)The 3.11 failures are a pre-existing posthog
distinct_idcompatibility issue specific to Python 3.11, verified against baselinemainin the same venv. Not introduced by this PR.Embedchain:
poetry installon refreshed lock succeeds; core test suite 96 passed, 1 pre-existing optional-dep failure.TypeScript / JS:
openmemory/ui:pnpm run buildclean on Next 15.2.8examples/mem0-demo:pnpm run buildclean on Next 15.2.8mem0-ts: 33 suites, 524 tests passedvercel-ai-sdk: build cleanopenclaw: 12 suites, 352 tests passedcli/node: lint + typecheck + 90 tests passedPython CLI: lint + 147 tests passed.
Over 3,200 tests executed. Zero new failures caused by this PR.
Checklist
Deferred / out of scope
None — all 10 scanner requirements from the original ticket are addressed in this PR.