CVE-2025-53095 Sunshine application-wide CSRF in the UI leads to command injection as Administrator

Critical 9.7 Published Updated

Attackers can exploit CSRF in Sunshine's web UI to inject arbitrary commands executed with Administrator privileges via the Command Preparations feature.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-53095?

CVE-2025-53095 is a critical vulnerability in LizardByte Sunshine, published on 1 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-352

Which versions are affected by CVE-2025-53095?

It affects 1 product.

Products include Lizardbyte Sunshine.

How do I fix CVE-2025-53095?

No fix has been published for CVE-2025-53095 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-53095 being exploited?

There is no known exploitation of CVE-2025-53095 in the wild and no public exploit code.

Sources

Also known as GHSA-39hj-fxvw-758m.

Is CVE-2025-53095 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free