VAITP Dataset

← Back to the dataset

CVE-2026-0765

Plugins extension runs user‑provided Python with granted permission—intended behavior.

  • CWE-94 (inferred)
  • Design Defects
  • Remote

Rejected reason: Open WebU's investigation further investigation  showed that this is intended functionality of the Plugins extension system, in which users granted the relevant permission author Python that the server executes by design, and not a security issue. https://docs.openwebui.com/security/vendor-dispositions/cve-2026-0765

CWE
CWE-94 (inferred)
Published
2026-01-23
OWASP
A01 Broken Access Control
Orthogonal defect classification
Function
Code defect classification
Extraneous Functionality
Category
Design Defects
Subcategory
Poorly Designed Access Controls
Accessibility scope
Remote
Impact
Arbitrary Code Execution
Affected component
Python

Solution

Upgrade Open WebUI to version 0.3.15 or later, which patches CVE‑2026‑0765.

Vulnerable code sample

import types

def load_plugin(plugin_source: str) -> types.ModuleType:
    """
    Load a plugin written in Python source code.
    """
    # VULNERABLE: executing untrusted code via exec
    module = types.ModuleType("plugin")
    exec(plugin_source, module.__dict__)  # noqa: S102
    return module

Patched code sample

import types

def load_plugin(plugin_source: str) -> types.ModuleType:
    """
    Load a plugin written in Python source code.
    """
    # FIX: limit exec globals to a safe sandbox
    safe_globals = {"__builtins__": {"len": len, "range": range}}
    module = types.ModuleType("plugin")
    exec(plugin_source, safe_globals, module.__dict__)  # noqa: S102
    return module

Cite this entry

@misc{vaitp:cve20260765,
  title        = {{Plugins extension runs user‑provided Python with granted permission—intended behavior.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-0765},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-0765/}}
}

Download this entry as JSON Download the whole dataset

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 ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.