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
- Severity: Medium (CVSS 3.x base score 4.9)
- EPSS exploit prediction: 0% (12th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-29122
- Weakness: CWE-428
- Affected product: Lizardbyte Sunshine
- Published:
- Last modified:
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
- https://github.com/LizardByte/Sunshine/commit/93e622342c4f3e9b34f5f265039b6775b8e33a7a
- https://github.com/LizardByte/Sunshine/pull/2379
- https://github.com/LizardByte/Sunshine/security/advisories/GHSA-r3rw-mx4q-7vfp
Affected products (1)
- cpe:2.3:a:lizardbyte:sunshine:*:*:*:*:*:*:*:*
More vulnerabilities in Lizardbyte Sunshine
- CVE-2026-32253 — Critical (CVSS 9.8): Sunshine is a self-hosted game stream host for Moonlight. In versions prior to 2026.516.143833, the client-certificate…
- CVE-2025-53095 — Critical (CVSS 9.6): Sunshine is a self-hosted game stream host for Moonlight. Prior to version 2025.628.4510, the web UI of Sunshine lacks…
- CVE-2024-51738 — High (CVSS 8.1): Sunshine is a self-hosted game stream host for Moonlight. In 0.23.1 and earlier, Sunshine's pairing protocol…
- CVE-2025-10199 — High (CVSS 7.8): A local privilege escalation vulnerability exists in Sunshine for Windows (version v2025.122.141614 and likely prior…
- CVE-2025-10198 — High (CVSS 7.8): Sunshine for Windows, version v2025.122.141614, contains a DLL search-order hijacking vulnerability, allowing attackers…
- CVE-2024-31220 — High (CVSS 7.3): Sunshine is a self-hosted game stream host for Moonlight. Starting in version 0.16.0 and prior to version 0.18.0, an…
All CVEs affecting Lizardbyte Sunshine →
Other CWE-428 vulnerabilities
- CVE-2022-50935 — Critical (CVSS 9.8): Flame II HSPA USB Modem contains an unquoted service path vulnerability in its Windows service configuration. Attackers…
- CVE-2023-38408 — Critical (CVSS 9.8): The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to…
- CVE-2022-36344 — Critical (CVSS 9.8): An unquoted search path vulnerability exists in 'JustSystems JUST Online Update for J-License' bundled with multiple…
- CVE-2020-9292 — Critical (CVSS 9.8): An unquoted service path vulnerability in the FortiSIEM Windows Agent component may allow an attacker to gain elevated…
- CVE-2019-17658 — Critical (CVSS 9.8): An unquoted service path vulnerability in the FortiClient FortiTray component of FortiClientWindows v6.2.2 and prior…
- CVE-2019-8459 — Critical (CVSS 9.8): Check Point Endpoint Security Client for Windows, with the VPN blade, before version E80.83, starts a process without…