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-2025-53095

CVE-2025-53095: Lizardbyte Sunshine CSRF Vulnerability

CVE-2025-53095 is a Cross-Site Request Forgery flaw in Lizardbyte Sunshine that enables attackers to execute arbitrary commands with Administrator privileges. This article covers the technical details, affected versions, and mitigation.

Published: April 29, 2026

CVE-2025-53095 Overview

CVE-2025-53095 is a Cross-Site Request Forgery (CSRF) vulnerability affecting Sunshine, a self-hosted game stream host for Moonlight. The web UI of Sunshine lacks protection against CSRF attacks, allowing an attacker to craft a malicious web page that, when visited by an authenticated user, can trigger unintended actions within the Sunshine application on behalf of that user. Most critically, since the application performs OS command execution by design, this vulnerability can be exploited to abuse the "Command Preparations" feature, enabling an attacker to inject arbitrary commands that will be executed with Administrator privileges when an application is launched.

Critical Impact

Attackers can achieve remote code execution with Administrator privileges by chaining CSRF with the legitimate "Command Preparations" feature, requiring only that an authenticated Sunshine user visits a malicious web page.

Affected Products

  • LizardByte Sunshine versions prior to 2025.628.4510

Discovery Timeline

  • 2025-07-01 - CVE-2025-53095 published to NVD
  • 2025-08-22 - Last updated in NVD database

Technical Details for CVE-2025-53095

Vulnerability Analysis

This CSRF vulnerability exists because the Sunshine web UI fails to implement anti-CSRF tokens or validate the origin of incoming requests. When an authenticated administrator accesses a malicious webpage crafted by an attacker, the browser automatically includes authentication cookies with cross-origin requests to the Sunshine web interface running on localhost. The application's design includes legitimate OS command execution capabilities through the "Command Preparations" feature, which is intended to allow users to run scripts or commands before launching streamed applications. By combining CSRF with this feature, attackers can inject malicious commands that execute with the elevated privileges of the Sunshine service.

Root Cause

The root cause of this vulnerability is the absence of CSRF protection mechanisms in the Sunshine web UI. The application does not implement anti-CSRF tokens, does not validate Origin or Referer headers, and does not require proper Content-Type headers for state-changing API requests. This allows cross-origin requests from attacker-controlled websites to be processed as legitimate requests when they carry the user's session credentials.

Attack Vector

The attack requires an authenticated Sunshine user to visit an attacker-controlled webpage while logged into the Sunshine web interface. The malicious page contains hidden forms or JavaScript that automatically submit requests to the Sunshine API endpoints, such as those managing applications or command preparations. Since the browser includes session cookies with these requests and the server performs no origin validation, the malicious requests are processed with the victim's privileges. The attacker can leverage the "Command Preparations" feature to inject commands that execute with Administrator privileges when a streaming application is subsequently launched.

The security patch adds Content-Type: application/json header requirements to API requests, helping to prevent simple CSRF attacks by requiring headers that cannot be set in cross-origin requests without CORS preflight checks:

javascript
   }
 
   return {
-    cURL: `curl -u user:pass -X ${method.trim()} -k https://localhost:47990${endpoint.trim()}${curlBodyString}`,
+    cURL: `curl -u user:pass -H "Content-Type: application/json" -X ${method.trim()} -k https://localhost:47990${endpoint.trim()}${curlBodyString}`,
     Python: `import json
 import requests
 from requests.auth import HTTPBasicAuth

Source: GitHub Commit Update

The patch also updates frontend API calls to include proper headers:

text
           "Are you sure to delete " + this.apps[id].name + "?"
         );
         if (resp) {
-          fetch("./api/apps/" + id, { method: "DELETE" }).then((r) => {
+          fetch("./api/apps/" + id, {
+            method: "DELETE",
+            headers: { 
+              "Content-Type": "application/json" 
+            },
+          }).then((r) => {
             if (r.status === 200) document.location.reload();
           });
         }

Source: GitHub Commit Update

Detection Methods for CVE-2025-53095

Indicators of Compromise

  • Unexpected modifications to application configurations or "Command Preparations" settings in Sunshine
  • Unusual commands or scripts appearing in the Sunshine application launch configurations
  • Web server logs showing cross-origin requests to the Sunshine API from external referers
  • Unexpected processes spawning as child processes of the Sunshine service with Administrator privileges

Detection Strategies

  • Monitor Sunshine configuration files for unauthorized modifications to command preparation entries
  • Implement network monitoring to detect requests to the Sunshine web interface (default port 47990) originating from suspicious sources
  • Review process creation logs for unexpected child processes of the Sunshine service
  • Deploy endpoint detection to alert on command execution patterns associated with application launches

Monitoring Recommendations

  • Enable verbose logging in Sunshine to capture API request details including headers and origins
  • Configure SIEM alerts for configuration changes to Sunshine application settings
  • Monitor for unusual network traffic patterns involving localhost web services
  • Implement file integrity monitoring on Sunshine configuration directories

How to Mitigate CVE-2025-53095

Immediate Actions Required

  • Update Sunshine to version 2025.628.4510 or later immediately
  • Review existing "Command Preparations" configurations for any unauthorized or suspicious entries
  • Audit recent application configuration changes for signs of compromise
  • Consider temporarily disabling the Sunshine web UI if update cannot be immediately applied

Patch Information

LizardByte has released version 2025.628.4510 of Sunshine which addresses this CSRF vulnerability by implementing proper Content-Type header validation for API requests. The fix is available via the official GitHub repository. For detailed patch information, refer to the GitHub Security Advisory GHSA-39hj-fxvw-758m and the security patch commit.

Workarounds

  • Restrict access to the Sunshine web interface by binding it to localhost only and accessing via SSH tunnel
  • Use a reverse proxy with CSRF protection in front of the Sunshine web interface
  • Avoid accessing untrusted websites while authenticated to the Sunshine web UI
  • Implement network-level access controls to limit which hosts can reach the Sunshine web interface
bash
# Example: Access Sunshine web UI through SSH tunnel for added security
ssh -L 47990:localhost:47990 user@sunshine-host
# Then access https://localhost:47990 in your browser

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechLizardbyte Sunshine

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-352
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-39hj-fxvw-758m
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | 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