Vulnerability record · CVE-2020-5741 · published 8 May 2020
CVE-2020-5741: Plex Media Server Windows deserialization leads to Python code execution
Plex · Media Server
Plex Media Server on Windows deserializes untrusted data, allowing a remote, authenticated attacker to execute arbitrary Python code. The flaw is a CWE-502 deserialization issue rated CVSS 3.1 7.2 (HIGH). It matters because a media server is often internet-exposed and holds credentials and library data.
Description
Deserialization of Untrusted Data in Plex Media Server on Windows allows a remote, authenticated attacker to execute arbitrary Python code.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityCVSS 7.2 with KEV listing, public exploit references and very high EPSS, though exploitation requires authenticated access.
What it is
Plex Media Server on Windows deserializes untrusted data, allowing a remote, authenticated attacker to execute arbitrary Python code. The flaw is a CWE-502 deserialization issue rated CVSS 3.1 7.2 (HIGH). It matters because a media server is often internet-exposed and holds credentials and library data.
Impact
An attacker with valid credentials gains arbitrary Python code execution in the context of the Plex Media Server process, leading to full compromise of the host and its data.
Attack surface
Reached over the network (AV:N) with low attack complexity (AC:L) and no user interaction (UI:N), but it requires high privileges (PR:H), meaning the attacker must already hold an authenticated account on the server.
Exploitation
CVE-2020-5741 is listed in CISA KEV (added 2023-03-10) and has an EPSS 30-day probability of 0.72936 (99.4th percentile), and references carry Exploit tags, indicating public exploit code exists. No ransomware campaign use is documented.
What to do
- Apply the vendor update for Plex Media Server on Windows per Plex instructions; this is the required KEV action.
- Restrict network exposure of the Plex Media Server management and API interfaces to trusted networks or a VPN.
- Audit and minimize Plex accounts with server access, and enforce strong unique credentials and MFA where supported.
- Monitor for unexpected Python processes or child processes spawned by the Plex Media Server service.
Detection
- Alert on Plex Media Server spawning python.exe or other unexpected child processes.
- Monitor Plex server logs for anomalous authenticated API requests or deserialization-related errors.
- Hunt for new files or scripts written to Plex data, plugin, or temp directories.
- Review network flows to Plex management ports from untrusted sources.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2020-5741 to the Known Exploited Vulnerabilities catalog on 10 March 2023 as "Plex Media Server Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 31 March 2023.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/158470/Plex-Unpickle-Dict-Windows-Remote-Code-Execution.html | ExploitThird Party AdvisoryVDB Entry |
| https://www.tenable.com/security/research/tra-2020-32 | ExploitThird Party Advisory |
| http://packetstormsecurity.com/files/158470/Plex-Unpickle-Dict-Windows-Remote-Code-Execution.html | ExploitThird Party AdvisoryVDB Entry |
| https://www.tenable.com/security/research/tra-2020-32 | ExploitThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-5741 | US Government Resource |
Track CVE-2020-5741 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-5741), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.