---
id: CVE-2024-7041
aliases:
  - GHSA-xcvc-5hgv-phqg
  - PYSEC-2026-1744
title: open-webui Insecure Direct Object Reference (IDOR) vulnerability
summary: open-webui Insecure Direct Object Reference (IDOR) vulnerability
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
vendor: open-webui
product: open-webui
ecosystem: pip
affected:
  - open-webui <= 0.3.8
published: '2024-10-09'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-xcvc-5hgv-phqg'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-7041'
  - url: 'https://github.com/open-webui/open-webui'
  - url: >-
      https://github.com/open-webui/open-webui/blob/main/backend/apps/webui/routers/memories.py#L71
  - url: 'https://huntr.com/bounties/6855227f-1237-47b8-8d37-29aad7ddec3a'
tags:
  - osv
  - pip
epss: 0.00367
epssPercentile: 0.3052
ingestedAt: '2026-07-08T18:25:54.171Z'
---

## Overview

An Insecure Direct Object Reference (IDOR) vulnerability exists in open-webui/open-webui version v0.3.8. The vulnerability occurs in the API endpoint `http://0.0.0.0:3000/api/v1/memories/{id}/update`, where the decentralization design is flawed, allowing attackers to edit other users' memories without proper authorization.

## Affected packages

- `open-webui <= 0.3.8`

## Remediation

Refer to the advisory for the patched release.
