# CVE-2024-31220: Sunshine vulnerable to remote unauthenticated arbitrary file read

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2024-04-05T14:59:52.662Z
- Modified: 2026-06-17T07:28:00.490Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- LizardByte Sunshine: >= 0.16.0, < 0.18.0; from 0.16.0 before 0.18.0

## References

- <https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc> (vendor-advisory)
- <https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0> (release-notes)

## Sources

- CVE List: [CVE-2024-31220](https://www.cve.org/CVERecord?id=CVE-2024-31220), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-31220](https://nvd.nist.gov/vuln/detail/CVE-2024-31220), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31220 · Whole record: https://cve.day/CVE-2024-31220.json · Rebuilt by cve.day 2026-11-25T22:58:38.800Z
