A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-49366

CVE-2024-49366: Nginxui Path Traversal Vulnerability

CVE-2024-49366 is a path traversal flaw in Nginxui Nginx UI that allows attackers to write arbitrary files to the server, potentially causing permission loss. This post covers technical details, affected versions, and mitigation.

Published: June 2, 2026

CVE-2024-49366 Overview

CVE-2024-49366 is a path traversal vulnerability [CWE-22] in Nginx UI, a web interface for managing the Nginx web server. Versions 2.0.0-beta.35 and earlier accept JSON field values without validation, allowing attackers to inject ../../ traversal sequences. An attacker can write arbitrary files to locations outside the intended directory on the underlying server. This can corrupt application files, overwrite configuration, or compromise host permissions. The vendor addressed the issue in version 2.0.0-beta.36.

Critical Impact

Unauthenticated attackers can write arbitrary files to the host filesystem, leading to integrity loss and potential privilege compromise on systems running Nginx UI.

Affected Products

  • Nginx UI versions up to and including 2.0.0-beta.35
  • All 2.0.0 beta releases from beta1 through beta35, including intermediate patch builds
  • Fixed in Nginx UI 2.0.0-beta.36

Discovery Timeline

  • 2024-10-21 - CVE-2024-49366 published to NVD
  • 2024-11-07 - Last updated in NVD database

Technical Details for CVE-2024-49366

Vulnerability Analysis

The vulnerability is a classic directory traversal flaw [CWE-22]. Nginx UI exposes API endpoints that accept JSON payloads describing file paths or names. The application reads these values directly from the JSON body and uses them in filesystem write operations without canonicalizing the path or rejecting traversal sequences.

Because the application runs with the privileges of the Nginx UI process, an attacker who supplies a value such as ../../etc/nginx/conf.d/malicious.conf can place attacker-controlled content in sensitive system locations. Overwriting Nginx configuration or scripts loaded by the host can lead to service hijacking, persistence, and lateral movement.

EPSS data places exploitation probability at 0.522% (percentile 67.189), indicating measurable interest relative to peer vulnerabilities.

Root Cause

The root cause is missing input validation on user-supplied JSON fields used as filesystem paths. The vulnerable code path retrieves the string value and concatenates it into a target write location without normalizing the path or restricting it to a permitted base directory. Sequences such as ../ are not stripped or rejected.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends a crafted HTTP request containing a JSON body where a filename or path field includes traversal segments. The Nginx UI backend resolves the path relative to its working directory and writes attacker-supplied content to the resolved location. The attacker controls both the target path and the file contents, enabling arbitrary file write outside the intended directory.

No public proof-of-concept exploit code is referenced in vendor materials. Refer to the GitHub Security Advisory GHSA-prv4-rx44-f7jr for vendor details.

Detection Methods for CVE-2024-49366

Indicators of Compromise

  • HTTP requests to Nginx UI API endpoints containing ../ or URL-encoded %2e%2e%2f sequences inside JSON body fields
  • Unexpected new or modified files outside the Nginx UI working directory, particularly under /etc/nginx/, /etc/cron.d/, or user home directories
  • Nginx UI process writing to filesystem paths that fall outside its documented data and configuration directories
  • Configuration reloads or service restarts immediately following inbound requests to Nginx UI from untrusted sources

Detection Strategies

  • Inspect Nginx UI access logs for POST or PUT requests whose JSON payloads contain traversal patterns in filename or path fields
  • Deploy web application firewall rules that decode JSON bodies and reject requests containing .. segments in path-like parameters
  • Use file integrity monitoring on /etc/nginx/ and adjacent directories to flag writes originating from the Nginx UI service account

Monitoring Recommendations

  • Enable verbose request logging on Nginx UI and forward logs to a central platform for analysis
  • Alert on filesystem writes performed by the Nginx UI process to paths outside its expected base directory
  • Track outbound network connections from hosts running Nginx UI to detect post-exploitation activity following arbitrary file write

How to Mitigate CVE-2024-49366

Immediate Actions Required

  • Upgrade Nginx UI to version 2.0.0-beta.36 or later, which addresses the path traversal flaw
  • Restrict network access to the Nginx UI management interface so it is reachable only from trusted administrative networks
  • Audit the Nginx UI host for unexpected files written outside the application's working directory since deployment
  • Rotate any credentials, keys, or tokens stored on the host if compromise is suspected

Patch Information

The maintainers released a fix in Nginx UI v2.0.0-beta.36. The vendor advisory notes that version 2.0.0-beta.26 introduced the fix for the underlying issue; administrators should upgrade to the latest stable release rather than relying on an interim beta. Consult the GitHub Security Advisory GHSA-prv4-rx44-f7jr for the complete advisory text.

Workarounds

  • Place Nginx UI behind a reverse proxy with strict allow-listing and authentication if immediate upgrade is not possible
  • Run Nginx UI under a dedicated low-privilege user account with filesystem write permissions restricted to its working directory
  • Apply mandatory access controls such as AppArmor or SELinux profiles that confine Nginx UI writes to approved paths
bash
# Example: confine Nginx UI writes using a systemd unit override
# /etc/systemd/system/nginx-ui.service.d/hardening.conf
[Service]
ReadWritePaths=/var/lib/nginx-ui /etc/nginx/conf.d
ProtectSystem=strict
ProtectHome=true
NoNewPrivileges=true

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechNginx

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.52%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/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
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v2.0.0-beta.36
  • Vendor Resources
  • GitHub Security Advisory GHSA-prv4-rx44-f7jr
  • Related CVEs
  • CVE-2026-33027: Nginx UI Path Traversal Vulnerability

  • CVE-2026-1616: OSIM Path Traversal Vulnerability

  • CVE-2024-49367: Nginx UI Path Traversal Vulnerability

  • CVE-2026-45556: Roxy-WI Path Traversal RCE 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