PYSEC-2026-2633

mem0 server lacks authentication and authorization controls for its memory creation API endpoint

At a glance

Published
Updated
CVE
CVE-2026-31245
Aliases
GHSA-cgx8-qgvr-f7vf
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Description

The mem0 1.0.0 server lacks authentication and authorization controls for its memory creation API endpoint (POST /memories). The endpoint allows unauthenticated users to submit arbitrary memory records without verifying their identity or permissions. A remote attacker can exploit this by sending unauthenticated POST requests to create malicious or spoofed memory entries in the database, leading to unauthorized data injection and potential data pollution.

Affected packages

PackageVersions
PyPI · mem0aiintroduced 0, last affected 1.0.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database