VDB
Sign up
HIGH8.0

PYSEC-2026-1724

Open WebUI Cross-Site Request Forgery (CSRF) Vulnerability

Quick fix

PYSEC-2026-1724 — open-webui: upgrade to the fixed version with the command below.

pip install --upgrade 'open-webui>=0.3.33'

Details

A vulnerability in open-webui/open-webui versions <= 0.3.8 allows remote code execution by non-admin users via Cross-Site Request Forgery (CSRF). The application uses cookies with the SameSite attribute set to lax for authentication and lacks CSRF tokens. This allows an attacker to craft a malicious HTML that, when accessed by a victim, can modify the Python code of an existing pipeline and execute arbitrary code with the victim's privileges.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/open-webui
Introduced in: 0Fixed in: 0.3.33
Fixpip install --upgrade 'open-webui>=0.3.33'

References