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

CVE-2026-8711: NGINX JavaScript Buffer Overflow Flaw

CVE-2026-8711 is a heap buffer overflow vulnerability in NGINX JavaScript that allows attackers to crash worker processes or execute code when ASLR is disabled. This article covers technical details, impact, and mitigation.

Published: May 21, 2026

CVE-2026-8711 Overview

CVE-2026-8711 is a heap buffer overflow vulnerability [CWE-122] in NGINX JavaScript (njs) affecting deployments that configure the js_fetch_proxy directive with client-controlled NGINX variables. When configurations reference variables such as $http_*, $arg_*, or $cookie_* alongside a location invoking ngx.fetch(), unauthenticated attackers can trigger memory corruption by sending crafted HTTP requests. The flaw causes the NGINX worker process to crash and restart. On systems with Address Space Layout Randomization (ASLR) disabled, the vulnerability enables remote code execution. F5 has documented the issue in security article K000161307.

Critical Impact

Unauthenticated network attackers can corrupt heap memory in NGINX worker processes, causing denial of service and potential remote code execution on hosts where ASLR is disabled.

Affected Products

  • NGINX with NGINX JavaScript (njs) module
  • Deployments using the js_fetch_proxy directive with client-controlled variables
  • Configurations invoking ngx.fetch() from NGINX JavaScript

Discovery Timeline

  • 2026-05-19 - CVE CVE-2026-8711 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-8711

Vulnerability Analysis

The vulnerability resides in the NGINX JavaScript (njs) module, specifically in the handling of the js_fetch_proxy directive. The directive allows administrators to proxy subrequests issued by ngx.fetch() through an upstream endpoint defined by NGINX variables. When the directive expression incorporates client-controlled variables, attacker input flows into a memory operation without adequate bounds enforcement.

The overflow occurs in heap-allocated buffers within the worker process. A successful trigger corrupts adjacent heap structures, leading to a worker crash and automatic restart by the NGINX master process. Repeated exploitation produces a sustained denial of service against the affected listener.

On hosts where ASLR is disabled, predictable memory layouts allow attackers to overwrite controllable structures and pivot to arbitrary code execution within the worker context. NGINX worker processes typically handle TLS termination, authentication, and traffic forwarding, so code execution at this layer compromises confidentiality and integrity for all proxied traffic.

Root Cause

The root cause is improper bounds checking when concatenating or copying attacker-controlled HTTP header, query argument, or cookie values into a heap buffer used by the js_fetch_proxy resolution path. The CWE-122 classification confirms the defect as a classic heap buffer overflow.

Attack Vector

The attack vector is network-based and requires no authentication. The attacker sends HTTP requests containing crafted headers, query parameters, or cookies that the NGINX configuration substitutes into the js_fetch_proxy value. When the configured location invokes ngx.fetch(), the malformed input reaches the vulnerable code path and overflows the heap buffer. Refer to the F5 Security Article K000161307 for vendor-confirmed exploitation conditions.

No verified proof-of-concept code is publicly available. The vulnerability is described in prose based on the vendor advisory.

Detection Methods for CVE-2026-8711

Indicators of Compromise

  • Unexpected NGINX worker process crashes or SIGSEGV signals recorded in system logs.
  • Worker restart messages in error.log referencing worker process exit codes such as 11 or 139.
  • Inbound HTTP requests with unusually long or malformed Cookie, Authorization, or custom header values targeting locations that invoke ngx.fetch().
  • Spikes in 502 or 504 responses from locations backed by the js_fetch_proxy directive.

Detection Strategies

  • Inventory NGINX configurations for the js_fetch_proxy directive and flag any reference to $http_*, $arg_*, or $cookie_* variables.
  • Monitor error.log for repeated signal 11 (SIGSEGV) received entries correlated with worker restarts.
  • Inspect HTTP access logs for client requests immediately preceding worker crashes to identify malicious payload patterns.

Monitoring Recommendations

  • Forward NGINX error.log and access.log to a centralized log platform with alerting on worker crash patterns.
  • Enable core dump collection on NGINX hosts to support forensic analysis after suspected exploitation attempts.
  • Track request volume and latency for any location implementing ngx.fetch() to identify abuse early.

How to Mitigate CVE-2026-8711

Immediate Actions Required

  • Apply the fixed NGINX JavaScript module version once published by F5 per article K000161307.
  • Audit all NGINX configurations and remove client-controlled variables from js_fetch_proxy directives until patched.
  • Confirm that ASLR is enabled on every host running NGINX to prevent escalation from denial of service to code execution.

Patch Information

F5 published vendor guidance in security article K000161307. Software versions that have reached End of Technical Support (EoTS) are not evaluated and should be upgraded to a supported release containing the fix.

Workarounds

  • Replace client-controlled variables in js_fetch_proxy with static values or server-side computed variables.
  • Restrict access to locations invoking ngx.fetch() through authentication, allowlists, or upstream Web Application Firewall (WAF) rules.
  • Validate and length-limit headers, query arguments, and cookies referenced by njs handlers before they reach the fetch path.
bash
# Verify ASLR is enabled on Linux NGINX hosts
cat /proc/sys/kernel/randomize_va_space
# Expected output: 2 (full randomization)

# Identify NGINX configurations using the vulnerable pattern
grep -rn "js_fetch_proxy" /etc/nginx/
grep -rn "ngx.fetch" /etc/nginx/

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechNginx

  • SeverityCRITICAL

  • CVSS Score9.2

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/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
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • F5 Security Article K000161307
  • Related CVEs
  • CVE-2026-42945: NGINX Buffer Overflow Vulnerability

  • CVE-2026-27654: F5 Nginx Plus Buffer Overflow Vulnerability

  • CVE-2021-46461: Nginx Njs Buffer Overflow Vulnerability

  • CVE-2021-23017: F5 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