Advisory

PYSEC-2026-1724

Also known as: CVE-2024-7806, GHSA-85jc-8h5p-8vw8

Summary

Open WebUI Cross-Site Request Forgery (CSRF) Vulnerability

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.

Severity

High Basis: CVSS v3 score 8, vector CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

open-webui

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.33 (ecosystem)

Fixed versions

0.3.33

Fix

  • Fixed version 0.3.33
    pip install --upgrade open-webui==0.3.33

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences