A broken-access-control bug in Open WebUI's knowledge deletion endpoint lets any authenticated user with mere write access to one external knowledge base trigger deletion of the underlying, administrator-owned connection config — without a separate admin check or a check for other knowledge bases still depending on it. For a CISO, the concern isn't data theft (CVSS confidentiality impact is none) but availability and integrity: a low-privileged or compromised account can silently break RAG retrieval for every other team relying on that shared connection, a self-inflicted denial-of-service against your own knowledge management layer. There's no EPSS score, no CISA KEV listing, no public exploit code or Nuclei template, and exploitation requires an authenticated account — this is not an opportunistic internet-scanning risk, but it is trivial to trigger for anyone (or any compromised identity) already inside the instance. Patch to Open WebUI 0.11.1 or later, and in the interim audit which non-admin users hold write access to shared external knowledge bases. Monitor logs for unexpected DELETE calls to /api/v1/knowledge/{id}/delete correlating with sudden RAG retrieval failures across unrelated knowledge bases.
What is the risk?
High CVSS (7.1) reflects low attack complexity, no user interaction, and network access, but real-world risk is tempered by the requirement for an already-authenticated low-privilege account with write access to an external knowledge base — this is an insider/compromised-credential threat model, not an unauthenticated internet-facing one. No EPSS score, no CISA KEV entry, no public PoC or scanner template exist, and there's no active exploitation signal. The impact is integrity/availability (shared config destruction, cascading unavailability), not confidentiality — data isn't exposed, but multi-user RAG functionality can be disrupted instance-wide by a single non-admin actor.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Open WebUI | pip | >= 0.10.0, < 0.11.1 | 0.11.1 |
Do you use Open WebUI? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step-
Upgrade to Open WebUI 0.11.1 or later immediately, which adds the missing administrator/dependency checks (see GHSA-2724-6cpj-gf3v and PR #28113). Until patched, restrict write access on external knowledge bases to trusted/admin-level users only, and avoid sharing a single external connection across knowledge bases owned by different low-privilege users. Audit existing knowledge base permissions for over-broad write grants. For detection, monitor application logs for DELETE requests to /api/v1/knowledge/{id}/delete originating from non-admin accounts, and alert on knowledge bases becoming unexpectedly unavailable shortly after such calls.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-87998?
A broken-access-control bug in Open WebUI's knowledge deletion endpoint lets any authenticated user with mere write access to one external knowledge base trigger deletion of the underlying, administrator-owned connection config — without a separate admin check or a check for other knowledge bases still depending on it. For a CISO, the concern isn't data theft (CVSS confidentiality impact is none) but availability and integrity: a low-privileged or compromised account can silently break RAG retrieval for every other team relying on that shared connection, a self-inflicted denial-of-service against your own knowledge management layer. There's no EPSS score, no CISA KEV listing, no public exploit code or Nuclei template, and exploitation requires an authenticated account — this is not an opportunistic internet-scanning risk, but it is trivial to trigger for anyone (or any compromised identity) already inside the instance. Patch to Open WebUI 0.11.1 or later, and in the interim audit which non-admin users hold write access to shared external knowledge bases. Monitor logs for unexpected DELETE calls to /api/v1/knowledge/{id}/delete correlating with sudden RAG retrieval failures across unrelated knowledge bases.
Is CVE-2026-87998 actively exploited?
No confirmed active exploitation of CVE-2026-87998 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-87998?
Upgrade to Open WebUI 0.11.1 or later immediately, which adds the missing administrator/dependency checks (see GHSA-2724-6cpj-gf3v and PR #28113). Until patched, restrict write access on external knowledge bases to trusted/admin-level users only, and avoid sharing a single external connection across knowledge bases owned by different low-privilege users. Audit existing knowledge base permissions for over-broad write grants. For detection, monitor application logs for DELETE requests to /api/v1/knowledge/{id}/delete originating from non-admin accounts, and alert on knowledge bases becoming unexpectedly unavailable shortly after such calls.
What systems are affected by CVE-2026-87998?
This vulnerability affects the following AI/ML architecture patterns: RAG pipelines, knowledge management / knowledge bases, shared external data connectors.
What is the CVSS score for CVE-2026-87998?
CVE-2026-87998 has a CVSS v3.1 base score of 7.1 (HIGH). The EPSS exploitation probability is 0.27%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0029 Denial of AI Service AML.T0049 Exploit Public-Facing Application Compliance Controls Affected
What are the technical details?
Original Advisory
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.10.0 until 0.11.1, DELETE /api/v1/knowledge/{id}/delete in backend/open_webui/routers/knowledge.py authorized deletion against the knowledge base but then removed its administrator-owned external connection without a separate administrator check or a check for other dependent knowledge bases. A non-administrator with write access to one external knowledge base could delete shared instance configuration and make every other knowledge base using that connection unavailable. This issue is fixed in version 0.11.1.
Exploitation Scenario
An employee or contractor with legitimate write access to one shared external knowledge base (e.g., a team wiki connector feeding a RAG pipeline) sends a DELETE request to /api/v1/knowledge/{id}/delete for that knowledge base. Because Open WebUI does not separately verify administrator privilege or check whether other knowledge bases still depend on the same external connection before tearing it down, the underlying shared connection configuration is destroyed instance-wide. Every other knowledge base built on that connection instantly loses retrieval capability, disrupting RAG-backed chat/search for unrelated teams — a low-effort, authenticated denial-of-service against the organization's AI knowledge infrastructure.
Weaknesses (CWE)
CWE-269 Improper Privilege Management
Primary
CWE-863 Incorrect Authorization
Primary
CWE-269 Improper Privilege Management CWE-863 Incorrect Authorization CWE-269 — Improper Privilege Management: The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
- [Architecture and Design, Operation] Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
- [Architecture and Design] Follow the principle of least privilege when assigning access rights to entities in a software system.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L References
- github.com/open-webui/open-webui/commit/dc03e7e595d61be97b25a1dd7bb99ad264f73199 x_refsource_MISC
- github.com/open-webui/open-webui/pull/28113 x_refsource_MISC
- github.com/open-webui/open-webui/releases/tag/v0.11.1 x_refsource_MISC
- github.com/open-webui/open-webui/security/advisories/GHSA-2724-6cpj-gf3v x_refsource_CONFIRM
- github.com/advisories/GHSA-2724-6cpj-gf3v
- nvd.nist.gov/vuln/detail/CVE-2026-87998
Timeline
Related Vulnerabilities
CVE-2026-44551 9.1 open-webui: LDAP auth bypass — full account takeover
Same package: open-webui CVE-2026-45672 8.8 open-webui: code exec gate bypass via API endpoint
Same package: open-webui CVE-2026-44552 8.7 open-webui: Redis cache poisoning enables cross-instance tool hijack
Same package: open-webui CVE-2025-64495 8.7 Open WebUI: XSS-to-RCE via malicious prompt injection
Same package: open-webui CVE-2026-45315 8.7 open-webui: stored XSS → JWT theft and admin takeover
Same package: open-webui