Skip to main content

Sunshine CVE-2026-32253

CRITICAL
Improper Authentication (CWE-287)
2026-05-22 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed Sunshine HTTPS endpoint
  2. Delivery
    Generate self-signed client certificate
  3. Exploit
    Initiate mutual TLS handshake
  4. Install
    Verify callback accepts untrusted cert
  5. C2
    Reach protected control endpoints
  6. Execute
    Issue pairing/streaming commands
  7. Impact
    Hijack session or control host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Sunshine HTTPS service (default control port) must be network-reachable from the attacker, which on a typical home deployment requires LAN access or a user-configured router port-forward to the Sunshine host. No authentication, no user interaction, and no special configuration is required beyond running an unpatched Sunshine version prior to 2026.516.143833 - the broken verify callback is in the default code path for client-certificate authentication. The attacker must complete a TLS handshake using any certificate that triggers one of the three accepted errors (unknown issuer, not yet valid, or expired), which is trivial to generate with openssl. Exploitation is limited to hosts where the Sunshine service port is reachable; isolated LAN-only deployments behind a NAT without port-forwarding restrict the attack surface to local network attackers.

Impact

The CVSS 9.8 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) signals critical risk: network-reachable, low complexity, no privileges, no user interaction, with full CIA impact. The unauthenticated network attack surface and trivial exploit primitive (presenting any self-signed or expired certificate) make this a real priority where Sunshine endpoints are exposed beyond a trusted LAN. EPSS score and SSVC decision points were not provided in the input data, and the vulnerability is not listed in CISA KEV, so exploitation in the wild is not confirmed. No public exploit identified at time of analysis, though the fix is publicly visible in the GitHub advisory and release notes which could enable a patch-diff exploit. Realistic risk is moderated by deployment context - Sunshine is typically run on home LANs rather than internet-exposed servers - but any host with port-forwarded streaming ports is highly exposed.

Exploit ScenarioDerived

An attacker on the same network segment as a vulnerable Sunshine host - or anywhere on the internet if the streaming port is forwarded through the user's router - connects to the HTTPS control endpoint and presents a self-signed, expired, or otherwise untrusted client certificate. Because the custom verify callback treats unknown-issuer, not-yet-valid, and expired errors as success, the TLS handshake completes and the attacker reaches protected pairing and management endpoints. From there the attacker can hijack streaming sessions, issue input events to the host machine, or pivot through the streaming service to interact with the desktop.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 22, 2026

Authentication bypass in LizardByte Sunshine self-hosted game stream host (versions prior to 2026.516.143833) allows remote unauthenticated attackers to bypass client-certificate authentication and access protected HTTPS endpoints. The custom OpenSSL verification callback in src/crypto.cpp incorrectly treats several certificate validation errors as successful verification, enabling untrusted certificates to pass authentication. No public exploit identified at time of analysis, but the CVSS 9.8 rating reflects trivial network-based exploitation against default deployments.

RemediationAI

Vendor-released patch: upgrade to Sunshine v2026.516.143833 or later, available from https://github.com/LizardByte/Sunshine/releases/tag/v2026.516.143833, which corrects the verify callback logic in src/crypto.cpp so the three previously-ignored X509 errors are treated as authentication failures (see GHSA-ph75-mgxh-mv57). Where immediate upgrade is not possible, restrict network exposure of the Sunshine HTTPS control endpoints by binding the service to localhost or a trusted management VLAN, removing any port-forwarding rules on the perimeter firewall/router, and placing the host behind a VPN such as WireGuard or Tailscale so only authenticated peers can reach the listener; the trade-off is loss of direct remote streaming until the patch is applied. Avoid relying on re-pairing or rotating client certificates as a workaround since the bypass accepts arbitrary untrusted certificates regardless of pairing state.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Sunshine is an open-source self-hosted game streaming host implementing the Moonlight streaming protocol, distributed by LizardByte and identified by CPE cpe:2.3:a:lizardbyte:sunshine. The vulnerability resides in src/crypto.cpp where a custom OpenSSL X509 verify_callback handles certificate validation results. The flaw is a classic CWE-287 Improper Authentication issue: the callback treats X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY (issuer CA not in trust store), X509_V_ERR_CERT_NOT_YET_VALID (certificate not yet valid), and X509_V_ERR_CERT_HAS_EXPIRED (expired certificate) as successful verification outcomes, effectively short-circuiting OpenSSL's certificate chain validation. This defeats the entire purpose of mutual TLS client-certificate authentication that gates access to Sunshine's HTTPS control endpoints used for pairing and stream management.

Know when Sunshine gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Sunshine is a self-hosted game stream host for Moonlight. In versions prior to 2026.516.143833, the client-certificate authentication can be bypassed because of how OpenSSL verification results are handled. In src/crypto.cpp, the custom verify callback treats X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY, X509_V_ERR_CERT_NOT_YET_VALID, and X509_V_ERR_CERT_HAS_EXPIRED as success. This can allow an untrusted certificate to pass authentication and access protected HTTPS endpoints. This issue has been fixed in version 2026.516.143833.

Executive ViewAI

Why It Matters

LizardByte Sunshine game streaming platform versions prior to 2026.516.143833 contain a critical authentication bypass (CVE-2026-32253) allowing remote unauthenticated attackers to access protected streaming endpoints without valid credentials, exposing any organization relying on Sunshine for game delivery to immediate unauthorized access. No public exploit identified at time of analysis, but the trivial network-based exploitation difficulty and lack of vendor mitigation create urgent risk. No vendor-released patch is currently available, placing full remediation responsibility on end users until LizardByte releases a fix.

Business Impact: Severe
Compensating Controls

Until vendor patch available: (1) Restrict network access via firewall to trusted internal networks only; (2) Disable remote access features if not operationally required; (3) Implement VPN gatekeeping for any external access; (4) Monitor logs for certificate validation failures and anomalous authentication attempts. Monitor LizardByte security channels daily for patch availability notification.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:lizardbyte:sunshine:*:*:*:*:*:*:*:*
CVE-2025-54081 HIGH POC
7.0 Sep 23

Local privilege escalation in LizardByte Sunshine on Windows: the SunshineService service is registered with an unquoted

CVE-2024-31221 MEDIUM POC
5.9 Apr 08

Sunshine is a self-hosted game stream host for Moonlight. Rated medium severity (CVSS 5.9), this vulnerability is remote

CVE-2025-53095 CRITICAL
9.6 Jul 01

Sunshine is a self-hosted game stream host for Moonlight. Prior to version 2025.628.4510, the web UI of Sunshine lacks p

CVE-2024-45407 MEDIUM POC
5.3 Sep 10

Sunshine is a self-hosted game stream host for Moonlight. Rated medium severity (CVSS 5.3), this vulnerability is remote

CVE-2026-111044 HIGH
7.6 Oct 16

A previously paired Moonlight client that still holds its private key can bypass Sunshine's 'Disable' control and regain

CVE-2024-31220 HIGH
7.3 Apr 05

Sunshine is a self-hosted game stream host for Moonlight. Rated high severity (CVSS 7.3), this vulnerability is remotely

CVE-2025-53096 MEDIUM
5.4 Jul 01

Sunshine is a self-hosted game stream host for Moonlight. Prior to version 2025.628.4510, the web UI of Sunshine lacks p

CVE-2024-31226 LOW
2.9 May 16

Sunshine is a self-hosted game stream host for Moonlight. Rated low severity (CVSS 2.9).

CVE-2025-10199 HIGH
7.8 Sep 09

A local privilege escalation vulnerability exists in Sunshine for Windows (version v2025.122.141614 and likely prior ver

CVE-2025-10198 HIGH
7.8 Sep 09

Sunshine for Windows, version v2025.122.141614, contains a DLL search-order hijacking vulnerability, allowing attackers

CVE-2024-51738 HIGH
7.7 Jan 20

Sunshine is a self-hosted game stream host for Moonlight. Rated high severity (CVSS 7.7), this vulnerability is remotely

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy