CVE-2026-45315: Open WebUI stored XSS in audio transcription upload

CVE-2026-45315 · Severity: high · CVSS 8.7 · Published 2026-05-15

Open WebUI, a user interface for interacting with large language models, is vulnerable to a security flaw in its audio transcription feature. An attacker can upload a specially crafted file that, when opened by another user, allows the attacker to steal session tokens and take over their account, including administrative accounts. This could lead to unauthorized access to sensitive data or full control over the application.

Technologies: open-webui (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-45315 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-45315 being exploited in the wild.
How severe is CVE-2026-45315?
High severity, with a CVSS score of 8.7, published 15 May 2026.
Which products and versions are affected?
open-webui (PyPI) <= 0.9.2, ECOSYSTEM:introduced=0,fixed=0.9.3.
Is there a fix for CVE-2026-45315?
Yes. open-webui (PyPI): upgrade to 0.9.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-45315 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-45315?
Check whether you run open-webui (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • open-webui (PyPI): upgrade to 0.9.3 or later
    pip install "open-webui>=0.9.3"

Technical details

A stored cross-site scripting (XSS) vulnerability exists in Open WebUI's audio transcription upload endpoint (`/api/v1/audio/transcriptions`). The application extracts the file extension from the user-supplied filename without validation and uses it to determine the `Content-Type` when serving the file from the cache. An authenticated attacker can upload a polyglot file (e.g., WAV+HTML) with an `.html` extension. When a victim navigates to the cached file URL, the server responds with `text/html` and no `Content-Disposition: attachment` header, causing the browser to execute embedded JavaScript. This can be used to steal JWTs from `localStorage` or non-HttpOnly cookies, leading to account takeover. The vulnerability is patched in version 0.9.3.

Affected products

  • Open WebUI open-webui <= 0.9.2

Identifiers

  • CVE-2026-45315
  • GHSA-m8f9-9whg-f4xr
  • PYSEC-2026-2748

Timeline

  • 2026-05-09: disclosed
  • 2026-05-14: advisory
  • 2026-05-14: patched: Fixed in version 0.9.3

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.