Skip to content

Open WebUI has an Indirect Object Reference (IDOR) in user notes

Moderate severity GitHub Reviewed Published May 11, 2026 in open-webui/open-webui • Updated May 14, 2026

Package

pip open-webui (pip)

Affected versions

<= 0.8.10

Patched versions

0.8.11

Description

Summary

The API /api/v1/notes/{note_id} endpoint lacks proper authorization checks, allowing authenticated users to retrieve notes belonging to other users by guessing or enumerating UUIDs. This results in unauthorized disclosure of potentially sensitive or private user data.

Details

  • if notes is enabled from UI (Settings >> General >> Features >> Notes (Beta))
    • From API, attacker can access other user notes
  • if notes is disabled from UI (Settings >> General >> Features >> Notes (Beta))
    • Then attacker can enable the notes from /api/config and access other user notes

PoC

  • Step 1: Log in to the application as a valid user (User A).
    image

  • Step 2: Intercept or inspect the response from the endpoint GET /api/config.
    image

  • Step 3: Observe the field "enable_notes": false in the JSON response.

  • Step 4: Manually change "enable_notes" to true using browser DevTools or by intercepting and modifying the response via a proxy like Burp Suite. (Please note, the occurrence of this API comes twice, hence modification needs to be made twice as well.)
    image

  • Step 5: Observe the loaded frontend application; the previously hidden notes form will now be visible.
    image

image

  • Step 6: Again, click on any note, intercept the request, and Replace the note_id in the URL with a different note ID known to belong to another user (e.g., by guessing or bruteforcing).
  • Step 7: Send the modified request while remaining logged in as User A.
  • Step 8: Observe that the server returns the content of another user's note, confirming unauthorized access.
    image
    image

Impact

  1. Unauthorized access to user-created notes
  2. Possible exposure of confidential or sensitive uploaded data
  3. Violation of user privacy and data isolation
  4. High risk of legal or compliance breaches in regulated environments

Resolution

Fixed in commit de3317e26, first released in v0.8.11 (Mar 2026). All per-id note endpoints (GET /api/v1/notes/{id}, POST /api/v1/notes/{id}/update, POST /api/v1/notes/{id}/access/update, deletion) now enforce ownership: the handler fetches the note, then requires the caller to be admin, the note owner, or have an AccessGrants grant for the appropriate permission (read for retrieval, write for mutation). A non-owner with no grant receives 403.

Users on >= 0.8.11 are not affected.

References

@doge-woof doge-woof published to open-webui/open-webui May 11, 2026
Published to the GitHub Advisory Database May 14, 2026
Reviewed May 14, 2026
Last updated May 14, 2026

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(8th percentile)

Weaknesses

Authorization Bypass Through User-Controlled Key

The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. Learn more on MITRE.

CVE ID

CVE-2026-45666

GHSA ID

GHSA-x3qm-p8hr-3c3h

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.