Advisory

GHSA-85jc-8h5p-8vw8

Also known as: CVE-2024-7806, PYSEC-2026-1724

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: The source's own band: HIGH

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-07-07 17:56 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences