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
    • 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-42223

CVE-2026-42223: Nginx UI Information Disclosure Flaw

CVE-2026-42223 is an information disclosure vulnerability in Nginx UI that exposes sensitive configuration data including secrets and tokens. This article covers the technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-42223 Overview

CVE-2026-42223 is an information disclosure vulnerability in Nginx UI, a web user interface for managing the Nginx web server. Versions prior to 2.3.8 expose sensitive configuration data through the GetSettings API handler. The handler at api/settings/settings.go:24-65 serializes all settings structs to JSON and returns them to authenticated users. Fields tagged with protected:"true" are only enforced during writes, not reads. This exposes more than 40 protected fields to any authenticated user, including secrets used for authentication, cluster trust, and OAuth integration. The maintainers patched the issue in version 2.3.8.

Critical Impact

Authenticated users can retrieve JwtSecret, NodeSecret, OIDC ClientSecret, and IP whitelist configuration, enabling token forgery, cluster node impersonation, and OAuth account takeover.

Affected Products

  • Nginx UI versions prior to 2.3.8
  • nginxui:nginx_ui (all releases before the fix)
  • Deployments using OIDC, cluster nodes, or JWT-based authentication are most exposed

Discovery Timeline

  • 2026-05-04 - CVE-2026-42223 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-42223

Vulnerability Analysis

The flaw is an Exposure of Sensitive Information ([CWE-200]) in the Nginx UI settings API. The GetSettings handler at api/settings/settings.go:24-65 marshals the full settings object to JSON and returns it in the API response. Developers added a protected:"true" struct tag to mark fields that should never leave the server. However, the protection logic lives in ProtectedFill, which is invoked only by SaveSettings during writes. On read paths, the tag is ignored and every field is serialized.

An authenticated user with access to the settings endpoint receives more than 40 sensitive values in the response body. These include the JwtSecret used to sign authentication tokens, the NodeSecret used for inter-node trust in cluster mode, the OIDC ClientSecret used for upstream OAuth, and the IP whitelist used to restrict administrative access.

Root Cause

The protection model assumes a single enforcement point. Read serialization bypasses that point because the JSON encoder honors only standard json tags, not the custom protected tag. The result is asymmetric enforcement: writes are filtered, reads are not.

Attack Vector

An attacker needs valid authenticated access to the Nginx UI API. A low-privilege user, a stolen session cookie, or a compromised operator account is sufficient. The attacker issues a single request to the settings API and receives all secrets in the JSON response. With the JwtSecret they can forge administrative JWTs. With the NodeSecret they can impersonate a cluster node. With the OIDC ClientSecret they can pivot to identity provider abuse and account takeover.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-q4w7-56hr-83rm for maintainer details.

Detection Methods for CVE-2026-42223

Indicators of Compromise

  • Authenticated GET requests to the Nginx UI settings API endpoint from unexpected user accounts or IP addresses
  • Outbound responses from Nginx UI containing field names such as JwtSecret, NodeSecret, or ClientSecret
  • New JWTs issued to administrative accounts that were not produced by the legitimate login flow
  • Cluster join or sync events from hosts not present in the inventory

Detection Strategies

  • Inspect Nginx UI access logs for calls to the settings retrieval endpoint and correlate with the requesting principal
  • Compare current Nginx UI version against 2.3.8 across all managed hosts to identify unpatched instances
  • Monitor reverse proxy or WAF logs for response bodies that match the protected field signatures

Monitoring Recommendations

  • Alert on any non-administrator account that queries the settings API
  • Track changes to JWT issuance volume and source for the Nginx UI service
  • Audit OIDC provider logs for unexpected use of the Nginx UI client credentials

How to Mitigate CVE-2026-42223

Immediate Actions Required

  • Upgrade Nginx UI to version 2.3.8 or later on all hosts
  • Rotate JwtSecret, NodeSecret, and OIDC ClientSecret after upgrade, assuming prior exposure
  • Invalidate all existing JWT sessions and require re-authentication
  • Review the IP whitelist and cluster node membership for unauthorized changes

Patch Information

The fix is included in Nginx UI v2.3.8. Refer to the GitHub Security Advisory GHSA-q4w7-56hr-83rm for the maintainer description and remediation guidance.

Workarounds

  • Restrict access to the Nginx UI to a small set of trusted administrators using network controls and authenticated reverse proxy rules
  • Place the Nginx UI behind a VPN or bastion until the patch is applied
  • Reduce the number of accounts authorized to call administrative APIs to minimize the population that can read settings
bash
# Verify installed version and upgrade if below 2.3.8
nginx-ui -v
# Example container upgrade
docker pull uozi/nginx-ui:2.3.8
docker stop nginx-ui && docker rm nginx-ui
docker run -d --name nginx-ui uozi/nginx-ui:2.3.8

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechNginx

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub NGINX-UI Release v2.3.8
  • Vendor Resources
  • GitHub Security Advisory GHSA-q4w7-56hr-83rm
  • Related CVEs
  • CVE-2026-42220: Nginx UI Information Disclosure Flaw

  • CVE-2026-27944: Nginx UI Information Disclosure Issue

  • CVE-2026-1642: NGINX Information Disclosure Vulnerability

  • CVE-2025-53859: F5 Nginx Plus Information Disclosure Flaw
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