Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111044 Overview
Sunshine, a self-hosted game stream host for Moonlight, contains a certificate validation flaw that allows a previously paired client to bypass the Disable control. Affected versions from 2026.329.165800 until 2026.906.222525 accept any client certificate that chains to a stored paired-client certificate without requiring an exact match against the enabled paired identity. The server also compares certificate text without canonicalizing equivalent PEM encodings, which causes inconsistent client identity handling. A paired client that retains its private key can present an alternate certificate derived from its paired certificate to regain access after being disabled. The flaw is tracked under CWE-863: Incorrect Authorization and is fixed in version 2026.906.222525.
Critical Impact
A previously paired client that was later disabled can reconnect to the Sunshine host by presenting a derived certificate, defeating the administrator's intent to revoke streaming access.
Affected Products
- LizardByte Sunshine from 2026.329.165800 through versions prior to 2026.906.222525
- Self-hosted game stream deployments exposing the Sunshine pairing/control interface
- Moonlight client pairings persisted on affected Sunshine installations
Discovery Timeline
- 2026-10-16 - CVE-2026-111044 published to NVD
- 2026-10-19 - Last updated in NVD database
- Fix released - Sunshine version 2026.906.222525 published via GitHub Release v2026.906.222525
Technical Details for CVE-2026-111044
Vulnerability Analysis
Sunshine authenticates Moonlight clients using X.509 certificates stored during the pairing workflow. The pre-patch verification logic accepts any presented certificate that chains to a stored paired-client certificate rather than requiring an exact match against the enabled identity. A client holding the private key of a previously paired certificate can mint an alternate certificate chained from that identity and present it to Sunshine. The server treats the alternate certificate as trusted, which bypasses the Disable control intended to revoke client access without unpairing.
The certificate comparison path also fails to canonicalize equivalent PEM encodings. Two PEM blobs that encode the same certificate can hash or compare differently depending on whitespace, line endings, or header formatting. This parsing inconsistency allows a client identity to be matched under one encoding while being treated as separate under another, producing inconsistent trust decisions across pairing state checks.
Root Cause
The root cause is an authorization check that validates chain trust instead of identity equality. The server's verify routine returns success whenever an acceptable chain is built, without confirming the leaf certificate matches the specific enabled pairing record. Combined with non-canonical PEM comparisons, this permits derived or re-encoded certificates to satisfy an authorization gate that should enforce exact identity match.
Attack Vector
Exploitation requires an attacker to be a previously paired client that still possesses its private key. The attacker generates an alternate certificate chained to the paired certificate and connects to the Sunshine control interface over the network. Clients that were never paired cannot abuse the flaw, and removing the paired entry fully revokes trust. The attack vector is network-based with low attack complexity and low privileges, as reflected in the CVSS vector.
// Patch excerpt — src/crypto.cpp
// Introduces an exact-match requirement for the trusted certificate.
using x509_name_t = util::safe_ptr<X509_NAME, &X509_NAME_free>;
constexpr char UNPAIRED_CERTIFICATE_ERROR[] =
"Client certificate identity is not paired"; ///< Error returned when no exact stored certificate matches.
cert_chain_t::cert_chain_t():
_certs {},
Source: LizardByte/Sunshine commit 4d76884
// Patch excerpt — src/crypto.h
/**
* @brief Verify that a certificate exactly matches one stored trust anchor.
*
* @param cert Client certificate to verify.
* @return `nullptr` when the exact certificate is trusted,
* otherwise an OpenSSL error string.
*/
const char *verify(x509_t::element_type *cert);
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-111044
Indicators of Compromise
- Successful Moonlight streaming sessions originating from clients that were previously marked Disabled in the Sunshine web UI.
- Pairing database entries referencing certificates whose leaf identity differs from the certificate presented during a successful session.
- Multiple distinct certificate serial numbers observed for a single logical paired client identity over a short time window.
Detection Strategies
- Audit the Sunshine configuration directory and pairing records to enumerate stored client certificates, then correlate against TLS session logs for leaf certificate mismatches.
- Compare the Sunshine process version string against 2026.906.222525; any installation in the range from 2026.329.165800 up to that version is vulnerable.
- Review access logs for connections from client IP ranges that correspond to previously disabled Moonlight pairings.
Monitoring Recommendations
- Enable verbose logging on the Sunshine host to capture client certificate fingerprints presented during each pairing and streaming handshake.
- Alert on any new streaming session where the presented certificate fingerprint does not exactly match the fingerprint recorded at pairing time.
- Monitor outbound network bandwidth from the host for unexpected streaming activity outside administrator-approved windows.
How to Mitigate CVE-2026-111044
Immediate Actions Required
- Upgrade Sunshine to version 2026.906.222525 or later using the official GitHub Release.
- Remove any paired clients that are no longer trusted; unpairing fully revokes the trust relationship, while Disable alone is insufficient on vulnerable versions.
- Restrict network reachability to the Sunshine control port so only trusted LAN segments or VPN clients can initiate pairing or streaming.
Patch Information
The fix is delivered in commit 4d768847fcd88cc94ac745c4611715c67d7d67e1 and released in version 2026.906.222525. The patch adds an exact-match requirement in the verify routine via the UNPAIRED_CERTIFICATE_ERROR constant, ensuring the presented leaf certificate matches a stored trust anchor rather than merely chaining to one. See the GitHub Security Advisory GHSA-6jvv-jqr7-m6m3 for the vendor's full disclosure.
Workarounds
- Unpair, rather than Disable, any client that must lose access, because unpairing removes the underlying trust anchor the attacker would rely on.
- Place the Sunshine host behind a firewall rule or host-based ACL that limits inbound connections to known, currently approved client addresses.
- Rotate the Sunshine server certificate and force re-pairing of all legitimate clients after upgrading to invalidate any derived certificates still held by former clients.
# Verify installed Sunshine version and upgrade on Linux
sunshine --version
# Example: pull the fixed release binary
wget https://github.com/LizardByte/Sunshine/releases/download/v2026.906.222525/sunshine.deb
sudo apt install ./sunshine.deb
# Restrict the Sunshine control interface (default 47990) to a trusted subnet
sudo ufw allow from 192.0.2.0/24 to any port 47990 proto tcp
sudo ufw deny 47990/tcp
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

