What’s Vulnerable › Vulnerabilities
CVE-2024-31220: Sunshine vulnerable to remote unauthenticated arbitrary file read
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-05 · updated 2026-06-17
- Weakness: CWE-22
Description
Sunshine is a self-hosted game stream host for Moonlight. Starting in version 0.16.0 and prior to version 0.18.0, an attacker may be able to remotely read arbitrary files without authentication due to a path traversal vulnerability. Users who exposed the Sunshine configuration web user interface outside of localhost may be affected, depending on firewall configuration. To exploit vulnerability, attacker could make an http/s request to the `node_modules` endpoint if user exposed Sunshine config web server to internet or attacker is on the LAN. Version 0.18.0 contains a patch for this issue. As a workaround, one may block access to Sunshine via firewall.
Affected products
- LizardByte Sunshine: from 0.16.0 before 0.18.0 — fixed in 0.18.0
How to fix
Upgrade to a fixed version: LizardByte Sunshine 0.18.0. Check the vendor advisory for mitigations.
References
- https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0
- https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc
- https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0
- https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc
Get alerted when CVE-2024-31220 or the next vulnerability affects your stack