The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-33332

CVE-2026-33332: Zauberzeug NiceGUI DoS Vulnerability

CVE-2026-33332 is a denial of service flaw in Zauberzeug NiceGUI that allows attackers to exhaust server memory through unvalidated media file streaming. This article covers technical details, affected versions, and patches.

Published: March 27, 2026

CVE-2026-33332 Overview

CVE-2026-33332 is a denial of service vulnerability affecting NiceGUI, a Python-based UI framework. Prior to version 3.9.0, the framework's app.add_media_file() and app.add_media_files() media routes accept a user-controlled query parameter that influences how files are read during streaming. This parameter is passed to the range-response implementation without proper validation, allowing an attacker to bypass chunked streaming and force the server to load entire files into memory at once. When exploited with large media files and concurrent requests, this vulnerability can lead to excessive memory consumption, degraded performance, or complete denial of service.

Critical Impact

Attackers can exhaust server memory by forcing large media files to be loaded entirely into memory, bypassing intended chunked streaming protections. This can cause service degradation or complete denial of service for applications built on NiceGUI.

Affected Products

  • Zauberzeug NiceGUI versions prior to 3.9.0

Discovery Timeline

  • 2026-03-24 - CVE-2026-33332 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33332

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) in NiceGUI's media streaming functionality. The app.add_media_file() and app.add_media_files() methods are designed to serve media content through chunked streaming, which efficiently handles large files by reading and transmitting them in smaller segments. However, a user-controlled query parameter that influences file reading behavior is passed directly to the range-response implementation without any validation.

An attacker can manipulate this parameter to bypass the chunked streaming mechanism entirely, forcing the server to read and load complete files into memory before responding. When targeting large media files or sending multiple concurrent requests, this behavior can rapidly exhaust available server memory, leading to resource exhaustion conditions.

Root Cause

The root cause is insufficient input validation on a query parameter that controls file streaming behavior. The vulnerable code path accepts user input that determines how media files are read during HTTP range responses but fails to validate or sanitize this input before processing. This allows attackers to specify values that circumvent the intended chunked streaming implementation, directly impacting memory allocation patterns on the server.

Attack Vector

This vulnerability is exploitable over the network without authentication. An attacker can craft malicious HTTP requests to media file endpoints exposed by NiceGUI applications. By manipulating the vulnerable query parameter, the attacker can force the server to load entire media files into memory rather than streaming them in chunks.

The attack becomes particularly effective when:

  • The application serves large media files (video, audio, or large images)
  • Multiple concurrent requests are sent to maximize memory consumption
  • The server has limited available memory resources

The exploitation does not require any user interaction and can be performed by any unauthenticated remote attacker with network access to the vulnerable application.

Detection Methods for CVE-2026-33332

Indicators of Compromise

  • Unusual memory consumption spikes on servers running NiceGUI applications
  • Multiple concurrent requests to media file endpoints with abnormal query parameters
  • Server performance degradation or out-of-memory errors correlating with media file requests
  • Application crashes or restarts due to memory exhaustion

Detection Strategies

  • Monitor server memory utilization for sudden spikes during media file requests
  • Implement logging for query parameters passed to app.add_media_file() and app.add_media_files() endpoints
  • Set up alerting for abnormal patterns of concurrent requests to media routes
  • Review web server access logs for repeated requests to media endpoints with unusual query strings

Monitoring Recommendations

  • Configure memory usage thresholds and alerts on servers hosting NiceGUI applications
  • Implement rate limiting on media file endpoints to prevent resource exhaustion attacks
  • Monitor for application restarts or crashes that may indicate successful exploitation
  • Track request patterns to media endpoints for anomalous behavior

How to Mitigate CVE-2026-33332

Immediate Actions Required

  • Upgrade NiceGUI to version 3.9.0 or later immediately
  • Review application deployments to identify all instances running vulnerable versions
  • Consider temporarily disabling or restricting access to media file endpoints if immediate patching is not possible
  • Implement network-level rate limiting on media file routes as a temporary measure

Patch Information

Zauberzeug has addressed this vulnerability in NiceGUI version 3.9.0. The fix includes proper validation of the query parameter that controls file streaming behavior. Organizations should update to this version or later to remediate the vulnerability.

For detailed information on the security fix, refer to the GitHub Security Advisory GHSA-w5g8-5849-vj76 and the patch commit. The updated release is available at NiceGUI v3.9.0.

Workarounds

  • Implement a reverse proxy or web application firewall to filter and validate query parameters on media routes
  • Apply network-level rate limiting to restrict concurrent requests to media file endpoints
  • Configure server memory limits and implement automatic restart policies to maintain availability during attack attempts
  • Restrict access to media file endpoints using authentication or IP-based access controls until patching is complete
bash
# Example: Configure rate limiting with nginx for media endpoints
# Add to nginx server block configuration
location ~ ^/media/ {
    limit_req zone=media_limit burst=10 nodelay;
    limit_req_zone $binary_remote_addr zone=media_limit:10m rate=5r/s;
    proxy_pass http://nicegui_backend;
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNicegui

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Release v3.9.0
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-w5g8-5849-vj76
  • Related CVEs
  • CVE-2026-21874: NiceGUI Redis Connection DOS Vulnerability

  • CVE-2026-39844: NiceGUI Path Traversal Vulnerability

  • CVE-2026-27156: Zauberzeug Nicegui XSS Vulnerability

  • CVE-2026-25732: NiceGUI Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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