---
id: CVE-2026-31241
aliases:
  - GHSA-gq6f-qwv9-rf4j
  - PYSEC-2026-2634
title: >-
  mem0 server lacks authentication and authorization controls for its memory
  deletion API endpoint
summary: >-
  mem0 server lacks authentication and authorization controls for its memory
  deletion API endpoint
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'
vendor: mem0ai
product: mem0ai
ecosystem: pip
affected:
  - mem0ai <= 1.0.0
published: '2026-05-12'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-gq6f-qwv9-rf4j'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31241'
  - url: 'https://github.com/mem0ai/mem0'
  - url: 'https://www.notion.so/CVE-2026-31241-35d1e139318881459ae5e6f0d7dc6f0f'
tags:
  - osv
  - pip
epss: 0.00551
epssPercentile: 0.43722
ingestedAt: '2026-07-13T18:57:58.546Z'
---

## Overview

The mem0 1.0.0 server lacks authentication and authorization controls for its memory deletion API endpoint (DELETE /memories). The endpoint allows unauthenticated users to delete memory records by specifying arbitrary user identifiers (e.g., user_id, run_id, agent_id) in the request query parameters. A remote attacker can exploit this by sending unauthenticated DELETE requests to erase memory data for any user, leading to unauthorized data loss and denial of service.

## Affected packages

- `mem0ai <= 1.0.0`

## Remediation

Refer to the advisory for the patched release.
