Authenticated code execution via unsafe Dict unpickling
Published May 8, 2020 · Updated Oct 21, 2025
Deserialization in Plex Media Server before 1.19.3 on Windows allows remote authenticated users to execute Python code through Camera Upload. The plugin framework's Dict.__load routine passes an uploaded Dict file to Data.__unpickle, which invokes pickle.load without validating its contents. Administrator account access is required to create a photo library, redirect LocalAppDataPath, upload the crafted file, and restart the system plug-in; code runs as the server process user.
Summary
What happened
Deserialization in Plex Media Server before 1.19.3 on Windows allows remote authenticated users to execute Python code through Camera Upload. The plugin framework's Dict.__load routine passes an uploaded Dict file to Data.__unpickle, which invokes pickle.load without validating its contents. Administrator account access is required to create a photo library, redirect LocalAppDataPath, upload the crafted file, and restart the system plug-in; code runs as the server process user.
The record
- CVE
- CVE-2020-5741
- Published
- May 8, 2020
- Updated
- Oct 21, 2025
- Vendor
- Plex, Inc.
- Product
- Plex Media Server
- Classifications
- CWE-502, T1190
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- May 8, 2020CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Versions prior to 1.19.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Metasploit Plex Unpickle Dict Windows RCE modulefunctional · demonstrated
- Tenable authenticated Dict unpickle RCE proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog entryknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo