CVE-2024-7806

HIGH

open-webui <= 0.3.8 - Remote Code Execution via CSRF

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 8.8
EPSS 0.0178
EPSS Percentile 82.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-352
Status published
Products (2)
openwebui/open_webui < 0.3.8
pypi/open-webui 0 - 0.3.33PyPI
Published Mar 20, 2025
Tracked Since Feb 18, 2026