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

CVE-2026-0765: Open WebUI Command Injection RCE Flaw

CVE-2026-0765 is a command injection remote code execution vulnerability in Open WebUI's install_frontmatter_requirements function that enables authenticated attackers to execute arbitrary code on affected systems.

Updated: May 14, 2026

CVE-2026-0765 Overview

CVE-2026-0765 is a command injection vulnerability in Open WebUI that allows authenticated remote attackers to execute arbitrary code on affected installations. The flaw resides in the install_frontmatter_requirements function, which passes user-supplied input to a system call without proper validation. Successful exploitation grants code execution in the context of the Open WebUI service account. The issue was reported through the Zero Day Initiative as ZDI-CAN-28258 and tracked as advisory ZDI-26-031. It maps to [CWE-78] OS Command Injection.

Critical Impact

Authenticated attackers can achieve remote code execution on Open WebUI hosts, compromising the service account and any data or AI pipelines it can access.

Affected Products

  • Open WebUI version 0.6.32
  • Deployments exposing Open WebUI to authenticated users with function or pipeline upload privileges
  • Self-hosted Open WebUI instances integrating PIP-based requirement installation

Discovery Timeline

  • 2026-01-23 - CVE-2026-0765 published to NVD
  • 2026-01-30 - Last updated in NVD database

Technical Details for CVE-2026-0765

Vulnerability Analysis

Open WebUI supports user-authored functions and pipelines whose frontmatter declares Python package dependencies. The install_frontmatter_requirements routine extracts those declared requirements and invokes PIP to install them on the server. Because the routine concatenates user-controlled requirement strings into a shell-executed command without sanitization, attackers can append shell metacharacters or additional arguments that the operating system interprets as commands. The result is arbitrary command execution under the privileges of the Open WebUI process.

Attackers need valid credentials to reach the vulnerable code path, but Open WebUI deployments often grant function authoring rights to standard users. Once executed, the injected commands run with full filesystem and network access available to the service account, enabling credential theft, lateral movement, and tampering with AI model artifacts.

Root Cause

The root cause is missing input validation on requirement strings consumed by install_frontmatter_requirements. The function builds an OS command from attacker-controlled data and executes it through a shell, satisfying the conditions for [CWE-78] OS Command Injection. PIP requirement parsing alone does not sanitize shell metacharacters, so untrusted frontmatter content reaches the shell verbatim.

Attack Vector

The attack vector is network-based and requires authentication. An attacker submits a function, tool, or pipeline whose frontmatter requirements field contains crafted shell payloads. When Open WebUI processes the frontmatter and invokes the install routine, the injected payload executes on the host. No user interaction beyond the attacker's own authenticated request is required. Technical specifics are documented in the Zero Day Initiative Advisory ZDI-26-031.

Detection Methods for CVE-2026-0765

Indicators of Compromise

  • Unexpected child processes of the Open WebUI Python process, such as sh, bash, curl, wget, or python spawning outside normal PIP install workflows.
  • PIP install invocations containing shell metacharacters (;, &&, |, backticks, $()) in the requirement arguments.
  • New outbound connections from the Open WebUI host to attacker-controlled infrastructure shortly after function or pipeline uploads.
  • Newly created functions or pipelines whose frontmatter requirements fields contain non-package syntax.

Detection Strategies

  • Audit Open WebUI application logs for calls to install_frontmatter_requirements and correlate them with the submitting user and supplied requirement strings.
  • Monitor process lineage to flag shells or interpreters launched as descendants of the Open WebUI service, which deviates from baseline behavior.
  • Inspect stored functions, tools, and pipelines for anomalous characters in dependency declarations and quarantine suspicious entries.

Monitoring Recommendations

  • Forward Open WebUI host telemetry, including process execution and network connections, to a centralized analytics platform for behavioral review.
  • Alert on PIP executions that include shell operators or that resolve packages from unexpected indexes.
  • Track authentication events for accounts with function authoring privileges and review additions of new privileged users.

How to Mitigate CVE-2026-0765

Immediate Actions Required

  • Upgrade Open WebUI to a fixed release published after version 0.6.32 as soon as the vendor makes one available.
  • Restrict function, tool, and pipeline authoring permissions to a minimal set of trusted administrators.
  • Rotate credentials, API keys, and tokens accessible to the Open WebUI service account if exploitation is suspected.
  • Place Open WebUI behind authenticated reverse proxies and network controls that limit exposure to trusted users.

Patch Information

Review the Zero Day Initiative Advisory ZDI-26-031 for the latest remediation guidance from Open WebUI maintainers. Apply the vendor-supplied update that validates and sanitizes frontmatter requirement strings before passing them to PIP. Until a fix is installed, treat Open WebUI version 0.6.32 as vulnerable.

Workarounds

  • Disable user-authored functions, tools, and pipelines that trigger install_frontmatter_requirements until a patch is applied.
  • Run Open WebUI as a low-privilege, non-root user inside a hardened container with read-only filesystem mounts where feasible.
  • Apply egress filtering to prevent the Open WebUI host from initiating outbound connections to arbitrary internet destinations.
  • Enforce strong authentication and multi-factor verification for any account permitted to upload functions or pipelines.
bash
# Configuration example: run Open WebUI as a constrained, non-root user with egress restrictions
docker run -d \
  --name open-webui \
  --user 10001:10001 \
  --read-only \
  --cap-drop=ALL \
  --security-opt no-new-privileges \
  --network openwebui-restricted \
  -p 127.0.0.1:8080:8080 \
  ghcr.io/open-webui/open-webui:latest

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.58%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Zero Day Initiative Advisory ZDI-26-031
  • Related CVEs
  • CVE-2026-45672: Open WebUI RCE Vulnerability

  • 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