Skip to content
HighVulnerabilityLLM-specific

CVE-2026-49948: Mem0 missing authorization in self-hosted server POST /configure endpoint

Identifier
CVE-2026-49948
Published
Record updated
View JSON

Summary

Mem0 versions through 0.2.8 contain a missing authorization flaw in the self-hosted server, where the POST /configure endpoint changes global LLM provider and embedder settings. The endpoint checks only JWT or X-API-Key authentication and never validates the caller's role. Any authenticated user with a distributed API key can redirect all LLM and embedder traffic to an attacker-controlled server, and the change is persisted to PostgreSQL, surviving restarts and affecting every user and API key on the instance.

Mitigation

Fixed in commit ae7f406.