A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45315

CVE-2026-45315: Open WebUI XSS Vulnerability

CVE-2026-45315 is a cross-site scripting flaw in Open WebUI that allows attackers to execute malicious scripts through crafted audio files. This post explains its impact, affected versions, and mitigation steps.

Published: May 21, 2026

CVE-2026-45315 Overview

CVE-2026-45315 is a stored cross-site scripting (XSS) vulnerability in Open WebUI, a self-hosted artificial intelligence platform designed to run entirely offline. Versions prior to 0.9.3 derive the file extension from the user-supplied filename when handling audio transcription uploads. The /cache/{path} route then serves these files through FileResponse, setting Content-Type based on the on-disk extension and omitting any Content-Disposition header. An authenticated user with the default-enabled chat.stt permission can upload a polyglot WAV+HTML file and trick another user into opening it, executing attacker-controlled script in the Open WebUI origin [CWE-79].

Critical Impact

A verified user can hijack other users' sessions, steal API keys, and execute actions in the Open WebUI origin by delivering a malicious URL.

Affected Products

  • Open WebUI versions prior to 0.9.3
  • Deployments with the default-on chat.stt (speech-to-text) permission
  • Self-hosted Open WebUI instances exposed to multiple verified users

Discovery Timeline

  • 2026-05-15 - CVE-2026-45315 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-45315

Vulnerability Analysis

The vulnerability resides in the audio transcription upload endpoint in Open WebUI. The endpoint trusts the file extension from the user-supplied filename and writes the upload to CACHE_DIR/audio/transcriptions/. The /cache/{path} route returns the stored file using FastAPI's FileResponse, which derives Content-Type from the on-disk file extension. Because no Content-Disposition: attachment header is emitted, browsers render the response inline.

An attacker with the default chat.stt permission uploads a polyglot file that is simultaneously a valid WAV audio file and valid HTML. By naming the file pwn.html, the server stores it with an .html extension and later serves it as text/html. When a victim opens the resulting URL, embedded <script> content executes in the Open WebUI origin, granting access to session cookies, local storage tokens, and any in-app API.

Root Cause

The root cause is improper neutralization of input during web page generation [CWE-79], combined with insufficient validation of upload metadata. The application trusts the client-supplied filename extension to determine storage naming and downstream MIME handling. No allowlist constrains accepted extensions to audio formats, and no Content-Disposition header forces download semantics.

Attack Vector

Exploitation requires a verified account with the default-enabled speech-to-text permission and user interaction from the victim. The attacker uploads a crafted polyglot file through the transcription endpoint, then shares the resulting /cache/...html URL with another user via chat, email, or shared workspace. Opening the link renders attacker JavaScript in the Open WebUI origin, enabling session theft and arbitrary actions on behalf of the victim.

No verified proof-of-concept code is published. See the GitHub Security Advisory GHSA-m8f9-9whg-f4xr for vendor details.

Detection Methods for CVE-2026-45315

Indicators of Compromise

  • Files stored under CACHE_DIR/audio/transcriptions/ with non-audio extensions such as .html, .htm, .svg, or .xml
  • HTTP requests to /cache/audio/transcriptions/*.html returning Content-Type: text/html
  • Audio transcription uploads where the filename extension does not match the audio MIME type

Detection Strategies

  • Inspect Open WebUI access logs for GET /cache/audio/transcriptions/ responses with text/html, image/svg+xml, or scriptable content types
  • Audit the transcription cache directory for files whose magic bytes do not match their extension
  • Alert on outbound requests from browser sessions to attacker-controlled hosts immediately after a user opens a /cache/ URL

Monitoring Recommendations

  • Forward Open WebUI application and reverse-proxy logs to a centralized SIEM for query and correlation
  • Track creation of files under CACHE_DIR/audio/transcriptions/ and flag any extension outside an audio allowlist
  • Monitor session token usage from unexpected user agents or geolocations following cache URL access

How to Mitigate CVE-2026-45315

Immediate Actions Required

  • Upgrade Open WebUI to version 0.9.3 or later, which contains the vendor fix
  • Revoke the default chat.stt permission for untrusted user roles until upgrade is complete
  • Purge existing contents of CACHE_DIR/audio/transcriptions/ to remove any planted polyglot files
  • Rotate session secrets and force re-authentication to invalidate potentially stolen sessions

Patch Information

The vendor fixed CVE-2026-45315 in Open WebUI 0.9.3. Upgrade guidance and the full advisory are available at the Open WebUI Security Advisory GHSA-m8f9-9whg-f4xr.

Workarounds

  • Restrict the chat.stt permission so only trusted users can submit transcription uploads
  • Place a reverse proxy in front of Open WebUI that forces Content-Disposition: attachment and a restrictive Content-Security-Policy on /cache/ responses
  • Configure the reverse proxy to override Content-Type to application/octet-stream for files served from /cache/audio/transcriptions/
  • Limit Open WebUI access to authenticated users on trusted networks while the patch is applied
bash
# Example nginx override forcing safe headers on Open WebUI cache responses
location /cache/ {
    proxy_pass http://open_webui_upstream;
    proxy_hide_header Content-Type;
    proxy_hide_header Content-Disposition;
    add_header Content-Type "application/octet-stream" always;
    add_header Content-Disposition "attachment" always;
    add_header Content-Security-Policy "default-src 'none'; sandbox" always;
    add_header X-Content-Type-Options "nosniff" always;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpenwebui

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44549: Open WebUI XSS Vulnerability

  • CVE-2026-45303: Open WebUI XSS Vulnerability

  • CVE-2026-44721: Open WebUI Stored XSS Vulnerability

  • CVE-2026-44568: Open WebUI XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English