CVE-2024-7035 Cross-Site Request Forgery (CSRF) in open-webui/open-webui

Medium 6.9 Published Updated

Attackers can trick users into performing sensitive actions like resetting data via GET requests, compromising integrity and availability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-7035?

CVE-2024-7035 is a medium-severity vulnerability in Openwebui Open Webui, published on 20 Mar 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

In version v0.3.8 of open-webui/open-webui, sensitive actions such as deleting and resetting are performed using the GET method. This vulnerability allows an attacker to perform Cross-Site Request Forgery (CSRF) attacks, where an unaware user can unintentionally perform sensitive actions by simply visiting a malicious site or through top-level navigation. The affected endpoints include /rag/api/v1/reset, /rag/api/v1/reset/db, /api/v1/memories/reset, and /rag/api/v1/reset/uploads. This impacts both the availability and integrity of the application.

Weakness: CWE-352

Which versions are affected by CVE-2024-7035?

3 open source packages ship an affected version, including open-webui. It affects 1 product.

PackageAffectedFixed in
open-webui PyPIAll versions to 0.3.8None
open-webui PyPIAll versions to 0.3.8None
open-webui PyPIAll versions0.3.16

Products include Openwebui Open Webui.

How do I fix CVE-2024-7035?

Upgrade open-webui to 0.3.16 or later.

Is CVE-2024-7035 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7035 exists.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-p5vx-9hj8-cf4h, PYSEC-2026-1739.

Is CVE-2024-7035 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free