CVE-2026-49948 Mem0 0.2.8 Missing Authorization via POST /configure Endpoint

High 8.6 Published Updated

Authenticated users can modify global LLM configurations to redirect traffic to attacker servers, affecting all instance users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-49948?

CVE-2026-49948 is a high-severity missing authorization vulnerability in mem0ai mem0, published on 9 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mem0 versions through 0.2.8, fixed in commit ae7f406, contain a missing authorization vulnerability in the self-hosted server component where the POST /configure endpoint modifies global LLM provider and embedder configuration but only verifies authentication via JWT or X-API-Key without validating the caller's role. Any authenticated user holding a distributed API key can redirect all LLM and embedder traffic to an attacker-controlled server, with the malicious configuration persisted to PostgreSQL and surviving server restarts to affect all users and API keys on the instance.

Weakness: CWE-862

Which versions are affected by CVE-2026-49948?

How do I fix CVE-2026-49948?

No fix has been published for CVE-2026-49948 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-49948 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49948 exists.

Sources

Also known as GHSA-hp66-92p5-jh23.

Is CVE-2026-49948 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free