Sunshine
CVE-2026-32253
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed Sunshine HTTPS endpoint
-
DeliveryGenerate self-signed client certificate
-
ExploitInitiate mutual TLS handshake
-
InstallVerify callback accepts untrusted cert
-
C2Reach protected control endpoints
-
ExecuteIssue pairing/streaming commands
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Local privilege escalation in LizardByte Sunshine on Windows: the SunshineService service is registered with an unquoted
Sunshine is a self-hosted game stream host for Moonlight. Rated medium severity (CVSS 5.9), this vulnerability is remote
Sunshine is a self-hosted game stream host for Moonlight. Prior to version 2025.628.4510, the web UI of Sunshine lacks p
Sunshine is a self-hosted game stream host for Moonlight. Rated medium severity (CVSS 5.3), this vulnerability is remote
A previously paired Moonlight client that still holds its private key can bypass Sunshine's 'Disable' control and regain
Sunshine is a self-hosted game stream host for Moonlight. Rated high severity (CVSS 7.3), this vulnerability is remotely
Sunshine is a self-hosted game stream host for Moonlight. Prior to version 2025.628.4510, the web UI of Sunshine lacks p
Sunshine is a self-hosted game stream host for Moonlight. Rated low severity (CVSS 2.9).
A local privilege escalation vulnerability exists in Sunshine for Windows (version v2025.122.141614 and likely prior ver
Sunshine for Windows, version v2025.122.141614, contains a DLL search-order hijacking vulnerability, allowing attackers
Sunshine is a self-hosted game stream host for Moonlight. Rated high severity (CVSS 7.7), this vulnerability is remotely
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB