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

Published Apr 5, 2024
·
Updated

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 nodemodules 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 Software

2 affected components
Sunshine Sunshine>=0.16.0<0.18.0
LizardByte Sunshine>=0.16.0<0.18.0

Event History

Apr 5, 2024
CVE Published
via MITRE·02:59 PM
Data Sourced
via MITRE·02:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-31220?

CVE-2024-31220 has been classified as a high severity vulnerability due to its ability to allow remote file reading without authentication.

2

How do I fix CVE-2024-31220?

To fix CVE-2024-31220, users should upgrade their Sunshine software to version 0.18.0 or later.

3

Which versions of Sunshine are affected by CVE-2024-31220?

CVE-2024-31220 affects Sunshine versions 0.16.0 to 0.17.9, prior to version 0.18.0.

4

What type of vulnerability is CVE-2024-31220?

CVE-2024-31220 is a path traversal vulnerability that enables attackers to access arbitrary files.

5

Can CVE-2024-31220 be exploited remotely?

Yes, CVE-2024-31220 can be exploited remotely, allowing unauthorized access to sensitive files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203