CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-7806: Remote Code Execution by Non-Admin Users via CSRF in open-webui/open-webui

8.0 CVSS

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.

Classification

CVE ID: CVE-2024-7806

CVSS Base Severity: HIGH

CVSS Base Score: 8.0

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Problem Types

CWE-352 Cross-Site Request Forgery (CSRF)

Affected Products

Vendor: open-webui

Product: open-webui/open-webui

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.09% (probability of being exploited)

EPSS Percentile: 26.52% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-7806
https://huntr.com/bounties/9350a68d-5f33-4b3d-988b-81e778160ab8

Timeline