PT-2025-12195 · Unknown · Open-Webui
Published
2025-03-20
·
Updated
2025-03-20
·
CVE-2024-7806
CVSS v3.1
8.8
High
| Vector | AV: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.
Exploit
Fix
RCE
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Open-Webui