# CVE-2024-31221: Clients removed during unpairing process may regain access if Sunshine was not restarted

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/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.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-08T15:10:17.071Z
- Modified: 2026-06-17T07:28:00.600Z
- Weaknesses: CWE-384
- 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.10.0 and prior to version 0.23.0, after unpairing all devices in the web UI interface and then pairing only one device, all of the previously devices will be temporarily paired. Version 0.23.0 contains a patch for the issue. As a workaround, restarting Sunshine after unpairing all devices prevents the vulnerability.

(As written by CVE List.)

## Affected

- LizardByte Sunshine: >= 0.10.0, < 0.23.0; from 0.10.0 before 0.23.0

## References

- <https://github.com/LizardByte/Sunshine/issues/2305> (exploit, issue-tracking)
- <https://github.com/LizardByte/Sunshine/security/advisories/GHSA-v8gw-jw28-v55m> (vendor-advisory)
- <https://github.com/LizardByte/Sunshine/pull/2365> (issue-tracking, patch)
- <https://github.com/LizardByte/Sunshine/commit/b7aa8119f1471844dccdf73a8b6f7efc9baddb5e> (patch)

## Sources

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

---

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