CVE-2026-109293
Info disclosure: non‑admin users can export shared tool source via GET /api/v1/tools/export.
- CVSS 7.1
- CWE-200
- Information Leakage
- Remote
Open WebUI from 0.11.0 before 0.11.4 contains an information disclosure vulnerability that allows authenticated non-admin users with tool export permission to obtain tool source code shared with them read-only. Attackers can request GET /api/v1/tools/export to retrieve the full Python source of read-only shared tools, exposing embedded API keys and credentials.
- CWE
- CWE-200
- CVSS base score
- 7.1
- Published
- 2026-10-12
- OWASP
- A01 Broken Access Control
- Orthogonal defect classification
- Interface
- Code defect classification
- Extraneous Interface
- Category
- Information Leakage
- Subcategory
- Information Disclosure
- Accessibility scope
- Remote
- Impact
- Information Disclosure
- Affected component
- Open WebUI
- Fixed by upgrading
- Yes
Solution
Upgrade Open WebUI to version 0.11.4 or later.
Vulnerable code sample
from flask import Blueprint, request, send_file, abort
import os
tools_bp = Blueprint('tools', __name__)
@tools_bp.route('/api/v1/tools/export', methods=['GET'])
def export_tool():
# VULNERABLE: missing permission check for non-admin users
tool_id = request.args.get('id')
if not tool_id:
abort(400, "Missing tool id")
tool_path = os.path.join('/var/openwebui/tools', f'{tool_id}.py')
if not os.path.isfile(tool_path):
abort(404, "Tool not found")
return send_file(tool_path, as_attachment=True, mimetype='text/plain')Patched code sample
from flask import Blueprint, request, send_file, abort
import os
tools_bp = Blueprint('tools', __name__)
def user_has_export_permission(user):
# Placeholder for real permission check logic
return getattr(user, 'is_admin', False) or getattr(user, 'can_export', False)
@tools_bp.route('/api/v1/tools/export', methods=['GET'])
def export_tool():
# FIX: enforce export permission before returning source
tool_id = request.args.get('id')
if not tool_id:
abort(400, "Missing tool id")
user = getattr(request, 'user', None)
if not user or not user_has_export_permission(user):
abort(403, "Insufficient permissions")
tool_path = os.path.join('/var/openwebui/tools', f'{tool_id}.py')
if not os.path.isfile(tool_path):
abort(404, "Tool not found")
return send_file(tool_path, as_attachment=True, mimetype='text/plain')Cite this entry
@misc{vaitp:cve2026109293,
title = {{Info disclosure: non‑admin users can export shared tool source via GET /api/v1/tools/export.}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
note = {VAITP Python Vulnerability Dataset, entry CVE-2026-109293},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-109293/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.
The supreme art of war is to subdue the enemy without fighting.
Sun Tzu – “The Art of War”
:: Shaping the future through research and ingenuity ::
