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

CVE-2024-31220: Lizardbyte Sunshine Path Traversal Flaw

CVE-2024-31220 is a path traversal vulnerability in Lizardbyte Sunshine that allows unauthenticated attackers to read arbitrary files remotely. This article covers technical details, affected versions, and mitigation.

Published: June 2, 2026

CVE-2024-31220 Overview

CVE-2024-31220 is a path traversal vulnerability [CWE-22] in LizardByte Sunshine, a self-hosted game stream host for Moonlight. The flaw affects Sunshine versions 0.16.0 through versions prior to 0.18.0. An unauthenticated remote attacker can read arbitrary files on the host by sending crafted HTTP/HTTPS requests to the node_modules endpoint of the configuration web interface. Exposure depends on firewall configuration and whether the Sunshine configuration UI is reachable beyond localhost. Version 0.18.0 contains the patch.

Critical Impact

Unauthenticated attackers on the LAN or internet can read arbitrary files from the Sunshine host without credentials, exposing configuration, secrets, and user data.

Affected Products

  • LizardByte Sunshine 0.16.0 through 0.17.x
  • Sunshine configuration web user interface exposed beyond localhost
  • Hosts running affected Sunshine versions on Windows, Linux, or macOS

Discovery Timeline

  • 2024-04-05 - CVE-2024-31220 published to NVD
  • 2025-09-11 - Last updated in NVD database

Technical Details for CVE-2024-31220

Vulnerability Analysis

The vulnerability is a classic path traversal flaw [CWE-22] in the Sunshine configuration web server. The node_modules endpoint fails to properly sanitize and canonicalize user-supplied path components before serving file contents. An attacker can include traversal sequences such as ../ in the request path to escape the intended static asset directory and reach arbitrary files on the underlying filesystem.

Because the configuration web server does not require authentication for the affected endpoint, exploitation requires only network reachability. The attack can be carried out from the local network or from the internet when administrators expose the UI through port forwarding or open firewall rules.

The disclosed file contents are limited by the privileges of the Sunshine process, but the service often runs with sufficient rights to expose configuration files, API tokens, and operating system data.

Root Cause

The root cause is insufficient input validation on the file path supplied to the node_modules static handler. The handler resolves the requested path relative to the asset root without rejecting traversal sequences or verifying that the resolved path remains within the intended directory tree.

Attack Vector

Exploitation requires a single unauthenticated HTTP or HTTPS request to the Sunshine configuration interface. The attacker issues a GET request to the node_modules endpoint containing directory traversal sequences targeting files outside the static asset directory. The server returns the requested file contents in the HTTP response.

No user interaction, credentials, or prior foothold are required when the configuration UI is reachable. See the GitHub Security Advisory GHSA-6rg7-7m3w-w5wc for vendor-confirmed exploitation conditions.

Detection Methods for CVE-2024-31220

Indicators of Compromise

  • HTTP/HTTPS requests to the Sunshine configuration web server containing node_modules in combination with ../ or URL-encoded %2e%2e%2f sequences.
  • Outbound responses from the Sunshine host returning non-static file contents such as passwd, shadow, .env, or Sunshine configuration files.
  • Unexpected access to the Sunshine configuration port (default 47990) from non-localhost source addresses.

Detection Strategies

  • Inspect web server and reverse proxy access logs for requests targeting the node_modules path that include traversal patterns or unusual file extensions.
  • Correlate inbound LAN or WAN traffic to Sunshine listening ports with the host's outbound response sizes to identify file exfiltration.
  • Compare installed Sunshine version against 0.18.0 across managed endpoints to identify vulnerable hosts.

Monitoring Recommendations

  • Enable verbose HTTP request logging on Sunshine hosts and forward logs to a central SIEM for traversal-pattern matching.
  • Alert on any source address outside the management subnet that connects to the Sunshine configuration interface.
  • Monitor for new firewall or NAT rules that expose Sunshine ports to untrusted networks.

How to Mitigate CVE-2024-31220

Immediate Actions Required

  • Upgrade Sunshine to version 0.18.0 or later on all hosts immediately.
  • Restrict access to the Sunshine configuration web interface so it binds to or is reachable only from localhost.
  • Remove any port-forwarding or NAT rules that expose Sunshine to the internet until patching is complete.
  • Rotate any credentials, tokens, or keys that may have been stored on disk on exposed hosts.

Patch Information

The vendor released a fix in Sunshine v0.18.0. Administrators should download the official release and verify the installed version after upgrade. Vendor remediation guidance is documented in the GitHub Security Advisory GHSA-6rg7-7m3w-w5wc.

Workarounds

  • Block inbound access to Sunshine configuration ports at the host or perimeter firewall, allowing only trusted management addresses.
  • Place the Sunshine host on an isolated VLAN that is not routable from untrusted LAN segments or the internet.
  • Use an authenticated reverse proxy or VPN to gate access to the configuration UI until the patch is applied.
bash
# Configuration example: restrict Sunshine config UI to localhost using iptables
sudo iptables -A INPUT -p tcp --dport 47990 -s 127.0.0.1 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 47990 -j DROP

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechLizardbyte Sunshine

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v0.18.0
  • Vendor Resources
  • GitHub Security Advisory GHSA-6rg7-7m3w-w5wc
  • Related CVEs
  • CVE-2026-32253: Lizardbyte Sunshine Auth Bypass Flaw

  • CVE-2025-53095: Lizardbyte Sunshine CSRF 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