This CVE exposes a resource ownership modeling error in Open WebUI, not merely a missing permission check. External connections were architected as disposable byproducts of individual knowledge bases rather than as shared instance infrastructure. When a user with write access to one knowledge base deletes an associated connection, they're not cleaning up their own resources — they're destroying shared configuration that every other knowledge base using that connection depends on. The CVSS 7.1 score masks this: it measures impact to the attacked component, but the real damage is collateral destruction of resources the attacker has no direct relationship with. In multi-team deployments sharing connection configurations — a legitimate cost-saving pattern — one user's write permission becomes a vector for organization-wide disruption. This isn't a cognitive failure by developers; it's an API ergonomics failure where the DELETE operation feels like cleaning up your own mess rather than touching shared infrastructure. Examine whether version 0.11.1 restructured the object model or merely added an admin gate — the latter will be bypassed within 2-3 feature cycles as teams add new permission pathways. The durable fix requires making the dangerous operation unexpressible through the API: connections should only be deletable through a connection-specific endpoint that enforces reference counting at the type system level, or better yet, treat connections as immutable after creation — deprecate and replace, but never delete. The underlying pattern recurs across collaborative knowledge tools: creator-owns-children semantics get built, product adds multi-user deployment, someone discovers write-to-A-destroys-B, patch adds admin gate, future feature bypasses it. Reference counting helps but has its own failure modes under concurrency. The real question isn't whether the patch holds — it's whether the API design makes this entire class of destruction impossible rather than just guarded.
CVE-2026-87998
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedOpen 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysisPrivileges are granted, or fail to be dropped, incorrectly, so an action runs with more power than it should. An attacker who reaches that path inherits the excess privilege. The fix is least-privilege throughout, with explicit, checked transitions whenever privilege changes.
General guidance for the improper privilege management class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 0.10.0, < 0.11.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped0.11.1
Upgrade to version 0.11.1 or later stable release
- 1. Identify the current Open WebUI version in use (check container tags, docker-compose.yml, or installation method)
- 2. If running version 0.10.0 through 0.11.0.x, plan upgrade to version 0.11.1 or later
- 3. Backup the Open WebUI data directory and any relevant configuration files before upgrading
- 4. For Docker deployments: Update the image tag to open-webui:0.11.1 or latest stable (e.g., docker pull open-webui:0.11.1)
- 5. Redeploy the container using the updated image
- 6. For pip/installation upgrades: Run the appropriate upgrade command for your installation method
- 7. Verify the upgrade was successful by checking the application version
- 8. Test that the DELETE /api/v1/knowledge/{id}/delete endpoint now properly checks for admin privileges and dependent knowledge bases before removing shared external connections
Generated from the published advisory — verify against the referenced sources before acting.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-87998 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesThis CVE exposes a resource ownership modeling error in Open WebUI, not merely a missing permission check. External connections were architected as disposable byproducts of individual knowledge bases rather than as shared instance infrastructure. When a user with write access to one knowledge base deletes an associated connection, they're not cleaning up their own resources — they're destroying shared configuration that every other knowledge base using that connection depends on. The CVSS 7.1 score masks this: it measures impact to the attacked component, but the real damage is collateral destruction of resources the attacker has no direct relationship with. In multi-team deployments sharing connection configurations — a legitimate cost-saving pattern — one user's write permission becomes a vector for organization-wide disruption. This isn't a cognitive failure by developers; it's an API ergonomics failure where the DELETE operation feels like cleaning up your own mess rather than touching shared infrastructure. Examine whether version 0.11.1 restructured the object model or merely added an admin gate — the latter will be bypassed within 2-3 feature cycles as teams add new permission pathways. The durable fix requires making the dangerous operation unexpressible through the API: connections should only be deletable through a connection-specific endpoint that enforces reference counting at the type system level, or better yet, treat connections as immutable after creation — deprecate and replace, but never delete. The underlying pattern recurs across collaborative knowledge tools: creator-owns-children semantics get built, product adds multi-user deployment, someone discovers write-to-A-destroys-B, patch adds admin gate, future feature bypasses it. Reference counting helps but has its own failure modes under concurrency. The real question isn't whether the patch holds — it's whether the API design makes this entire class of destruction impossible rather than just guarded.
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-87998 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data