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-45402

CVE-2026-45402: Open WebUI Auth Bypass Vulnerability

CVE-2026-45402 is an authentication bypass flaw in Open WebUI that allows authenticated users to access and exfiltrate private files from other users. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-45402 Overview

CVE-2026-45402 is an Insecure Direct Object Reference (IDOR) vulnerability [CWE-639] in Open WebUI, a self-hosted artificial intelligence platform. Versions prior to 0.9.5 allow any authenticated user to attach arbitrary files to resources they control by supplying another user's file_id. The affected endpoints do not verify that the caller owns or has access to the referenced file. Through the downstream Retrieval-Augmented Generation (RAG) and file-content paths, an attacker can exfiltrate any other user's private file given knowledge of its UUID. The knowledge-base path additionally permits overwriting the target file.

Critical Impact

Authenticated users can read and overwrite other users' private files by referencing a known file UUID, leading to cross-tenant data exposure and tampering.

Affected Products

  • Open WebUI versions prior to 0.9.5
  • backend/open_webui/routers/folders.py (POST /api/v1/folders/{id}/update)
  • backend/open_webui/routers/knowledge.py (add_file_to_knowledge_by_id, add_files_to_knowledge_by_id_batch)

Discovery Timeline

  • 2026-05-15 - CVE-2026-45402 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2026-45402

Vulnerability Analysis

The flaw is an Insecure Direct Object Reference affecting multiple file-attachment endpoints in Open WebUI. When a client submits a request that includes a file_id, the server attaches that file to a resource the caller controls — a folder's knowledge set or a knowledge base — without performing an ownership or authorization check against the file itself. Once attached, the file's content becomes reachable through the standard RAG and file-content retrieval flows available to the caller. Because UUIDs are the sole reference, possession of a target file's UUID is sufficient for cross-account access. On the knowledge-base path, the attacker can also push content that overwrites the original file, breaking integrity in addition to confidentiality.

Root Cause

The server-side handlers in folders.py and knowledge.py trust the user-supplied file_id parameter and skip authorization checks that confirm the caller owns or has been granted access to the referenced file. The access decision is made at the parent resource level, not at the file object level.

Attack Vector

An authenticated attacker sends a crafted request to POST /api/v1/folders/{id}/update, add_file_to_knowledge_by_id, or add_files_to_knowledge_by_id_batch, supplying the UUID of a victim's file. The attacker then reads the file via the RAG or file-content path attached to their own folder or knowledge base. On the knowledge-base endpoints, the same flow can be used to overwrite the victim's file. Refer to the GitHub Security Advisory GHSA-r472-mw7m-967f for technical details.

Detection Methods for CVE-2026-45402

Indicators of Compromise

  • Requests to /api/v1/folders/{id}/update containing file_id values that do not appear in the requesting user's prior upload or access history.
  • Calls to add_file_to_knowledge_by_id or add_files_to_knowledge_by_id_batch referencing file UUIDs owned by other users.
  • Unexpected modifications to knowledge-base file contents not preceded by an upload event from the file's owner.

Detection Strategies

  • Correlate file_id parameters in folder and knowledge endpoint requests against the file ownership table to identify cross-user references.
  • Alert on knowledge-base file content hashes changing without a matching upload event from the original owner.
  • Baseline per-user file-access patterns and flag sudden access to files outside the user's historical scope.

Monitoring Recommendations

  • Enable verbose request logging on the Open WebUI backend, capturing authenticated user identity, endpoint, and file_id parameters.
  • Forward application logs to a centralized analytics platform and build retention for at least 90 days to support investigation.
  • Monitor for enumeration patterns against UUID-bearing endpoints, including bursts of failed or repeated file_id references.

How to Mitigate CVE-2026-45402

Immediate Actions Required

  • Upgrade Open WebUI to version 0.9.5 or later, which contains the authorization fix.
  • Audit recent requests to the affected endpoints for file_id values referenced by users who do not own them.
  • Rotate or review the contents of any knowledge-base files that may have been overwritten while a vulnerable version was running.

Patch Information

The vulnerability is fixed in Open WebUI 0.9.5. The patched handlers in folders.py and knowledge.py validate that the caller owns or has been explicitly granted access to the referenced file before attaching it. See the Open WebUI Security Advisory GHSA-r472-mw7m-967f for the official fix details.

Workarounds

  • Restrict access to the Open WebUI instance to trusted users until the upgrade to 0.9.5 is complete.
  • Place the affected endpoints behind a reverse proxy or API gateway that enforces per-user authorization on file_id parameters.
  • Temporarily disable the folder update and knowledge-base file-attachment features if multi-tenant exposure is a concern.
bash
# Configuration example: upgrade Open WebUI via pip
pip install --upgrade "open-webui>=0.9.5"

# Or, for Docker deployments, pull the patched image and redeploy
docker pull ghcr.io/open-webui/open-webui:0.9.5
docker stop open-webui && docker rm open-webui
docker run -d --name open-webui -p 3000:8080 \
  -v open-webui:/app/backend/data \
  ghcr.io/open-webui/open-webui:0.9.5

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenwebui

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44569: Open WebUI Auth Bypass Vulnerability

  • CVE-2026-45386: Open WebUI Auth Bypass Vulnerability

  • CVE-2026-45365: Open WebUI Auth Bypass Vulnerability

  • CVE-2026-45349: Open WebUI Auth Bypass 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