VDB
KO
MEDIUM 6.9

PYSEC-2026-1739

Open WebUI Vulnerable to Cross-Site Request Forgery (CSRF)

Quick fix

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

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

Details

In version v0.3.8 of open-webui/open-webui, sensitive actions such as deleting and resetting are performed using the GET method. This vulnerability allows an attacker to perform Cross-Site Request Forgery (CSRF) attacks, where an unaware user can unintentionally perform sensitive actions by simply visiting a malicious site or through top-level navigation. The affected endpoints include /rag/api/v1/reset, /rag/api/v1/reset/db, /api/v1/memories/reset, and /rag/api/v1/reset/uploads. This impacts both the availability and integrity of the application.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / open-webui
Introduced in: 0 Fixed in: 0.3.16
Fix pip install --upgrade 'open-webui>=0.3.16'

References