Vulnerability · Published Jul 1, 2025 · Assigned by GitHub_M
CVE-2025-53095Sunshine application-wide CSRF in the UI leads to command injection as Administrator
Critical 9.7
In plain English
A critical-severity cross-site request forgery in Sunshine from LizardByte. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| LizardByte | Sunshine | < 2025.628.4510 |
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H