CVE-2026-45317 Open WebUI: Cross-Site Request Forgery (CSRF) via Image URL Manipulation

Medium 4.6 Published Updated

Attackers can exploit CSRF in Open WebUI image uploads to perform actions on behalf of victims, potentially leading to cookie theft or denial of service.

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

What is CVE-2026-45317?

CVE-2026-45317 is a medium-severity vulnerability in Openwebui Open Webui, published on 15 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.3, an application-wide Cross-Site Request Forgery (CSRF) vulnerability was found Open-WebUl's image uploading functionality. An attacker can set an image URL to a malicious endpoint, allowing them to perform actions on behalf of a victim user. Any authenticated user can exploit this vulnerability, and any user who views the compromised image (e.g., a profile picture) will unknowingly send a GET request to the attacker-controlled URL. This can lead to cookie theft, denial of service (DoS), or other malicious actions. This vulnerability is fixed in 0.9.3.

Weakness: CWE-352, CWE-20

Which versions are affected by CVE-2026-45317?

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

PackageAffectedFixed in
open-webui PyPIAll versions0.9.3
open-webui PyPIAll versions0.9.3
open-webui PyPIAll versions0.9.3

Products include Openwebui Open Webui.

How do I fix CVE-2026-45317?

Upgrade open-webui to 0.9.3 or later.

Is CVE-2026-45317 being exploited?

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

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-j6w6-986j-2m2m, PYSEC-2026-2738.

Is CVE-2026-45317 in your software?

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

Check your SBOMs for free