CORS Misconfiguration and Session Validation Flaw in Open WebUI

open-webui Updated 11 May 2026

Summary

11/05/2026
HIGH
Yes i
High
8.3

GHSA-6xcp-7mpr-m7wm: Open WebUI has a CORS misconfiguration and session validation issue. Affects open-webui versions < 0.3.33. Fixed in 0.3.33. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Open WebUI is an open-source web application designed to provide a user-friendly interface for various backend functionalities. It allows users to manage and interact with different services through a centralized platform. However, the application has been found to have critical security vulnerabilities that could lead to unauthorized access and remote code execution.

Vulnerability Detail

The vulnerability stems from a CORS misconfiguration and a failure to invalidate session cookies upon logout. The CORS misconfiguration allows arbitrary websites to make authenticated cross-site requests to the Open WebUI, enabling attackers to execute arbitrary code if they gain access to an admin account. Additionally, the failure to invalidate session cookies means that even after a user logs out, the same session cookies can be reused, allowing attackers to exploit this flaw without needing the user to be logged in. This combination of issues significantly increases the risk of remote code execution and unauthorized access.

How To Fix

Latest published version: 0.12.3 as of 22 Oct 2026

pip install --upgrade "open-webui==0.12.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.33

This is the first release that contains the fix.

pip install --upgrade "open-webui==0.3.33"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict access to the Open WebUI by implementing network-level controls such as firewalls or VPNs to limit exposure until the vulnerabilities are patched. Additionally, avoid using the application in environments where untrusted users can access it.

Conclusion

The Open WebUI has critical vulnerabilities due to CORS misconfiguration and session validation issues, which can lead to remote code execution and unauthorized access. It is essential to update to the latest version to mitigate these risks and ensure the security of the application.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.3, indicating a high severity level.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The potential impacts include unauthorized remote code execution, data breaches, and complete compromise of the application running in a Docker container.

Yes, a patch is available in version 0.3.33 of Open WebUI. It is recommended to update to this version to mitigate the vulnerabilities.

If you cannot update the package immediately, implement network-level controls to restrict access and monitor for any suspicious activity until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for open-webui.

How To Fix

Latest published version: 0.12.3 as of 22 Oct 2026

pip install --upgrade "open-webui==0.12.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.33

This is the first release that contains the fix.

pip install --upgrade "open-webui==0.3.33"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback