HIGH 8.0 PyPI

Open WebUI Cross-Site Request Forgery (CSRF) Vulnerability

GHSA-85jc-8h5p-8vw8 · CVE-2024-7806 · PYSEC-2026-1724

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes