Skip to content

chore(deps): bump mem0ai from 2.0.4 to 2.0.18 in the security-updates group across 1 directory - #8917

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/security-updates-5dc95ea479
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/security-updates-5dc95ea479

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the security-updates group with 1 update in the / directory: mem0ai.

Updates mem0ai from 2.0.4 to 2.0.18

Release notes

Sourced from mem0ai's releases.

Mem0 Python SDK (v2.0.18)

Bug Fixes:

  • Core: Percent-escape %, &, and = in user_id, agent_id, and run_id when building the session scope key for the recent-conversation buffer, so the key stays unambiguous for ids containing those characters. Ordinary ids keep their existing key; an id already containing %, &, or = maps to a new key, so its buffer starts empty once and refills on the next add(). Stored memories are unaffected. Reported by @​OfficialAbhinavSingh (#6892)
  • Vector Stores: Raise ValueError when a PGVector in/nin filter value is not a list. A string value was previously iterated character by character into the generated = ANY(...) array (so {"user_id": {"in": "alice"}} matched a, l, i, c, e), and a non-iterable value raised a bare TypeError from deep inside filter building (#6879)
  • Vector Stores: Reject index_accuracy=0 in the Oracle AI Vector Search config. The range check sat behind a truthiness test, so 0 skipped validation entirely and was passed through to WITH TARGET ACCURACY 0 instead of raising (#6848)
  • Vector Stores: Close the Oracle connection or pool that Mem0 opened when initialization fails. A client version check, a database version check, or a create_col() error previously propagated with the connection still open, leaking it for the life of the process. A caller-supplied client is left untouched (#6839)

Mem0 Python SDK (v2.0.17)

New Features:

  • Client: Add agent_custom_instructions to project.update()/update_project() (sync and async) and to the ProjectUpdateOptions and AddMemoryOptions typed models. It sets a second extraction instruction set that applies only to agent-scoped memories: an add passing agent_id without user_id uses it, one passing both splits by attribution, and while it is unset custom_instructions continues to apply to every memory (#6809)

Mem0 Python SDK (v2.0.16)

New Features:

  • Client: Add reference_date, latest_only, and keyword_search to SearchMemoryOptions, and latest_only to GetAllMemoryOptions, keeping the Python client's typed options in sync with the Platform API and the CLIs (#6696)

Bug Fixes:

  • Core: Stop add() metadata from setting a memory's identity scope. _build_filters_and_metadata() now strips user_id, agent_id, run_id, and actor_id from caller-supplied metadata before building the creation template, so metadata can no longer place a memory into a scope that was never passed through the entity params (#6656)
  • Vector Stores: Validate Upstash filter keys and values in search(), keyword_search(), and list(). Filter keys must match a safe identifier pattern, values must be str/int/float/bool, and string values containing a double quote or backslash are now rejected instead of being interpolated unescaped into the generated query string (#5981)
  • Embeddings: FastEmbedEmbedding.embed() now converts its result with .tolist() before returning, so callers get a plain List[float] instead of a numpy array (#6770)
  • Embeddings: HuggingFaceEmbedding now passes api_key to the OpenAI-compatible client when huggingface_base_url is set. The configured key was previously dropped, so the client fell back to OPENAI_API_KEY from the environment or raised OpenAIError at construction when that was unset (#6770)
  • Embeddings: Replace Ollama's interactive pip install prompt on import with a plain ImportError. Importing mem0.embeddings.ollama without the ollama package previously blocked on stdin and then called sys.exit(1), killing the host process instead of raising (#6770)
  • Core: remove_code_blocks() now returns an empty string for None input instead of raising AttributeError (#6770)
  • Core: parse_vision_messages() now chains the original exception (raise ... from e) when an image download fails, so the root cause is preserved in the traceback (#6770)
  • Core: process_telemetry_filters(None) now returns ([], {}), matching the two-value tuple every caller unpacks, instead of {} (#6770)
  • Core: LlmFactory.create() no longer mutates the caller's config dict in place via .update(kwargs); the merge now builds a new dict (#6770)
  • Rerankers: The Cohere, HuggingFace, SentenceTransformer, and Zero Entropy rerankers' failure-fallback path no longer mutates the caller's document dicts in place when stamping rerank_score; it now falls back on copies (#6770)
  • Vector Stores: Remove logging.basicConfig() calls from the MongoDB and Vertex AI Vector Search providers, so selecting either provider no longer reconfigures the host application's root logger as a side effect (#6770)

Mem0 Python SDK (v2.0.15)

Bug Fixes:

  • Core: delete_all() now paginates through the vector store in batches of 1000 instead of listing once, so accounts with more memories than a single page (most vector stores default to ~100) had the remainder silently left behind (#6636)
  • Vector Stores: Cap Supabase search()/list() top_k at the vecs query limit of 1000 instead of erroring, and fix a col_info() crash by reading collection attributes directly instead of calling the removed describe() method (#6695)
  • Vector Stores: Set size on Elasticsearch KNN search queries, so results respect top_k instead of being capped at Elasticsearch's default of 10 hits (#5910)

Changes:

  • Rerankers: LLMReranker's default model is now gpt-5-mini (was gpt-4o-mini) (#6703)

Mem0 Python SDK (v2.0.14)

New Features:

  • Vector Stores: Add an Oracle AI Vector Search provider (oracledb) with connection pooling, HNSW/IVF indexes, JSON metadata filtering, and six selectable distance metrics (#5358)

Bug Fixes:

  • Vector Stores: Translate a "*" filter value in OpenSearch into an exists query for every key, not just identity keys. It was previously ignored or matched literally against the string "*", so a wildcard filter returned nothing (#6522)
  • Vector Stores: Re-raise errors from OpenSearch search() instead of returning [], so a transport, auth, or index misconfiguration surfaces instead of looking like zero matches. keyword_search() still degrades on failure, since it is a best-effort BM25 signal (#6519)
  • Vector Stores: Guard the text field in Milvus update() behind the _has_bm25_schema check, matching insert(), so updating a memory in a collection without the BM25 text/sparse schema no longer fails (#5705)

Mem0 Python SDK (v2.0.13)

Bug Fixes:

  • Vector Stores: Fix reset() silently leaving stale vectors behind on local (on-disk) Qdrant when the old collection directory could not be removed, for example an open file handle on Windows or NFS (#6412)

... (truncated)

Commits
  • c427a45 docs(changelog): backfill Python v2.0.18 and TypeScript v3.1.6 SDK entries (#...
  • f5b4300 docs: redirect deprecated OSS graph memory page to platform graph memory (#6914)
  • 71f2ebe fix(memory): escape delimiters when building the session scope key (#6892)
  • 35a1255 fix(pgvector): raise ValueError when 'in'/'nin' filter value is not a list (#...
  • 4debc58 fix(security): patch 8 HIGH + 18 MEDIUM Vanta vulnerabilities across 4 pnpm w...
  • b42cfdd Fix broken links: unblock link check in oracledb.mdx (#6849)
  • 6fe6140 fix(vector-stores/oracledb): Fix accuracy bug (#6848)
  • b05dc27 docs(memory): note filters-based scoping for search/get_all on add() (#6758)
  • 4a0a9a9 fix(ts-oss, py): release Oracle client on init failure, validate insert batch...
  • beea626 perf(ts-oss): cut Oracle vector store round trips per review feedback (#6835)
  • Additional commits viewable in compare view


Note

Low Risk
Dependency-only bump for an optional extra with lockfile churn on transitive packages; behavior changes are confined to code paths that already use mem0ai when installed.

Overview
This PR raises the floor for the optional mem0 extra from mem0ai>=2.0.0 to mem0ai>=2.0.18 in lib/crewai/pyproject.toml and refreshes uv.lock to pin mem0ai 2.0.18.

The lockfile also picks up transitive updates pulled in by the newer SDK (notably posthog 5.4.0 → 7.86.4 and an explicit httpx dependency on mem0ai). No application code changes—only install-time dependency resolution for consumers who opt into the mem0 extra.

Reviewed by Cursor Bugbot for commit 825ac94. Bugbot is set up for automated code reviews on this repo. Configure here.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 1, 2026
@strix-security

strix-security Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Strix Security Review

Warning

This pull request has 70 commits after the last Strix review (2fcd001). Strix has not reviewed these changes.
Automatic review on push is off for this repository. To review the latest changes, tag @strix-security in a comment, or turn on re-review on push.

✅ No open security findings.

PR summary: This PR bumps the optional `mem0` extra's `mem0ai` dependency from >=2.0.0 to >=2.0.18 and updates `uv.lock` accordingly, which re-resolves mem0ai to 2.0.18 and pulls in newer transitive posthog and virtualenv versions.

Review summary

The PR only raises the mem0 extra's minimum from mem0ai>=2.0.0,<3 to >=2.0.18,<3 and re-locks the resolution accordingly; no application code, entrypoint, or trust boundary changes. The target version is the patched release for CVE-2026-116575 (cross-tenant session-scope key collision in mem0ai), so the bump removes exposure rather than adding it. The accompanying transitive moves (posthog 7.80.3, virtualenv 21.15.1) are above the fix versions for their respective known disclosures, and the single lockfile remains consistent with the manifest pin. No security issues found in the changed lines.

Review 1 on this PR · 2fcd001 · requested Nov 1 18:30 UTC when the PR was opened


Reviewed by Strix
Re-run review · Configure security review settings

@dependabot
dependabot Bot force-pushed the dependabot/uv/security-updates-5dc95ea479 branch 5 times, most recently from 0243bf1 to 475dcc6 Compare November 8, 2026 07:05
@dependabot
dependabot Bot force-pushed the dependabot/uv/security-updates-5dc95ea479 branch from 475dcc6 to 9fee771 Compare November 9, 2026 10:14
Bumps the security-updates group with 1 update in the / directory: [mem0ai](https://github.com/mem0ai/mem0).


Updates `mem0ai` from 2.0.4 to 2.0.18
- [Release notes](https://github.com/mem0ai/mem0/releases)
- [Commits](mem0ai/mem0@v2.0.4...v2.0.18)

---
updated-dependencies:
- dependency-name: mem0ai
  dependency-version: 2.0.18
  dependency-type: direct:production
  dependency-group: security-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/security-updates-5dc95ea479 branch from 9fee771 to 825ac94 Compare November 12, 2026 18:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants