---
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.6.3
patched:
  - open-webui 0.6.3
published: '2024-10-09'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T15:15:05.648393122Z'
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://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-1744.yaml
  - url: 'https://huntr.com/bounties/6855227f-1237-47b8-8d37-29aad7ddec3a'
  - url: 'https://pypi.org/project/open-webui'
  - url: 'https://github.com/advisories/GHSA-xcvc-5hgv-phqg'
tags:
  - osv
  - pip
  - ghsa
epss: 0.00367
epssPercentile: 0.30336
cwe:
  - CWE-250
  - CWE-639
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.6.3`

## Remediation

Upgrade to a patched release:

- `open-webui 0.6.3`
