CVE-2025-15603: Open WebUI JWT Key Handler Insufficient Randomness Vulnerability

open-webui Updated 03 Sep 2026

Summary

09/03/2026
No i
Low
3.7

CVE-2025-15603: Withdrawn Advisory: Open WebUI JWT Key Handler. Affects open-webui versions < 0.6.16. 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 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 user interface framework designed for building web applications. It provides a set of tools and libraries that facilitate the development of user interfaces with a focus on modularity and ease of use. The framework includes various components, one of which is the JWT Key Handler, responsible for managing JSON Web Tokens (JWT) for secure authentication. However, versions up to 0.6.16 of Open WebUI have been found to be vulnerable due to insufficient randomness in the generation of secret keys, potentially compromising the security of applications using this framework.

Vulnerability Detail

The vulnerability arises from a flaw in the JWT Key Handler's handling of the WEBUI_SECRET_KEY argument in the backend/start_windows.bat file. This manipulation can lead to insufficiently random values being generated for the secret key, which is critical for the security of JWTs. An attacker could exploit this vulnerability remotely, although the complexity of the attack is high, making it difficult to execute. The exploit has been publicly disclosed, raising concerns about its potential use in real-world scenarios, particularly for applications relying on JWT for authentication.

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, consider using a different method for generating secret keys that ensures sufficient randomness. For example, you can manually set a strong random key in your application configuration instead of relying on the default behavior. Here is a sample code snippet to set a secure key:

import os WEBUI_SECRET_KEY = os.urandom(24).hex()

Conclusion

In summary, the Open WebUI framework has a vulnerability related to insufficient randomness in its JWT Key Handler, affecting versions up to 0.6.16. Users are advised to update to a patched version to secure their applications. For those unable to update immediately, a workaround is available to mitigate the risk.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 3.7, indicating a low severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow attackers to generate predictable JWTs, leading to unauthorized access to user accounts and sensitive data.

Yes, updating to a version of Open WebUI beyond 0.6.16 will address the vulnerability.

If an immediate update is not possible, implement a strong random key generation method 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