CVE-2024-7053: Open WebUI Session Fixation Vulnerability

open-webui Updated 02 Oct 2025

Summary

20/03/2025
No i
High
7.6

CVE-2024-7053: Open WebUI Vulnerable to a Session Fixation Attack. Affects open-webui versions < 0.3.8. No fix is published. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Open WebUI is an open-source web application framework designed for building user interfaces. It allows developers to create interactive web applications with ease. The framework is widely used for its simplicity and flexibility. However, version 0.3.8 of Open WebUI has a critical vulnerability that exposes users to session fixation attacks, compromising the security of user sessions.

Vulnerability Detail

A vulnerability in open-webui version 0.3.8 allows an attacker with a user-level account to perform a session fixation attack. The session cookie for all users is set with the default 'SameSite=Lax' and does not have the 'Secure' flag enabled, allowing the session cookie to be sent over HTTP to a cross-origin domain. An attacker can exploit this by embedding a malicious markdown image in a chat, which, when viewed by an administrator, sends the admin's session cookie to the attacker's server. This can lead to a stealthy administrator account takeover, potentially resulting in remote code execution (RCE) due to the elevated privileges of administrator accounts.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement additional security measures such as validating session tokens on the server-side and ensuring that session cookies have the 'Secure' flag set. This can help mitigate the risk of session fixation attacks until the package is updated.

Conclusion

The session fixation vulnerability in Open WebUI version 0.3.8 poses a significant risk to user accounts, particularly for administrators. It is crucial to update to the latest version to protect against potential exploits. Additionally, using tools like Vulert can help monitor for vulnerabilities in real-time.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

A session fixation attack is a type of security exploit where an attacker tricks a user into using a specific session ID, allowing the attacker to hijack the user's session.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to test your application without signing up.

If exploited, this vulnerability can lead to unauthorized access to administrator accounts, potentially resulting in remote code execution and significant data breaches.

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

If you cannot update immediately, implement additional security measures such as validating session tokens and ensuring session cookies are secure as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for open-webui.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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