CVE-2024-31220

Sunshine vulnerable to remote unauthenticated arbitrary file read

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.

Category

7.3
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.06%
Affected: LizardByte Sunshine
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-31220?
CVE-2024-31220 has been scored as a high severity vulnerability.
How to fix CVE-2024-31220?
To fix CVE-2024-31220, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-31220 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-31220 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-31220?
CVE-2024-31220 affects LizardByte Sunshine.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.