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

CVE-2026-45672: Open WebUI RCE Vulnerability

CVE-2026-45672 is a remote code execution flaw in Open WebUI that allows verified users to execute arbitrary Python code even when code execution is disabled. This post covers technical details, affected versions, and fixes.

Published: May 21, 2026

CVE-2026-45672 Overview

CVE-2026-45672 is an authorization flaw in Open WebUI, a self-hosted artificial intelligence platform designed to operate entirely offline. The /api/v1/utils/code/execute endpoint executes arbitrary Python code through Jupyter for any verified user. The endpoint runs even when administrators set ENABLE_CODE_EXECUTION=false. The feature gate is declared in configuration but never enforced at the API layer. Any authenticated user can therefore reach a Python execution backend the administrator believed was disabled. The flaw is fixed in Open Webui version 0.8.12.

Critical Impact

Authenticated low-privilege users can execute arbitrary Python code on the Jupyter backend regardless of the ENABLE_CODE_EXECUTION setting, leading to full compromise of confidentiality, integrity, and availability.

Affected Products

  • Open WebUI versions prior to 0.8.12
  • Deployments using the /api/v1/utils/code/execute endpoint
  • Self-hosted Open WebUI instances integrating with Jupyter for code execution

Discovery Timeline

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

Technical Details for CVE-2026-45672

Vulnerability Analysis

The vulnerability stems from a missing authorization check on the /api/v1/utils/code/execute endpoint. Open WebUI exposes a code execution feature that proxies Python payloads to a Jupyter backend. Administrators can disable this feature globally by setting the environment variable ENABLE_CODE_EXECUTION=false. The configuration flag is read elsewhere in the application but is not consulted by the API route handler. As a result, the endpoint accepts and processes code submissions from any verified user account. The flaw is classified under [CWE-863] Incorrect Authorization.

Exploitation requires only a valid user session. The attacker sends a POST request containing a Python payload to the execution endpoint. The Jupyter backend evaluates the code and returns the output. An attacker can read files, exfiltrate secrets, pivot into internal networks, or deploy persistence mechanisms on the host running Jupyter.

Root Cause

The root cause is a server-side trust boundary failure. The feature gate ENABLE_CODE_EXECUTION controls the user interface but not the route. The API handler does not re-check the configuration before forwarding code to Jupyter. This produces a divergence between the documented security posture and runtime behavior.

Attack Vector

The attack vector is network-based and requires low privileges. Any account that has completed verification can issue the request. No user interaction is needed beyond the attacker's own session. Because Jupyter executes Python with the privileges of the backend process, the attacker inherits that level of access to the host environment.

No verified public exploit code is available. See the GitHub Security Advisory for technical details.

Detection Methods for CVE-2026-45672

Indicators of Compromise

  • HTTP POST requests to /api/v1/utils/code/execute originating from non-administrative user accounts.
  • Jupyter kernel processes spawning unexpected child processes such as shells, curl, or wget.
  • Outbound network connections from the Jupyter backend host to unfamiliar destinations.
  • Filesystem reads of sensitive paths like /etc/passwd, .env files, or cloud metadata endpoints from the Jupyter context.

Detection Strategies

  • Review Open WebUI access logs for /api/v1/utils/code/execute requests when ENABLE_CODE_EXECUTION is set to false. Any hit indicates exploitation.
  • Correlate Jupyter kernel execution events with the originating user identity in Open WebUI session logs.
  • Alert on Python interpreter processes invoking subprocess APIs or initiating outbound sockets on the Jupyter host.

Monitoring Recommendations

  • Enable verbose request logging on the Open WebUI reverse proxy and forward logs to a centralized analytics platform.
  • Monitor Jupyter container or service runtime telemetry for anomalous process trees and network egress.
  • Track authentication events for verified users to identify accounts performing unusual API activity.

How to Mitigate CVE-2026-45672

Immediate Actions Required

  • Upgrade Open WebUI to version 0.8.12 or later without delay.
  • Audit existing user accounts and revoke verification for accounts that are not required.
  • Inspect Jupyter backend hosts for signs of unauthorized code execution since the deployment of any vulnerable version.
  • Rotate credentials, API keys, and tokens accessible from the Jupyter execution environment.

Patch Information

The maintainers fixed the vulnerability in Open WebUI 0.8.12 by enforcing the ENABLE_CODE_EXECUTION configuration at the API endpoint. Refer to the GitHub Security Advisory GHSA-482j-2pq6-q5w4 for full release information.

Workarounds

  • Block requests to /api/v1/utils/code/execute at an upstream reverse proxy or web application firewall until the patch is applied.
  • Isolate the Jupyter backend on a network segment with strict egress filtering to limit lateral movement.
  • Restrict Open WebUI account creation and verification flows to trusted users only.
bash
# Example nginx rule to block the vulnerable endpoint until patched
location = /api/v1/utils/code/execute {
    return 403;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenwebui

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-0765: Open WebUI Command Injection RCE Flaw

  • CVE-2025-64496: Open WebUI Code Injection RCE Vulnerability

  • CVE-2026-44566: Open WebUI Path Traversal Vulnerability

  • CVE-2026-45315: 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