CVE-2024-7035: Open WebUI Vulnerable to Cross-Site Request Forgery (CSRF)
Open WebUI 0.3.8 and earlier performs destructive reset actions through GET requests, so a malicious web page can trigger them in a signed-in admin's browser. The routes include `/rag/api/v1/reset`, `/rag/api/v1/reset/db`, `/rag/api/v1/reset/uploads` and `/api/v1/memories/reset`. The advisory data lists no patched version.
Published Mar 20, 2025 · Updated Mar 21, 2025 · Analysis Nov 1, 2026
What an attacker can do
GET requests are sent by browsers on simple navigation, image loads and links, and carry the user's cookies. Because Open WebUI used GET for resets, an attacker can place a link, image tag or redirect on any page. When a signed-in user with the right privileges visits it, their browser calls the reset route and the action runs. The four routes reset the RAG store, its database, its uploaded files and stored memories.
The result is lost data and a disrupted deployment, with integrity impact high and availability low in the CVSS vector. The vector also requires high privileges and user interaction, so the victim must be an admin who opens the attacker's page while logged in. The scope is changed because the effects reach data beyond the page. Teams that use Open WebUI as an internal chat and knowledge-base front end could lose their indexed documents and memories.
Who is affected
The open-webui pip package at 0.3.8 and earlier. Admins who browse the web while signed in to Open WebUI are the people to protect.
Check the version:
pip show open-webuiOn container installs, check the image tag or the version shown in the UI.
open-webui
- Ecosystem
- PyPI
- Affected
- <= 0.3.8
- Fixed in
- No patched version yet
- Check
pip show open-webui
How to fix it
The advisory data lists no patched version and the sources give no fix commit. Move to the latest Open WebUI release and check whether the reset routes now require POST or DELETE.
Until then, admins should not browse other sites in the same browser session while signed in to Open WebUI. Keep regular backups of the RAG database, uploads and memories so a reset can be undone. A reverse proxy rule that blocks GET requests to the four reset paths also removes the attack path.
How to tell if you were hit
Look in access logs for GET requests to /rag/api/v1/reset, /rag/api/v1/reset/db, /rag/api/v1/reset/uploads or /api/v1/memories/reset, particularly with a Referer header from another site or none. Check for sudden empty document collections or missing uploads and memories that nobody deleted.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.
Questions
- Does CVE-2024-7035 require the victim to be logged in?
Yes. The CVSS vector requires high privileges and user interaction, so an admin must open the malicious page while signed in.
- Which routes are involved?
/rag/api/v1/reset,/rag/api/v1/reset/db,/rag/api/v1/reset/uploadsand/api/v1/memories/reset, per the advisory.- Is CVE-2024-7035 exploited in the wild?
No source says so, and it is not in CISA's KEV catalog. Its EPSS percentile is high, about 95th, so treat it as plausible to exploit.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Open WebUI vulnerabilities
All Open WebUI entriesCVE-2026-87011
Open WebUI: Unauthenticated requests can stall the server via uncached OIDC fetches in back-channel logout
high7.5Sep 10, 2026CVE-2026-87012
Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-numeric alert value
medium4.3Sep 10, 2026CVE-2026-87013
Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
medium4.3Sep 10, 2026CVE-2026-87014
Open WebUI: Admin demoted through SSO role sync keeps read and write access to all users' notes
medium6.5Sep 10, 2026CVE-2026-87015
Open WebUI: A user's session cookies are sent to tool servers configured for bearer authentication
medium6.8Sep 10, 2026CVE-2026-87016
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
high8.1Sep 10, 2026
