Plex2Shell: a four-vulnerability chain now hitting QNAP NAS appliances
QNAP confirmed on 6 November that customer NAS appliances were compromised through a chain in Plex Media Server. An analysis of how the chain works, why a NAS is the worst possible host, and why patching does not clean an infection.
What happened
Plex2Shell is a chain of four vulnerabilities in Plex Media Server: CVE-2026-96652, CVE-2026-96654, CVE-2026-96655 and CVE-2026-96656. Researcher Zach Main reported them to Plex on 27 July 2026; full technical details became public on 16 October, and exploitation began shortly afterwards. CISA added all four to its Known Exploited Vulnerabilities catalogue on 20 October and gave federal agencies three days to reach 1.43.3.10861 or later. By 6 November QNAP had confirmed what was easy to predict: it had received multiple reports from customers whose NAS appliances appeared compromised through Plex, with its incident response team assisting them. Earlier reporting counted more than 36,000 publicly reachable Plex servers that had not been patched. An important nuance: QNAP states that the flaws exist only in Plex Media Server, not in QTS or QuTS hero. That is true and simultaneously misleading. The attack was not against the operating system — but the consequences land at operating-system level, because an application has file access, and an attacker who achieves code execution inside the application is looking for exactly that crossing.
How the chain works
Plex2Shell is not a single hole but a sequence: the first link provides entry through a network-reachable surface, the next ones bypass checks and raise privileges inside the application, and the last reaches code execution. Such chains are typical for media servers because their attack surface is not only HTTP: device discovery protocols, remote control, transcoding, and the media-parsing libraries that have historically been fertile ground for memory-safety bugs. For defenders the consequence matters, not the detail: if any link leads to code execution with the privileges of the user running Plex, what follows is no longer an attack on Plex — it is an attack on the host. And on a NAS, the host is a single appliance that holds the data, the shares, the accounts and, very often, the backups of everything else.
Why a NAS is the worst possible host
An office NAS is not "just a disk". It is an always-on device with its own operating system, its own users, usually SMB shares, sometimes domain membership, applications installed from a store, and frequently remote access enabled because that was the easy path. Three properties make it an ideal target:
- It is the backup target. Compromise the NAS and the 3-2-1 strategy stops being true at the moment it matters most. The copies that were meant to survive ransomware become part of the attacker's haul.
- Almost nobody watches it. A NAS rarely has an EDR agent, often no centralised logging, and its admin console is "just for me". Visibility is lower than on servers and workstations.
- One device, many roles. Files, media, virtual machines, cameras, DNS. Every extra role is extra surface, and they all share the same user space.
Add the common practice of forwarding port 32400 to the internet "so Plex works from outside", and you get a device behind a home or office router that is at once publicly reachable and rich in data.
"Updating does not clean" — what that means operationally
QNAP states explicitly that updating does not remove malicious content an attacker has already placed. That is the most important sentence in the advisory, and the most commonly skipped. A patched Plex closes the entrance but does not remove what was left behind: keys in authorised_keys, scheduled tasks, services that start at boot, modified configuration, added users. A device that was compromised and then patched looks clean and is not. Hence QNAP's recommendation: a clean reinstall of the operating system, then a reset of Plex and NAS credentials. In practice that means the following order:
- Isolate the appliance from the network before anything else. Do not delete anything until you have captured state for forensics.
- Record evidence: configuration, user list, authorised keys, scheduled tasks, installed packages, recent logins.
- Reinstall from clean media — do not "restore" a configuration backup, which may carry the same persistence.
- Reset credentials, enable MFA on administrative access, remove the port forward.
- Assume the data that was on the device was available to the attacker, and act accordingly.
How to check whether you were hit
The indicators are not exotic; the problem is that nobody looks for them on a NAS. Worth reviewing:
- unusual logins to Plex and to the NAS administrative console, especially from unfamiliar countries and at night;
- new or modified files in user home directories, in system startup directories and in application folders;
- new SSH authorised keys and user accounts nobody recognises;
- changes to port-forwarding rules and new outbound connections to unknown addresses;
- sudden changes of ownership or permissions across large parts of the filesystem.
QNAP also offers log review through its support portal — reasonable to use if you lack the capacity, but it must not delay isolating the device.
What to do today, regardless of vendor
- If Plex does not need to be externally reachable, turn that off. Every publicly reachable port is a decision, not a default.
- If it does, put it behind a VPN, not a port forward. Plex2Shell is in the KEV catalogue; internet-wide scanning took minutes after the details were published.
- Keep backups out of the NAS's reach. The machine holding the copies must not be the machine holding the originals, and must not be reachable with the same credentials.
- Segment the appliance. NAS devices, cameras and media servers do not belong on the same network as workstations and data servers.
- Inventory what is publicly reachable. Your forwarded-port list should be short, documented and reviewed monthly.
Conclusion
Plex2Shell is not a story about an exotic vulnerability. It is a story about how convenience becomes attack surface: a media server installed in a hurry, a port opened so it works, an appliance nobody monitors, holding the copies of everything. The chain is the technical detail; the architecture is the actual finding.
Sources
- QNAP says hackers breaching NAS devices in Plex2Shell attacks — BleepingComputer
- QNAP security notice: Plex Media Server vulnerabilities (Plex2Shell)
- CISA: hackers chain Plex flaws in Plex2Shell attacks to breach servers — BleepingComputer
- Zach Main — Plex2Shell technical write-up