Skip to content
Heist/ feed
Back to feed
Medium

SunshineService Has Unquoted Service Path That Allows Local SYSTEM Code Execution

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54081
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:26 UTC · Revision 1

Source evidence

SunshineService Has Unquoted Service Path That Allows Local SYSTEM Code Execution

core-osv · Original source

Published 23 Sept 2025, 18:18 UTC

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.

osv:CVE-2025-54081
Complete source record
{
  "id": "394145ed990bddf3ea0ab3c202f86614265c8d311cf09337b3fcf73dc0889d77",
  "url": "https://osv.dev/vulnerability/CVE-2025-54081",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SunshineService Has Unquoted Service Path That Allows Local SYSTEM Code Execution",
    "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 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.",
    "evidence": "osv:CVE-2025-54081",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-54081",
      "aliases": [
        "CVE-2025-54081",
        "GHSA-6p7j-5v8v-w45h"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/lizardbyte/sunshine",
              "type": "GIT",
              "events": [
                {
                  "introduced": "03d572fe103252faf89c35e6c7202390514b65b3"
                },
                {
                  "fixed": "f22b00d6981f756d3531fba0028723d4a5065824"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2025.923.33222"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f22b00d6981f756d3531fba0028723d4a5065824"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f22b00d6981f756d3531fba0028723d4a5065824"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2025.923.33222"
                  },
                  {
                    "cpe": "cpe:2.3:a:lizardbyte:sunshine:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.10.0"
                      },
                      {
                        "fixed": "2025.923.33222"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2025.628.4510",
            "v2025.122.141614",
            "v2025.118.151840",
            "v0.11.1",
            "v0.11.0",
            "v0.10.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54081.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.461292474Z",
      "provider": "osv",
      "references": [
        "https://github.com/LizardByte/Sunshine/releases/tag/v2025.923.33222",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54081.json",
        "https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6p7j-5v8v-w45h",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54081",
        "https://github.com/LizardByte/Sunshine/commit/f22b00d6981f756d3531fba0028723d4a5065824"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-428"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54081.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54081",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493806,
  "published_at": "2025-09-23T18:18:39.474+00:00"
}