PT-2025-12195
CVE-2024-7806
·
Published
2025-03-20
·
Updated
2026-07-07
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
open-webui/open-webui versions <= 0.3.8
Description
A vulnerability 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.
Recommendations
For open-webui/open-webui versions <= 0.3.8, update to a version greater than 0.3.8 to resolve the issue. As a temporary workaround, consider implementing CSRF tokens and restricting access to sensitive functionality to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾