Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-34403

CVE-2026-34403: Nginx UI CSRF Vulnerability

CVE-2026-34403 is a CSRF vulnerability in Nginxui Nginx UI that enables Cross-Site WebSocket Hijacking attacks. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: April 23, 2026

CVE-2026-34403 Overview

CVE-2026-34403 is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability affecting Nginx UI, a web user interface for the Nginx web server. Prior to version 2.3.5, all WebSocket endpoints in nginx-ui use a gorilla/websocket Upgrader with CheckOrigin unconditionally returning true, allowing Cross-Site WebSocket Hijacking attacks. Combined with the fact that authentication tokens are stored in browser cookies (set via JavaScript without HttpOnly or explicit SameSite attributes), a malicious webpage can establish authenticated WebSocket connections to the nginx-ui instance when a logged-in administrator visits the attacker-controlled page.

Critical Impact

Authenticated administrators visiting malicious webpages can have their WebSocket connections hijacked, potentially allowing attackers to execute privileged operations on the Nginx UI instance through the victim's authenticated session.

Affected Products

  • Nginx UI versions prior to 2.3.5
  • nginxui nginx_ui (all versions before the patched release)

Discovery Timeline

  • 2026-04-20 - CVE CVE-2026-34403 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-34403

Vulnerability Analysis

This vulnerability stems from improper origin validation in WebSocket connection handling combined with insecure cookie attributes. The nginx-ui application utilizes the gorilla/websocket library for WebSocket communications but implements a custom CheckOrigin function that unconditionally returns true, effectively disabling the same-origin policy protection for WebSocket connections.

The attack surface is expanded by the manner in which authentication tokens are managed. These tokens are stored in browser cookies without the HttpOnly flag, making them accessible to client-side JavaScript, and lack explicit SameSite attributes, allowing them to be sent in cross-site requests by default in some browsers.

When an authenticated administrator visits a malicious webpage, that page can initiate a WebSocket connection to the vulnerable nginx-ui instance. Because the CheckOrigin check is bypassed and cookies are sent with the cross-origin request, the attacker's page establishes an authenticated WebSocket session using the victim's credentials.

Root Cause

The root cause is twofold: First, the gorilla/websocket Upgrader's CheckOrigin callback always returns true, bypassing standard origin validation that would normally prevent cross-site WebSocket connections. Second, authentication cookies lack proper security attributes (HttpOnly, SameSite=Strict or SameSite=Lax), enabling their automatic inclusion in cross-site requests and exposure to JavaScript.

This vulnerability is classified under CWE-1385 (Missing Origin Validation in WebSockets).

Attack Vector

The attack requires network access and user interaction. An attacker must host a malicious webpage and entice an authenticated nginx-ui administrator to visit it. The attack flow proceeds as follows:

  1. The attacker crafts a webpage containing JavaScript that initiates WebSocket connections to the target nginx-ui instance
  2. An authenticated nginx-ui administrator visits the attacker's webpage (via phishing, malvertising, or compromised sites)
  3. The malicious JavaScript establishes a WebSocket connection to the nginx-ui server
  4. Due to the permissive CheckOrigin function, the server accepts the connection regardless of origin
  5. The victim's authentication cookies are automatically included with the request
  6. The attacker's page now has an authenticated WebSocket session and can execute commands as the administrator

The vulnerability is exploitable when the attacker can lure victims to their controlled page while victims have active nginx-ui sessions. The exploitation mechanism leverages legitimate browser behavior for cookie handling combined with the application's failure to validate WebSocket origins properly.

Detection Methods for CVE-2026-34403

Indicators of Compromise

  • Unusual WebSocket connection patterns originating from unexpected referring domains
  • WebSocket connections established from external origins that do not match the legitimate nginx-ui domain
  • Anomalous administrative actions performed through WebSocket channels while administrators report no active sessions
  • Browser developer tools showing cross-origin WebSocket connections to nginx-ui endpoints

Detection Strategies

  • Monitor web server access logs for WebSocket upgrade requests with suspicious or mismatched Origin headers
  • Implement web application firewall rules to detect and alert on cross-origin WebSocket connection attempts
  • Review nginx-ui version information to identify instances running vulnerable versions prior to 2.3.5
  • Audit authentication events for sessions that correlate with WebSocket activity from unexpected sources

Monitoring Recommendations

  • Enable detailed logging for all WebSocket endpoint connections including Origin and Referer headers
  • Set up alerts for WebSocket connections where the Origin header differs from the configured nginx-ui domain
  • Monitor for multiple WebSocket connections from the same authenticated session originating from different IP addresses or geolocations
  • Track administrative configuration changes made through WebSocket channels and correlate with expected administrator activity

How to Mitigate CVE-2026-34403

Immediate Actions Required

  • Upgrade Nginx UI to version 2.3.5 or later immediately
  • Review recent administrative actions and WebSocket connection logs for any suspicious activity
  • Invalidate all existing authentication sessions and require administrators to re-authenticate
  • Restrict network access to nginx-ui administrative interfaces to trusted networks or VPN connections where possible

Patch Information

Version 2.3.5 of Nginx UI addresses this vulnerability by implementing proper origin validation for WebSocket connections. Organizations should upgrade to version 2.3.5 or later to remediate this issue. The patched release is available from the GitHub Release v2.3.5. Additional details about the vulnerability and fix can be found in the GitHub Security Advisory GHSA-78mf-482w-62qj.

Workarounds

  • Place nginx-ui behind a reverse proxy that enforces strict Origin header validation for WebSocket upgrade requests
  • Restrict access to nginx-ui to trusted internal networks only, preventing external attackers from targeting the application
  • Implement network segmentation to isolate nginx-ui management interfaces from general user browsing networks
  • Educate administrators to use dedicated browser profiles or sessions when managing nginx-ui to reduce cross-site attack surface
bash
# Example: Restrict nginx-ui access to trusted networks using firewall rules
# Block external access to nginx-ui port (example: 9000)
iptables -A INPUT -p tcp --dport 9000 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 9000 -j DROP

# Alternative: Configure nginx reverse proxy with origin validation
# Add to nginx configuration for nginx-ui proxy
# location /api/ws {
#     if ($http_origin !~* ^https?://(allowed-domain\.com)$) {
#         return 403;
#     }
#     proxy_pass http://localhost:9000;
#     proxy_http_version 1.1;
#     proxy_set_header Upgrade $http_upgrade;
#     proxy_set_header Connection "upgrade";
# }

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechNginx

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/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
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-1385
  • Technical References
  • GitHub Release v2.3.5
  • Vendor Resources
  • GitHub Security Advisory GHSA-78mf-482w-62qj
  • Related CVEs
  • CVE-2026-33031: Nginx UI Auth Bypass Vulnerability

  • CVE-2026-33029: Nginx UI Denial of Service Vulnerability

  • CVE-2026-33028: Nginx UI Race Condition Vulnerability

  • CVE-2026-33027: Nginx UI 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