CVE-2024-31226

CVE-2024-31226 is a medium-severity vulnerability in Lizardbyte Sunshine with a CVSS 3.x base score of 4.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-428.

Key facts

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.

Frequently asked questions

What is CVE-2024-31226?
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 severe is CVE-2024-31226?
CVE-2024-31226 has a CVSS 3.x base score of 4.9, rated medium severity. It is exploitable over physical access with high attack complexity, requires high privileges and user interaction. Impact on confidentiality is low, integrity low, and availability high.
Is CVE-2024-31226 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (12th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-31226?
CVE-2024-31226 affects Lizardbyte Sunshine. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-31226?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-31226 have an EU (EUVD) identifier?
Yes. CVE-2024-31226 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29122.
When was CVE-2024-31226 published?
CVE-2024-31226 was published on 2024-05-16 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Lizardbyte Sunshine

All CVEs affecting Lizardbyte Sunshine →

Other CWE-428 vulnerabilities

Browse all CWE-428 vulnerabilities →