Paper/Archive/CVE-2025-53095

CVE-2025-53095

LizardByte Sunshine — Sunshine application-wide CSRF in the UI leads to command injection as Administrator

Description · from the CVE record

Sunshine is a self-hosted game stream host for Moonlight. Prior to version 2025.628.4510, the web UI of Sunshine lacks protection against Cross-Site Request Forgery (CSRF) attacks. This vulnerability allows 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. Specifically, since the application does OS command execution by design, this issue 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. This issue has been patched in version 2025.628.4510.

Affected

ProductAffectedFixed inSource
Sunshine< 2025.628.4510–CNA

Scores by source

GitHub_M (CNA)9.7CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/LizardByte/Sunshine/security/advisories/GHSA-39hj-fxvw-758mrefgithub.com/LizardByte/Sunshine/commit/738ac93a0ec1cd10412d1f339968775f53bfefe0