Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-31242
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 01:25 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-31242
Complete source record
{
"id": "1d2c727fc66548d12c17dc544b652771306a774488a9abc5fd67976a9aaf2d52",
"url": "https://osv.dev/vulnerability/CVE-2026-31242",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-31242",
"summary": "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.",
"evidence": "osv:CVE-2026-31242",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-31242",
"aliases": [
"CVE-2026-31242"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mem0ai/mem0",
"type": "GIT",
"events": [
{
"introduced": "394203d1b5f56385d28690ea27c0d746007ff940"
},
{
"last_affected": "394203d1b5f56385d28690ea27c0d746007ff940"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mem0:mem0:1.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0"
},
{
"last_affected": "1.0.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.0.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31242.json"
}
}
],
"modified": "2026-10-28T02:30:24.927019720Z",
"provider": "osv",
"references": [
"https://www.notion.so/CVE-2026-31242-35d1e1393188819c9ebec0e684b4e656",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31242.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31242",
"https://github.com/mem0ai/mem0"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31242.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31242",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491619,
"published_at": "2026-05-12T00:00:00+00:00"
}