---
id: CVE-2025-54081
title: Sunshine is a self-hosted game stream host for Moonlight
summary: >-
  Sunshine is a self-hosted game stream host for Moonlight. Prior to version
  2025.923.33222, the Windows service SunshineService is installed with an
  unquoted executable path. If Sunshine is installed in a directory whose name
  includes a s…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-428
vendor: lizardbyte
product: sunshine
affected:
  - 'sunshine >= 0.10.0, < 2025.923.33222'
patched:
  - sunshine 2025.923.33222
published: '2025-09-23'
updated: '2026-10-11'
sourceUpdated: '2026-10-11T20:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-54081'
references:
  - url: >-
      https://github.com/LizardByte/Sunshine/commit/f22b00d6981f756d3531fba0028723d4a5065824
    label: security-advisories@github.com
  - url: 'https://github.com/LizardByte/Sunshine/releases/tag/v2025.923.33222'
    label: security-advisories@github.com
  - url: >-
      https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6p7j-5v8v-w45h
    label: security-advisories@github.com
  - url: >-
      https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6p7j-5v8v-w45h
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00231
epssPercentile: 0.12836
ingestedAt: '2026-10-12T14:50:33.984Z'
---

## Overview

Sunshine is a self-hosted game stream host for Moonlight. Prior to version 2025.923.33222, the Windows service SunshineService is installed with an unquoted executable path. If Sunshine is installed in a directory whose name includes a space, the Service Control Manager (SCM) interprets the path incrementally and may execute a malicious binary placed earlier in the search string. This issue has been patched in version 2025.923.33222.

## Affected

- `sunshine >= 0.10.0, < 2025.923.33222`

## Remediation

Upgrade past the affected range:

- `sunshine 2025.923.33222`
