> ## Content Index
> Fetch the complete content index at: https://dampsnag.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Plex2Shell: Four Bugs Chain to Unauthenticated RCE. Update Past 1.43.3.10861 and Check for Compromise
- URL: https://dampsnag.com/blog/plex2shell-plex-update-check/
- Published: 2026-10-22T18:18:34.000Z
- Updated: 2026-10-22T18:18:34.000Z
- Description: Four Plex Media Server bugs chain into unauthenticated remote code execution. They're fixed in 1.43.3.10861, in CISA's KEV catalog, and being used to drop miners and residential proxies. Here's how to check your version, update, and look for compromise.
- Author: DampSnag
- Tags: Security, Self-Hosting, Patching

If you run Plex Media Server and the box listening on port 32400 is reachable from the internet, treat this as a patch-and-hunt day. Four bugs fixed in build 1.43.3.10861 chain into unauthenticated remote code execution as the Plex service user. The researcher who found them, Zach Main ([code-zm](https://github.com/code-zm/plex2shell)), called the chain Plex2Shell. Plex says it is being actively and widely exploited. CISA put all four CVEs in its Known Exploited Vulnerabilities catalog on 20 October.

**In short:** anything older than 1.43.3.10861 is vulnerable. Check Settings → General in Plex Web, or ask the server itself with a curl to `/identity`. Update, then look for the indicators Plex named (odd child processes, strange files in Codecs, outbound traffic to `proxystream.st`). If the server was internet-facing and unpatched after mid-October, assume compromise and rebuild. Stop forwarding 32400; use Tailscale or WireGuard instead.

Public details and working exploit code appeared between 16 and 18 October. By the morning of 17 October AEDT (UTC+11), an internet-facing honeypot was already seeing live attacks. Compromised servers have been used to run cryptocurrency miners and residential-proxy software that routes other people's traffic through the victim's connection.

**Jump to:** [What's affected](#whats-affected) · [How the chain works](#how-the-chain-works) · [Timeline](#timeline) · [Is anyone being hit?](#is-anyone-being-hit) · [Check your version](#check-your-version) · [Update](#update) · [Hunt for compromise](#hunt-for-compromise) · [If you were hit](#if-you-were-hit) · [Stop exposing port 32400](#stop-exposing-port-32400) · [My take](#my-take)

## What's affected

Plex Media Server **before 1.43.3.10861**. The four CVEs are [CVE-2026-96652](https://nvd.nist.gov/vuln/detail/CVE-2026-96652), [CVE-2026-96654](https://nvd.nist.gov/vuln/detail/CVE-2026-96654), [CVE-2026-96655](https://nvd.nist.gov/vuln/detail/CVE-2026-96655) and [CVE-2026-96656](https://nvd.nist.gov/vuln/detail/CVE-2026-96656). Taken one by one they score medium to high. Chained together, Main rates the result 9.8.

The same release also fixed a separate path-traversal issue, [CVE-2026-96651](https://nvd.nist.gov/vuln/detail/CVE-2026-96651). That one is not part of the Plex2Shell chain and is not in KEV. I'm mentioning it only because it rides on the same update.

As of 23 October, the current public build on [plex.tv downloads](https://www.plex.tv/media-server-downloads/) and the `plexinc/pms-docker:latest` tag is **1.43.5.11029**. Anything at or above 1.43.3.10861 is outside the chain.

You are most at risk if the server accepts connections from the internet on port 32400 (or any other published port that reaches PMS). LAN-only servers are much less exposed to the unauthenticated start of the chain, but you should still update.

## How the chain works

I'm describing this by the steps in [Main's write-up](https://zmain.info/blog/plex2shell), not by pinning each step to a CVE number. The four CVE records, Plex's notice and the researcher's README don't agree on which label belongs on which step, and quoting NVD wording for the chain would just add confusion.

1. **Unauthenticated SSRF into loopback.** The player-timeline endpoint checks that an `X-Plex-Token` header is present, not that the value is valid. A junk token is enough. The `protocol` parameter is put into a callback URL with no validation, so an attacker can make the server POST to itself on `127.0.0.1`.
2. **Loopback opens the agent API.** Requests that really come from loopback can reach `/system/agents/*` with no token. A broken guard on `searchOne` plus an unsanitised identifier lets the attacker forge a call to any plugin function.
3. **Owner token theft.** One of those plugin functions fetches a URL. If the URL string starts with `http://127.0.0.1`, Plex attaches the owner's admin token before sending it. A hostname that starts with that prefix but DNS-resolves to the attacker (for example via sslip.io) returns the token.
4. **Arbitrary write into Codecs.** With the owner token, the attacker sets the `TranscoderH264Options` preference so that a transcode writes decoded frames to a path of their choosing under the Codecs directory, then points the transcoder at a crafted video. The write is bit-exact.
5. **Unsigned load.** On the next transcode, Plex's codec loader `dlopen`s every `.so` in that directory with no signature check. A planted shared object runs as the Plex user.

The discovery process used LLMs heavily for recon and hunting. Main is clear that the judgment calls were his; the models sped up the work rather than replacing it.

## Timeline

All times below are UTC, with AEDT (UTC+11) in brackets.

| When (UTC)     | AEDT              | What happened                                                                                                                                      |
| -------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| 27 Jul 2026    | same calendar day | Reported to security@plex.tv                                                                                                                       |
| \~3–4 Aug      | \~4–5 Aug         | Fixed build 1.43.3.10861 ships                                                                                                                     |
| 1 Sep, 18:30   | 2 Sep, 5:30 am    | [Plex forum notice](https://forums.plex.tv/t/important-security-update-for-plex-media-server-v1-43-2-and-earlier/942319) asking everyone to update |
| 23 Sep         | same day          | Four CVEs published                                                                                                                                |
| 16–18 Oct      | 16–19 Oct         | Public write-up and working exploit code                                                                                                           |
| 17 Oct morning | 17 Oct afternoon  | First in-the-wild hits on a honeypot (BoredHackerBlog)                                                                                             |
| 19 Oct, 20:17  | 20 Oct, 7:17 am   | Plex updates the notice with CVE details and says exploitation is active and widespread                                                            |
| 20 Oct         | same day          | [CISA adds all four to KEV](https://www.cisa.gov/news-events/alerts/2026/10/20/cisa-adds-six-known-exploited-vulnerabilities-catalog)              |

Federal due dates under BOD 26-04 are 23 October for CVE-2026-96654 and CVE-2026-96656, and 3 November for the two SSRFs. Those deadlines apply to US federal agencies; everyone else should treat them as a hint about priority.

## Is anyone being hit?

Yes, with a caveat about scale.

Plex's 19 October update says the bugs "are being actively and widely exploited" and that compromised servers have been used for cryptocurrency miners and proxy software. The only public, detailed telemetry I've found is [BoredHackerBlog's honeypot report](https://www.boredhackerblog.info/2026/10/plex-vulnerabilities-being-exploited-in.html) from 17 October. That honeypot saw the full chain starting that morning, then downloads that turned out to be XMRig and a binary called `myawesomeproxy` that phones home toward `proxystream.st`. Plex later named the same process names (`myawesomeproxy`, `mylovelyminer`, `x12345`) and the same domain in its indicators.

So: active exploitation is confirmed. "Widespread" is Plex's word. Outside that, the public evidence is one honeypot and the usual secondary coverage ([BleepingComputer](https://www.bleepingcomputer.com/news/security/cisa-hackers-chain-plex-flaws-in-plex2shell-attacks-to-breach-servers/) and others).

## Check your version

In Plex Web: **Settings → General**. You want 1.43.3.10861 or newer.

From the host (or any machine that can reach the server on the LAN):

```bash
curl -s http://127.0.0.1:32400/identity

```

The response is a short XML document. Look for a `version=` attribute. Anything below `1.43.3.10861` is vulnerable. If you get a short `Maintenance` response saying the server is running database migrations instead, it has just started or updated; wait half a minute and try again. If you've published the port, the same check works from outside; don't leave it that way.

On Debian/Ubuntu packages you can also ask the package manager:

```bash
dpkg-query -W -f '${Version}\n' plexmediaserver

```

## Update

**Native Linux (Debian/Ubuntu).** Use Plex's package repo or download the `.deb` from the [downloads page](https://www.plex.tv/media-server-downloads/), then:

```bash
sudo apt-get update && sudo apt-get install --only-upgrade plexmediaserver
# or: sudo dpkg -i plexmediaserver_*.deb

```

Confirm with Settings → General or `/identity` afterwards.

**Docker (`plexinc/pms-docker`).** Pin a fixed build or restart a `public`/`latest` tag so it pulls current. The data directory is the volume mounted at `/config`:

```bash
docker pull plexinc/pms-docker:1.43.5.11029-6bf8af3f0
# stop and recreate your container with that image, keeping the same /config mount

```

If you use the `public` tag, a stop/start is enough for it to fetch the current public build. Recheck `/identity` after it comes back.

**NAS packages (Synology, QNAP, TrueNAS, Unraid, WD, TerraMaster, etc.).** Package managers often lag. Plex's forum post has per-vendor manual-install links. Download the matching package from plex.tv and install it through the NAS app store's "manual install" path.

**NVIDIA Shield.** Update from the Play Store.

## Hunt for compromise

If the server was older than 1.43.3.10861 and reachable from the internet at any point after mid-October, go looking. Plex's own indicators:

- Child processes of Plex Media Server you don't recognise, especially names like `myawesomeproxy`, `mylovelyminer` or `x12345`.
- Unfamiliar `.so` or `.dll` files in the Codecs folder.
- Outbound connections to `proxystream.st`, or sustained high CPU while nothing is playing.

Default data directories (Linux):

| Install                          | Application Support path                                                   |
| -------------------------------- | -------------------------------------------------------------------------- |
| Native Debian/Ubuntu             | /var/lib/plexmediaserver/Library/Application Support/Plex Media Server     |
| Official Docker (/config volume) | <host-path>/Library/Application Support/Plex Media Server                  |
| Snap                             | /snap/plexmediaserver/common/Library/Application Support/Plex Media Server |

Useful checks (read-only):

```bash
# Preferences: look for a TranscoderH264Options attribute you didn't set
# (no output is normal: Plex only saves settings you've changed from the default)
grep -oE 'TranscoderH264Options="[^"]*"' \
  "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml"

# Codecs: list recent shared objects
find "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs" \
  -type f \( -name '*.so' -o -name '*.dll' \) -printf '%T+ %p\n' | sort

# Live processes: what is Plex's parent tree doing?
ps -ef | grep -iE 'plex|myawesomeproxy|mylovelyminer|xmrig|x12345' | grep -v grep

# Outbound sockets (needs root for other users' processes)
sudo ss -tnp | grep -iE 'plex|proxystream'

```

Without `sudo`, `ss` still lists the sockets but quietly leaves the process names blank for anything owned by another user, so the grep can come back empty even when Plex is connected. On a Docker install using normal bridge networking, the host shows Plex's port under `docker-proxy` rather than Plex, so look for the container's port instead of the word plex.

Main also shipped a [read-only hunt script and YARA rules](https://github.com/code-zm/plex2shell/tree/main/detection). Run those from a trusted copy of the repo if you want a more thorough pass. BoredHackerBlog published [pcaps](https://github.com/BoredHackerBlog/plex2shell%5Fpcap) from lab and in-the-wild traffic if you're writing detections.

## If you were hit

Plex's advice matches what I'd do:

1. Rebuild from a clean install. Don't reuse the old Plex data directory. At minimum, empty the Codecs folder and check `Preferences.xml` for transcoder options you didn't set.
2. Sign out of all devices from your Plex account settings, and change your Plex password.
3. Treat anything the Plex service account could reach as exposed: mounted shares, credentials on the same machine or VM, tokens in nearby config files.
4. Rotate anything that lived on that host.

A tidy "just delete the miner binary" is not enough. The chain hands the attacker an owner token; they can change more than one preference.

## Stop exposing port 32400

Remote Access under Settings → Remote Access is convenient and is also how a lot of these servers end up on the open internet. If you don't need it, turn it off. If you do need remote streaming, put the server behind Tailscale, WireGuard, or another VPN you control, and stop port-forwarding 32400.

## My take

This is the same pattern as [PHP2Shell](https://dampsnag.com/blog/php2shell-php-update-self-hosters/) and the [GitLab CVSS 10](https://dampsnag.com/blog/gitlab-cve-2026-110264-patch-now/): a self-hosted box that people publish to the internet because it's useful, with a chain that only looks medium until you put the pieces together. The fix has been out since early August. The painful window is the one between the public write-up in mid-October and the moment you actually updated.

If you run other internet-facing self-hosted services, the habits that help here help there too: know the exact version that's running, prefer a VPN over a forwarded port, and have a rebuild plan that doesn't depend on trusting the old data directory. (There's also a [LiteLLM backdoor check](https://dampsnag.com/blog/litellm-backdoor-check-safely/) in the same vein.)

*DampSnag*