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

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

CVE-2026-27654 is a buffer overflow vulnerability in F5 Nginx Plus that allows attackers to terminate worker processes or modify file names outside the document root. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-27654 Overview

CVE-2026-27654 is a heap-based buffer overflow vulnerability affecting the ngx_http_dav_module module in NGINX Open Source and NGINX Plus. This vulnerability allows remote attackers to trigger a buffer overflow in the NGINX worker process, potentially resulting in worker process termination (denial of service) or unauthorized modification of source and destination file names outside the document root.

The vulnerability is exploitable when specific configuration conditions are met: the NGINX configuration must use the DAV module's MOVE or COPY methods in combination with prefix location (non-regular expression location configuration) and alias directives. While the integrity impact is somewhat constrained due to the NGINX worker process operating with low privileges, successful exploitation can still lead to service disruption and potential path traversal attacks.

Critical Impact

Remote attackers can crash NGINX worker processes causing denial of service or manipulate file operations to access files outside the intended document root, potentially leading to data integrity issues.

Affected Products

  • F5 NGINX Open Source (multiple versions)
  • F5 NGINX Plus R32 (P1 through P4)
  • F5 NGINX Plus R33 (base and P1 through P3)
  • F5 NGINX Plus R34 (base and P1 through P2)
  • F5 NGINX Plus R35 (base and P1)
  • F5 NGINX Plus R36 (base and P1 through P2)

Discovery Timeline

  • 2026-03-24 - CVE-2026-27654 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-27654

Vulnerability Analysis

This vulnerability is classified as CWE-122 (Heap-based Buffer Overflow). The flaw exists within the ngx_http_dav_module module, which provides WebDAV protocol support for NGINX servers. When processing MOVE or COPY requests, the module fails to properly validate buffer boundaries under specific configuration scenarios.

The vulnerability requires a particular configuration pattern to be exploitable: the use of prefix locations (as opposed to regular expression-based location blocks) combined with alias directives. When these conditions are met, an attacker can craft malicious WebDAV requests that cause the worker process to write beyond allocated buffer boundaries.

The impact manifests in two primary ways: first, the buffer overflow can cause the NGINX worker process to crash, resulting in service disruption; second, the overflow can allow manipulation of file path strings, enabling attackers to modify source or destination file names to reference locations outside the intended document root. This path manipulation could potentially be leveraged for unauthorized file access or modification, though the impact is limited by the worker process's restricted privileges.

Root Cause

The root cause is improper boundary checking in the ngx_http_dav_module when handling path transformations during MOVE and COPY operations. When alias directives are used with prefix locations, the module calculates buffer sizes based on incorrect assumptions about path length relationships. This leads to a heap-based buffer overflow when processing specially crafted request URIs that exploit the mismatch between the configured alias path and the actual request path length.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP WebDAV requests (MOVE or COPY methods) to a vulnerable NGINX server. The attack requires the target server to have a specific configuration pattern:

  1. The ngx_http_dav_module must be enabled
  2. The configuration must use MOVE or COPY methods
  3. A prefix location block must be defined (not a regex-based location)
  4. An alias directive must be used within that location

When these conditions are met, the attacker can craft requests with path values designed to trigger the buffer overflow during path resolution and file operation processing.

Detection Methods for CVE-2026-27654

Indicators of Compromise

  • Unexpected NGINX worker process crashes or restarts, particularly when processing WebDAV requests
  • Anomalous WebDAV MOVE or COPY requests with unusually long or malformed path components in server access logs
  • Error log entries indicating memory corruption, segmentation faults, or buffer-related issues in worker processes
  • Evidence of file operations occurring outside expected document root directories

Detection Strategies

  • Monitor NGINX error logs for worker process crashes, particularly those involving ngx_http_dav_module or occurring during MOVE/COPY request processing
  • Implement web application firewall (WAF) rules to inspect WebDAV requests for path traversal patterns or unusually long URI components
  • Deploy SentinelOne Singularity platform for real-time detection of buffer overflow exploitation attempts and anomalous process behavior
  • Configure intrusion detection systems to alert on excessive WebDAV request volumes or requests with suspicious path sequences

Monitoring Recommendations

  • Enable detailed logging for the ngx_http_dav_module to capture all MOVE and COPY operations with full request details
  • Set up alerting for NGINX worker process crashes or unexpected restarts using process monitoring tools
  • Monitor for file system activity outside expected document root boundaries using file integrity monitoring solutions
  • Implement centralized log aggregation to correlate WebDAV requests with process crashes across your NGINX infrastructure

How to Mitigate CVE-2026-27654

Immediate Actions Required

  • Review NGINX configurations to identify instances using ngx_http_dav_module with MOVE or COPY methods, prefix locations, and alias directives
  • Apply the security patch from F5 as documented in the vendor advisory for all affected NGINX deployments
  • If immediate patching is not possible, consider disabling the DAV module or restricting MOVE/COPY methods as an interim measure
  • Implement network-level access controls to limit WebDAV access to trusted clients only

Patch Information

F5 has released security patches addressing this vulnerability. Administrators should consult the F5 Technical Article K000160382 for detailed patch information, affected version specifics, and upgrade guidance. Organizations running NGINX Plus should upgrade to the latest patched release for their respective version branch. NGINX Open Source users should upgrade to the latest stable release that includes the security fix.

Workarounds

  • Disable the ngx_http_dav_module entirely if WebDAV functionality is not required by removing or commenting out DAV-related directives
  • Restrict MOVE and COPY methods to authenticated users only and limit access to trusted IP ranges
  • Replace alias directives with root directives where architecturally feasible to avoid the vulnerable configuration pattern
  • Implement a reverse proxy or WAF in front of NGINX to filter and validate WebDAV requests before they reach the vulnerable module
bash
# Example: Restrict DAV methods to authenticated users only
# Add to relevant location blocks in nginx.conf

location /webdav/ {
    # Require authentication for DAV methods
    limit_except GET HEAD {
        auth_basic "Restricted";
        auth_basic_user_file /etc/nginx/.htpasswd;
        
        # Optional: Also restrict by IP
        allow 192.168.1.0/24;
        deny all;
    }
    
    # If DAV not needed, disable entirely:
    # dav_methods off;
}

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

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Vendor Resources
  • F5 Technical Article K000160382
  • Related CVEs
  • CVE-2021-46461: Nginx Njs Buffer Overflow Vulnerability

  • CVE-2021-23017: F5 Nginx Buffer Overflow Vulnerability

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

  • CVE-2026-33028: Nginx UI Race Condition Vulnerability
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