Skip to main content

Open WebUI CVE-2026-70491

| EUVDEUVD-2026-52922 MEDIUM
Information Exposure (CWE-200)
2026-08-04 https://github.com/open-webui/open-webui GHSA-3r7g-q6cg-q2vx
6.5
CVSS 3.1 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated non-admin session
  2. Delivery
    Identify shared workspace tool on instance
  3. Exploit
    Call GET /api/v1/tools/list with session token
  4. Execution
    Parse content field from JSON response
  5. Impact
    Extract embedded API keys or credentials from tool source

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three conditions must be simultaneously present: (1) WEBUI_AUTH=true (the default) and ENABLE_PLUGINS=true (the default) must both be active on the Open WebUI instance; (2) the attacker must hold a valid authenticated non-admin account that does not have the workspace.tools permission and does not have a write grant on the target tool; (3) at least one tool must be shared under a read grant that covers the attacker - either a direct grant, a group-membership grant, or the public user:* grant. Deployments that share no tools, or that share tools exclusively with users who already hold write access, are not affected. No user interaction by the tool owner is required. Authentication (PR:L - a standard non-admin account) is the sole meaningful barrier once the above conditions are met; no elevated privilege, special network position, or race condition is needed.

Impact

The vendor-assigned CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately represents the attack surface: network-reachable, low complexity, requiring only a standard authenticated session. Notably, both WEBUI_AUTH=true and ENABLE_PLUGINS=true are the default installation state, and publicly shared tools (user:*) are an explicitly documented use pattern, meaning a substantial fraction of multi-user deployments may present the condition without any non-default configuration. The practical impact is amplified beyond the CVSS confidentiality-high rating because the disclosed artifact is source code that routinely contains credentials - the actual loss surface includes downstream API keys and service secrets, not merely code. A complete proof-of-concept is published in the GHSA advisory. No EPSS score was present in the input data; exploitation probability cannot be quantified independently. No CISA KEV listing exists, so active widespread exploitation is not confirmed. Collectively, these signals make this a genuine remediation priority for any multi-user Open WebUI instance where tools are or have been shared under read grants, even though CVSS alone would rank it as medium severity.

Exploit ScenarioDerived

An authenticated non-admin user on a multi-user Open WebUI 0.10.2 instance sends a single GET request to /api/v1/tools/list using their standard session bearer token; if any tool has been shared publicly (user:*) or to a group the attacker belongs to under a read grant, the JSON response includes the full Python content field, including any hard-coded API keys or service credentials the tool author embedded. The attacker extracts these secrets silently, requiring no action by the tool owner and generating no alerts beyond a normal API access log entry. A step-by-step proof-of-concept demonstrating this exact sequence against a default 0.10.2 instance is published in GHSA-3r7g-q6cg-q2vx.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 04, 2026

Tool source code disclosure in Open WebUI (≤ 0.10.2) allows any authenticated non-admin user who holds a read grant on a shared workspace tool to retrieve the full Python source of that tool via three unguarded API endpoints. The root cause is a Pydantic response-model inheritance defect where the ToolUserResponse subclass re-admitted the content field that the parent ToolResponse schema deliberately excluded, combined with a separate query-level defect in the list path. Because tool source commonly embeds hard-coded API keys, credentials, and internal service URLs, the practical confidentiality loss frequently exceeds the code itself; a detailed proof-of-concept is published in the GitHub security advisory, and the vendor-confirmed fix is available in 0.11.0 with no active exploitation (CISA KEV) recorded at time of analysis.

RemediationAI

Upgrade open-webui to version 0.11.0 or later; this is the complete fix and requires no configuration change after upgrading. The patch (PR #27005, commit c05de13b4) modifies the per-id endpoint to strip the content field for callers without write access, and removes source loading from both list endpoints entirely - function specs remain visible to read users as required for chat rendering, and tool execution continues to load source server-side. Advisory: https://github.com/open-webui/open-webui/security/advisories/GHSA-3r7g-q6cg-q2vx; patch diff: https://github.com/open-webui/open-webui/pull/27005. If immediate upgrade is not possible, revoke all read-only sharing grants on any tool whose source contains credentials or sensitive URLs - deployments where tools are shared exclusively with users who already hold write access are not affected by this vulnerability. Regardless of patch status, audit all tool source for embedded credentials and rotate any that may have been exposed, as exploitation leaves no obvious server-side trace beyond normal API access logs.

Affected VersionsENISA

open-webui < 0.11.0

Affected Packages

pypi open-webui fix: 0.11.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open WebUI is a self-hosted Python/FastAPI web interface for large-language-model interactions that supports workspace tools - Python scripts executed server-side via a plugin system. The three affected endpoints (GET /api/v1/tools/, GET /api/v1/tools/list, and GET /api/v1/tools/id/{id}) in backend/open_webui/routers/tools.py are protected by access-grant checks but fail to enforce the writer-only tier on response serialization. CWE-200 (Exposure of Sensitive Information) is the root cause class: the ToolResponse Pydantic model deliberately omits the content (Python source) field, but its subclass ToolUserResponse is configured with extra='allow', which silently re-admits any field present in the raw model_dump() spread passed to the constructor. The list endpoints had a second independent defect where a source-suppression flag never modified the underlying database query it was meant to guard. CPE pkg:pip/open-webui versions ≤ 0.10.2 carry both defects across every build that includes the plugin routes.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/open-webui/open-webui) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable API endpoint, low attack complexity; a standard authenticated non-admin session is sufficient (PR:L); confidentiality-only impact with no integrity or availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/open-webui/open-webui).

CVSS VectorVendor: https://github.com/open-webui/open-webui

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Summary

A workspace tool shared with a read grant returned its full Python source to the recipient. Any authenticated non-admin who could use a shared tool could also read its source, including any user on the instance when a tool was shared publicly. Source is meant to be a writer-only tier: the list response schema deliberately omits it and source export sits behind its own permission. The read endpoints delivered it anyway.

Preconditions

  • Authentication enabled (WEBUI_AUTH=true, default) and plugins enabled (ENABLE_PLUGINS=true, default).
  • The attacker is an authenticated non-admin without the workspace.tools permission and without a write grant on the tool.
  • A tool is shared with a read grant to the attacker, to one of their groups, or to all users (user:*).

Deployments that share no tools, or share them only with users who already hold write access, are not affected.

Impact

A non-admin obtains another user's server-side tool source. Tool source commonly embeds hard-coded API keys, credentials and internal service URLs, so the practical loss frequently extends past the code itself. The attack needs no special permission beyond an ordinary account that a tool was shared with, and no user interaction. Confidentiality only: it grants no ability to create, modify or execute tools, and no integrity or availability impact.

Fix

Fixed in 0.11.0 by commit c05de13b4 (#27005) together with 310ae9130. The per-id endpoint now drops the source for callers without write access, and the two list endpoints no longer load source at all. Function specs stay visible to read users, since the chat tool listing renders a tool's functions from them. Tool execution loads source server-side, so shared tools keep working. Upgrading to 0.11.0 fully resolves the issue with no configuration change.

Root cause

Affected components: GET /api/v1/tools/, GET /api/v1/tools/list and GET /api/v1/tools/id/{id} in backend/open_webui/routers/tools.py, and the response models in backend/open_webui/models/tools.py. Every build carrying the plugin routes is affected.

ToolResponse deliberately omits the source and the specs, but its subclass ToolUserResponse permits extra fields, and each handler built its response by spreading a full dump of the tool model. The omitted fields were re-admitted as extras and serialised back to the caller, so the schema meant to enforce the writer-only tier enforced nothing at all. The listing path carried a second, independent defect: the flag that was supposed to keep source out of listings never changed the query it guarded.

Proof of concept

Against a default instance on 0.10.2, with an admin account and a second account of role user:

  1. As the admin, create a tool whose source contains a marker secret and share it read-only with everyone:
POST /api/v1/tools/create
{"id": "poctool",
 "name": "PoC Tool",
 "content": "API_KEY = \"TOOL_SRC_SECRET\"\nclass Tools:\n    def hello(self) -> str: return 'hi'",
 "meta": {"description": "poc"},
 "access_grants": [{"principal_type": "user", "principal_id": "*", "permission": "read"}]}
  1. As the non-admin, call any of the three read endpoints:
GET /api/v1/tools/list
-> 200, item "poctool": write_access=false, content="API_KEY = \"TOOL_SRC_SECRET\" ..."

The same source is returned by GET /api/v1/tools/ and GET /api/v1/tools/id/poctool. On 0.11.0 the identical run returns the item with no source for the non-admin, while the owner still receives it.

Credits

  • bogdancherniy11-sudo - reported the disclosure across the three tool read endpoints.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 pypi packages depend on open-webui (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 0.11.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular self-hosted LLM interface with growing multi-user deployment base
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy