Description
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.
Problem types
CWE-287: Improper Authentication
CWE-295: Improper Certificate Validation
Product status
References
github.com/...nshine/security/advisories/GHSA-ph75-mgxh-mv57
github.com/...nshine/security/advisories/GHSA-ph75-mgxh-mv57
github.com/LizardByte/Sunshine/releases/tag/v2026.516.143833