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

CVE-2026-40701: NGINX Use-After-Free Vulnerability

CVE-2026-40701 is a use-after-free vulnerability in NGINX Plus and NGINX Open Source affecting the ngx_http_ssl_module when specific SSL directives are configured. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 17, 2026

CVE-2026-40701 Overview

CVE-2026-40701 is a heap use-after-free vulnerability [CWE-416] affecting NGINX Plus and NGINX Open Source. The flaw resides in the ngx_http_ssl_module module when specific TLS client verification options are enabled. Affected configurations include the ssl_verify_client directive set to on or optional, combined with ssl_ocsp set to on or leaf parameters configured with a resolver.

An unauthenticated remote attacker can send crafted requests with conditions beyond its control to trigger the heap use-after-free in the NGINX worker process. Successful exploitation may result in limited data modification or worker process restarts.

Critical Impact

An unauthenticated attacker on the network can trigger memory corruption in NGINX worker processes, leading to worker restarts and limited integrity impact on systems using client certificate verification with OCSP stapling.

Affected Products

  • NGINX Plus (versions still under Technical Support)
  • NGINX Open Source (versions still under Technical Support)
  • Configurations using ngx_http_ssl_module with ssl_verify_client on|optional and ssl_ocsp on or leaf resolver settings

Discovery Timeline

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

Technical Details for CVE-2026-40701

Vulnerability Analysis

The vulnerability is a heap use-after-free condition classified under [CWE-416]. It manifests in NGINX's HTTP SSL module during client certificate verification workflows that involve Online Certificate Status Protocol (OCSP) validation. The issue arises only when the server is configured to verify client certificates and perform OCSP checks against an external responder.

When an unauthenticated attacker submits requests under specific external conditions, the NGINX worker process accesses heap memory after it has been freed. This results in undefined behavior within the worker process. The impact is limited to integrity loss and availability degradation through worker process restarts, with no direct path to remote code execution disclosed in the advisory.

The EPSS score is 0.026%, indicating a low probability of observed exploitation in the near term. No public proof-of-concept has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Root Cause

The root cause is improper management of heap-allocated objects during the OCSP validation flow within ngx_http_ssl_module. A reference to a freed memory region is reused under attacker-influenced conditions, satisfying the classic use-after-free pattern.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker establishes a TLS connection to an NGINX instance configured with ssl_verify_client and ssl_ocsp and submits requests that trigger the vulnerable code path during certificate verification.

No verified exploitation code is available. Refer to the F5 Security Article K000161021 for vendor-provided technical details on the vulnerable code paths and mitigations.

Detection Methods for CVE-2026-40701

Indicators of Compromise

  • Unexpected NGINX worker process restarts logged in error.log with signal-related termination messages
  • Abnormal volumes of TLS client certificate verification attempts from unauthenticated sources
  • OCSP validation errors or timeouts correlated with worker process crashes

Detection Strategies

  • Monitor NGINX error.log for repeated worker crashes referencing SSL or OCSP code paths
  • Inspect TLS handshake telemetry for repeated client certificate submissions from a single source
  • Correlate process restart events with TLS endpoint traffic spikes to identify exploitation patterns

Monitoring Recommendations

  • Enable verbose NGINX error logging on TLS endpoints using ssl_verify_client and ssl_ocsp
  • Forward NGINX logs and process telemetry to a centralized SIEM for correlation
  • Alert on any NGINX worker segmentation fault or abnormal exit code in production

How to Mitigate CVE-2026-40701

Immediate Actions Required

  • Identify NGINX instances using ssl_verify_client on|optional with ssl_ocsp on or a configured resolver for leaf parameters
  • Apply F5-provided patches as documented in the vendor advisory once available for your branch
  • Restrict network exposure of affected TLS endpoints to trusted clients where feasible

Patch Information

F5 has published guidance in F5 Security Article K000161021. Apply the fixed NGINX Plus or NGINX Open Source release referenced in the advisory. Software versions that have reached End of Technical Support (EoTS) are not evaluated and should be upgraded.

Workarounds

  • Disable ssl_ocsp if OCSP validation is not strictly required by the deployment
  • Remove the resolver configuration for leaf parameters if OCSP responder lookup is not needed
  • Change ssl_verify_client to off on endpoints that do not require client certificate authentication
bash
# Example: disable OCSP stapling for client certs as a temporary workaround
server {
    listen 443 ssl;
    ssl_verify_client on;
    # ssl_ocsp on;          # Comment out until patch is applied
    # resolver 1.1.1.1;     # Remove resolver used for OCSP leaf lookups
    ssl_certificate     /etc/nginx/certs/server.crt;
    ssl_certificate_key /etc/nginx/certs/server.key;
}

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechNginx

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/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-416
  • Technical References
  • F5 Security Article K000161021
  • Related CVEs
  • CVE-2024-34161: F5 Nginx Use-After-Free Vulnerability

  • CVE-2026-8711: NGINX JavaScript Buffer Overflow Flaw

  • CVE-2026-44015: Nginxui Nginx UI SSRF Vulnerability

  • CVE-2026-42945: NGINX Buffer Overflow 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