Quick answers
- Is CVE-2026-49948 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-49948 being exploited in the wild.
- How severe is CVE-2026-49948?
- High severity, with a CVSS score of 8.1, published 9 June 2026.
- Which products and versions are affected?
- mem0ai Mem0 through 0.2.8.
- Is there a fix for CVE-2026-49948?
- A patch was published on 2026-06-05: Fixed in commit ae7f406 and PR #5360. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-49948 attacked?
- It is attacked over the network, in a hosted service.
- Am I affected by CVE-2026-49948?
- Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A missing authorization check in the 'POST /configure' endpoint of the Mem0 self-hosted server allows any authenticated user (via JWT or X-API-Key) to modify global LLM provider and embedder configurations. While the server implements a 'verify_auth' dependency, it fails to validate the user's role, allowing non-admin API key holders to execute administrative configuration changes. An attacker can redirect all LLM and embedding traffic to an external malicious endpoint, enabling full data exfiltration of prompts and memories. The malicious configuration is persisted to the PostgreSQL database and survives server restarts. This was fixed in commit ae7f406 by implementing role-based access control.
Affected products
- mem0ai Mem0 through 0.2.8
Timeline
- 2026-05-12: disclosed: Vulnerability discovered and reported via GitHub issues.
- 2026-06-05: patched: Fixed in commit ae7f406 and PR #5360.
- 2026-06-09: advisory: CVE-2026-49948 published.