All vulnerabilities

Servers and applications

CVE-2026-87997

Any authenticated user can inject chats into another user's folder via chat completions

Severity
Medium 4.3
Published
30 Aug 2026
Last changed
16 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.11.1
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Also known as
GHSA-3pf7-q2g3-wj28
Sources
NVD, Project advisories (GitHub)

Description

The chat-completions endpoint reads a folder id out of the request body and saves the newly created chat into that folder without checking that the caller is allowed to write there. Any authenticated user who knows a folder's id can put a chat of their own into another user's folder, including a shared folder where they hold read-only access and a folder they have no access to at all. The chat then shows up in that folder for everyone who can read it, under a title and with content the attacker controls. The dedicated chat-creation and chat-move endpoints already enforced this check, the chat-completions path did not.

  • An authenticated account of any role. No elevated permission, no admin involvement.
  • Folders enabled, which is the default (ENABLE_FOLDERS=true, USER_PERMISSIONS_FEATURES_FOLDERS=true).
  • The attacker needs the target folder's id. A member of a shared folder gets it from the shared-folder listing.
From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • From 0.10.0 before 0.11.1
Open WebUIServers and applications · github:open-webui/open-webui
  • From 0.10.0 before 0.11.1

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-87997
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-87997
  • GitHub Advisory Database https://github.com/advisories/GHSA-3pf7-q2g3-wj28
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-3pf7-q2g3-wj28