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

CVE-2026-42946: NGINX Information Disclosure Vulnerability

CVE-2026-42946 is an information disclosure vulnerability in NGINX's ngx_http_scgi_module and ngx_http_uwsgi_module that allows MITM attackers to read worker process memory. This article covers technical details, impact, and mitigation.

Published: May 17, 2026

CVE-2026-42946 Overview

CVE-2026-42946 affects the ngx_http_scgi_module and ngx_http_uwsgi_module modules in NGINX. The flaw permits excessive memory allocation or an over-read of process memory when handling responses from upstream SCGI or uWSGI servers. An unauthenticated attacker with man-in-the-middle (MITM) positioning between NGINX and the upstream service can manipulate responses to read memory from the NGINX worker process or force a worker restart. The issue is tracked under [CWE-789: Memory Allocation with Excessive Size Value]. F5 published advisory K000161027 describing affected configurations using scgi_pass or uwsgi_pass directives.

Critical Impact

An attacker controlling upstream SCGI or uWSGI responses can read NGINX worker process memory or trigger denial of service through worker restart.

Affected Products

  • NGINX with ngx_http_scgi_module enabled and scgi_pass configured
  • NGINX with ngx_http_uwsgi_module enabled and uwsgi_pass configured
  • F5 NGINX product lines using the affected modules (refer to vendor advisory for specific versions)

Discovery Timeline

  • 2026-05-13 - CVE-2026-42946 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42946

Vulnerability Analysis

The vulnerability resides in how the ngx_http_scgi_module and ngx_http_uwsgi_module parse responses returned by upstream application servers. Both modules implement custom binary protocols where the upstream server declares the size or structure of header and body data. Improper validation of these size values allows a hostile upstream to influence NGINX memory operations.

When NGINX trusts attacker-controlled length fields, it can allocate buffers far larger than legitimate responses or read past valid buffer boundaries during parsing. The result is either memory disclosure from the worker process address space or an abnormal worker termination handled by the master process via restart.

The attack is classified as [CWE-789] because the root condition is allocation driven by an untrusted size value. Exploitation requires the attacker to occupy a network position capable of substituting upstream responses, such as a compromised internal network segment or a hijacked upstream connection.

Root Cause

The modules fail to enforce strict bounds on length fields contained in SCGI and uWSGI protocol responses. Length values supplied by the upstream are used directly in memory allocation or buffer read paths without sufficient sanity checks against the actual response payload.

Attack Vector

Exploitation requires a network-adjacent attacker capable of intercepting or impersonating the upstream SCGI or uWSGI service. The attacker returns a crafted protocol response declaring oversized or malformed length fields. NGINX then either over-allocates memory, reads beyond allocated buffers exposing worker memory contents in subsequent responses, or crashes the worker. No authentication or user interaction is required against NGINX itself.

No public proof-of-concept is available. See the F5 Knowledge Article K000161027 for vendor-supplied technical detail.

Detection Methods for CVE-2026-42946

Indicators of Compromise

  • Unexpected NGINX worker process restarts recorded in error.log with signals such as SIGSEGV or messages referencing worker process exited
  • Abnormally large memory allocations by NGINX worker processes correlated with upstream SCGI or uWSGI traffic
  • Malformed SCGI or uWSGI protocol frames captured between NGINX and upstream application servers

Detection Strategies

  • Inspect NGINX error.log for repeated worker termination and restart cycles tied to specific upstream backends
  • Monitor for response payloads from upstream servers that contain length fields inconsistent with the actual byte count delivered
  • Baseline NGINX worker memory consumption and alert on sudden growth correlated with scgi_pass or uwsgi_pass routes

Monitoring Recommendations

  • Enable verbose logging on reverse proxy routes that use scgi_pass or uwsgi_pass and forward logs to a centralized analytics platform
  • Capture and inspect upstream traffic on internal segments where NGINX communicates with SCGI or uWSGI workers
  • Alert on unauthorized devices appearing on the network path between NGINX and upstream application servers

How to Mitigate CVE-2026-42946

Immediate Actions Required

  • Apply the security update referenced in F5 Knowledge Article K000161027 to all NGINX instances using scgi_pass or uwsgi_pass
  • Inventory NGINX configurations to identify every virtual host that relies on the SCGI or uWSGI modules
  • Restrict network paths between NGINX and upstream application servers to trusted segments only

Patch Information

F5 has published vendor guidance in K000161027. Software versions that have reached End of Technical Support are not evaluated by the vendor and should be upgraded to a supported release containing the fix. Administrators should consult the advisory for the specific patched build numbers applicable to their NGINX Plus or NGINX OSS deployment.

Workarounds

  • Disable the ngx_http_scgi_module or ngx_http_uwsgi_module if neither directive is required in production
  • Place NGINX and upstream SCGI or uWSGI workers on the same host using Unix domain sockets to eliminate network-based MITM exposure
  • Enforce mutual TLS or IPsec on connections between NGINX and remote upstream servers to prevent response tampering
bash
# Example: restrict upstream to a local Unix socket to remove MITM exposure
location /app/ {
    uwsgi_pass unix:/var/run/uwsgi/app.sock;
    include    uwsgi_params;
}

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

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/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-789
  • Technical References
  • F5 Knowledge Article K000161027
  • Related CVEs
  • CVE-2026-42934: NGINX Information Disclosure Vulnerability

  • CVE-2026-42220: Nginx UI Information Disclosure Flaw

  • CVE-2026-42223: Nginx UI Information Disclosure Flaw

  • CVE-2026-27944: Nginx UI Information Disclosure Issue
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