CVE & CISA-KEV Catalog

CVE-2024-31226

MEDIUM
4.9
CVSS v3
NVD

Description

Sunshine is a self-hosted game stream host for Moonlight. Users who ran Sunshine versions 0.17.0 through 0.22.2 as a service on Windows may be impacted when terminating the service if an attacked placed a file named `C:\Program.exe`, `C:\Program.bat`, or `C:\Program.cmd` on the user's computer. This attack vector isn't exploitable unless the user has manually loosened ACLs on the system drive. If the user's system locale is not English, then the name of the executable will likely vary. Version 0.23.0 contains a patch for the issue. Some workarounds are available. One may identify and block potentially malicious software executed path interception by using application control tools, like Windows Defender Application Control, AppLocker, or Software Restriction Policies where appropriate. Alternatively, ensure that proper permissions and directory access control are set to deny users the ability to write files to the top-level directory `C:`. Require that all executables be placed in write-protected directories.

How to fix

Remediation Available
sunshineNVD
Affected:>= 0.17.0, < 0.23.0Fixed in:0.23.0CVE-2024-31226derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorPhysical
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityHigh

CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H

Exploit Intelligence

0.22%probability of exploitation in 30 days
12thpercentile

Low risk: more likely to be exploited than 12% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-428 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-38408Critical9.877%-Fix
CVE-2020-15261High8.011%-Fix
CVE-2018-10619High7.82.8%-Fix
CVE-2019-17658Critical9.82.2%--
CVE-2015-4173Medium6.92.1%-Fix
CVE-2019-16647High7.22.0%--
Embed a live status badge for CVE-2024-31226
CVE-2024-31226 severity badge

Markdown

[![CVE-2024-31226](https://tridentstack.com/cve/badge/CVE-2024-31226.svg)](https://tridentstack.com/cve/CVE-2024-31226)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-31226"><img src="https://tridentstack.com/cve/badge/CVE-2024-31226.svg" alt="CVE-2024-31226"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-11.