CVE-2026-31242 Missing authorization in n/a

Critical 9.1 Published Updated

Unauthenticated attackers can delete the entire memory database via the reset endpoint, causing data loss and denial of service.

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

What is CVE-2026-31242?

CVE-2026-31242 is a critical missing authorization vulnerability in n/a, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The mem0 v1.0.0 server lacks authentication and authorization controls for its memory reset functionality accessible via the DELETE /memories endpoint. An unauthenticated attacker can send a DELETE request that triggers a reset operation, leading to the execution of a DROP TABLE SQL statement. This results in the deletion of the entire memory database table, causing catastrophic data loss and a complete denial of service for all users of the service.

Weakness: CWE-862, CWE-306

Which versions are affected by CVE-2026-31242?

It affects 1 product.

Products include Mem0 Mem0.

How do I fix CVE-2026-31242?

No fix has been published for CVE-2026-31242 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-31242 being exploited?

There is no known exploitation of CVE-2026-31242 in the wild and no public exploit code.

Sources

Also known as GHSA-hfhg-w67x-4fpq.

Is CVE-2026-31242 in your software?

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

Check your SBOMs for free