r/PlexMedia • • Oct 17 '26

Linux Help WARNING plex docker containers seemingly contain malware or have a vulnerability

Just noticed that the docker image docker.io/plexinc/pms-docker:1.43.3.10828-00f62d37d starting hogging my CPU 100% and its a crypto miner.

I think plex has a vulnerability that allows attackers to launch the miner from outside.

I am very glad im separating everything very nicely so they only could have access to my media files read only and plex database configuration files.

Maybe that is the missing push into the direction of jellyfin?

Also very concerning: the mods at r/plex immediatly removed my post which had identical screenshot and text. i guess they dont want the plex users to know?

202 Upvotes

126 comments sorted by

8

u/br0kenpixel_ Oct 17 '26

It is possible that it's not the image, but you got infected. Luckily I'm using `lscr.io/linuxserver/plex` instead and I haven't noticed anything.

I recommend checking this, it's worth it to set up some hardening, or CPU/memory limits at minimum.

0

u/feedc0de_ Oct 17 '26

Hi im already hardening as hard as i can, using kubernetes and turning on all hardening options i could find before the applications stop working. for example readonly rootfs and dropping more privileges and more stuff :) i have a loooot of monitoring on all namespaces/deployments/pods and i get alerted when things like these happen. didnt happen in 5+ years before and nothing else is infected. im hosting 100+ public services so the attack surface is large. i really think plex itself has a vulnerability which allows unauthenticated attackers to place executables and launch them

2

u/br0kenpixel_ Oct 17 '26 edited Oct 17 '26

There were a few vulnerabilities in the past few months. And there is a newer version available so I'd recommend stopping plex, removing the image and pulling the latest one.

Edit: Maybe you got infected trough this one? I remember Plex sending out e-mails some time ago.

1

u/N9bitmap Oct 17 '26

Maybe, but that one requires authenticated privileges, so would need to be combined with password or auth token compromise.

1

u/New-Independence2031 Oct 17 '26

I think this is it.

1

u/Loadingdread Oct 21 '26

“I’m hardening has hard as I can”. Doesn’t install an update in months.

1

u/ObsidianJuniper Oct 19 '26

Kubernetes isn't going to make it magically hardened. And while I run a multi node kubernetes cluster (and Tanzu), what is moving from docker to kubernetes going to solve? Actually it's going to add unnecessary complexity to it that will probably open you up to more problems.

Taken from a reddit post

"Plex was originally built as a monolithic application. It does not natively support horizontal scaling (you cannot spin up multiple Plex containers sharing the same database to handle more users). Because of this architectural limitation, the choosing criteria shifts heavily toward ease of maintenance, updates, and hardware access.

I personally run Plex as a systems service. Why? Because I've been running Plex so long, long before the image was available.

Id focus on ensuring your infrastructure itself is secure.

4

u/redbeardgecko Oct 17 '26

This just happened to me too a couple hours ago. Same miner. I had not updated Plex in a long time. Probably exploited an old vulnerability.

1

u/double-you-dot Oct 19 '26

Which version are you running?

0

u/feedc0de_ Oct 17 '26

I installed diun to my kubernetes cluster now im getting notified on the phone when there is an update :)

2

u/hcornea Oct 17 '26

Do both of you have 32400 opened directly to the internet, or via proxy?

2

u/redbeardgecko Oct 17 '26

Directly open.

1

u/sapopeonarope Oct 20 '26

Rule 1988 of the internet: Don't leave default ports directly open.

1

u/hcornea Oct 18 '26

I guess the vulnerability is most likely exploited that way.

1

u/ejpman Oct 19 '26

I think they were asking what version were you running when you were compromised.

2

u/JaySmo16 Oct 17 '26

Holy shit I’m still relatively new to self host. I’m assuming yes but that’s the official plex docker image???

Are you self hosting anything else with public access? Is everything up to date? You’ve got me nervous as hell rn.

-6

u/feedc0de_ Oct 17 '26

if it helps, something like this didnt ever happen to me since more than 5 years and im already taking great care for security (using kubernetes, adding extra hardening).
I find it very concerning that r/plex seemingly doesnt want this news to be spread.

3

u/AllomancerJack Oct 19 '26

Wtf do you think K8s does?

1

u/kennymac6969 Oct 18 '26

They released the information previously. It is starting to get out now.

40

u/Swamper68 Oct 18 '26 • Heartwarming

What?

You mean the exploit that Plex warned us all about a couple of months ago?

The one where they sent out millions of emails to lifetime pass members and anyone that had registered to the plex website saying you need to update your server NOW!!!?

The one that everyone here and other subs were talking about for days saying how dare Plex tell us what to do? That this update is probably enabling some nefarious plex upgrade that none of us will like?

yup. nope.

Plex didn't tell anyone about this exploit at all. We should all rebel!!! Them dang plex employees trying to protect us.... When will the internet ever be the same???

8

u/DivusJulius44bc Oct 19 '26

My email said 1. 43.3 was the version that addressed the vulnerabilities. OP says thats the version that got powned.

I understand your sentiment in principle but in this case no

2

u/PCgaming4ever Oct 20 '26

Yes exactly Plex messed up they need to specify better. Not saying I shouldn't have updated more but I made sure to update as soon as the email was sent out and the version to download at the time was 1.43.3.108xxxx and they said after 1.43.2

1

u/flinch987 Oct 20 '26

Important distinction, if you got the email anytime after Aug 4 2026, the current version at the time was 1.43.3.10861 which specifically addressed the exploits Plex was talking about on their Sept 1 forum post - https://forums.plex.tv/t/important-security-update-for-plex-media-server-v1-43-2-and-earlier/942319

If you got an email before Aug 4th that said the same thing, I'm more than willing to be wrong an apologize :)

1

u/The-Nice-Guy101 Oct 21 '26

So still but what's the current version?

1

u/anotherzombiedrone Oct 23 '26

In my email they do not explicitly address anything, it does say 1.43.3 released to address security concerns, bit doenst actually mention what those concerns are or that this is related to a serious vulnerability.

1

u/AnnaPeaksCunt Oct 23 '26

This. The email was super generic and gave no indication to the urgency.

2

u/Misterguy123456 Oct 20 '26

Yeah the guy never updated

2

u/MauriceDynasty Oct 19 '26

If you read it he is using the "fixed" version Plex said to update to. Otherwise your snark would be well placed.

3

u/laffer1 Oct 19 '26

Was it infected before the update?

2

u/Cherry-PEZ Oct 19 '26

It's a container, there is no before hand, the new image itself would have to have the vulnerability as containers are ephemeral, there's no carry over there. Upgrading would be pulling down the new upgraded image, stoping the old one and starting a new container. Unless they were running a container with a vulnerable image, upgraded plex manually inside said container, and that somehow persisted the vulnerability. Which I doubt.

1

u/laffer1 Oct 19 '26

Containers can have persistent storage

1

u/Cherry-PEZ Oct 19 '26

Their vulnerable code doesn't, and does this exploit plant something on the persisted volume? Which is just a mount mapping on the host or from the network? Does plex write code or binaries to the persisted volume and depend on it? No it doesn't

1

u/skylord_123 Oct 20 '26

This is actually wildly inaccurate. Have you ever actually checked the persisted volume? There are binaries, plugins, etc.

1

u/Cherry-PEZ Oct 20 '26

Does the exploit persist by installing something into the persistent volume, so that it survives upgrading to a new image version? Probably should of worded my response to be less snarky. My point was it's unlikely the vulnerability carries over from one version to another via the persistent volume, what's more likely is it's either still vulnerable, or it's a new vulnerability that's being exploited. If it were, the "fixed" version plex said to update to would have included instructions to wipe the volume. So no, not highly inaccurate.

2

u/BagMostlyWater Oct 21 '26

the malware embeds in the plex server data. That data is obviously doing to be persistent.

3

u/flinch987 Oct 20 '26

OP actually isn't though, they're using a build from July; the build that fixed it was released Aug 4th almost a month before their forum post about updating to the latest version.

The only thing I will concede is that Plex did make it ambiguous by suggesting ANY build of 1.43.3 was patched, where I believe they meant the "final version" of 1.43.3 (by not including a build number at all) which is in fact the Aug build ver before they moved to 1.43.4.xx numbering.

1

u/kester76a Oct 19 '26

Don't remember getting an email but I'm running truenas store version.

1

u/MadShoeStink Oct 21 '26

The NAS versions are slow to update because they rely on the NAS vendor. I just checked and pulled the latest for my NAS today because of the other new RCE vulns that just came out.

It was a manual download and install from within the NAS console but the Plex console did tell me it was needed and would need to be a manual update.

1

u/thesandman00 Oct 23 '26

Try again....

0

u/Tucsondirect Oct 18 '26

funny... i never got an e-mail

3

u/lunarson24 Oct 19 '26

Just because you forgot to read the email doesn't mean the email wasn't sent out.

1

u/thesandman00 Oct 23 '26

Just because you got an email doesn't mean everyone did

1

u/lunarson24 Oct 23 '26

It was widely known and again this is a circular argument. Just because you didn't read the email doesn't mean you didn't get it...

Part of hosting your own services is staying aware on what vulnerabilities are present. You can't fire and forget or are you going to run into these sorts of problems?

0

u/_Quasifrodo_ Oct 23 '26

“It was widely known” in a thread where the point is someone didn’t know lol

1

u/Idiotan0n Oct 19 '26

And that it was all over the website

0

u/Tucsondirect Oct 19 '26

i literally have zero reason to visit their site normally. I was not affected as i fairly regularly update my main server after testing that things don't break on a test server... And my server is not exposed directly to the internet... but still feel like a warning in the clients or server management pages would have been a really good idea on a security issue this severe

1

u/Tucsondirect Oct 19 '26

So email does in fact have a search function... and i don't have spam filtering.... I also never delete messages (i REALLY should .... but my inbox goes back to 2004......

1

u/dragonmaster32 Oct 19 '26

I also received no email, and have not heard of this until now.

1

u/dingBat2000 Oct 19 '26

Me either. These arrogant twats above are clueless

1

u/-CerN- Oct 21 '26

Same no email.

2

u/ObsidianJuniper Oct 18 '26

Did remote access stop working on your server? I got the email and had users complaining that they could not access.

0

u/Tucsondirect Oct 19 '26

no, but i saw the writing on the wall last year and went tailscale, with some unique port knocking for non tailscale clients

1

u/GrayNoise90 Oct 19 '26

Same here dude. Lifetime plex pass for 10+ years and not a single email about this. I got other junk lol

1

u/Imhal9000 Oct 19 '26

Neither did I

8

u/West-Ticket5411 Oct 19 '26

Going to guess you didn't update when Plex and tons of cybersecurity people warned to update in early September when they patched it.

1

u/siedenburg2 Oct 19 '26

There are still many people out there that "think" that updates are bad, break stuff and include more tracking etc. While still true, they also fix security stuff in a time where a 11 year old could use ai to hack nearly everything. I see the same behaviour in smartphones "oh, I don't update, I don't even know my pin", if they would update on a regular basis they would know it.

4

u/ilikeror2 Oct 19 '26

Update your stupid title, it’s misleading to think that the container came with malware. This is your own fault for not updating or having loose security.

3

u/drtenant89 Oct 19 '26

Does plex via docker do intel quicksync

1

u/dorsanty Oct 19 '26

It can if the container is passed the /dev/dri device.

It is equally likely people have dedicated GPUs passed to Plex for transcoding and have given compute access to the container, which would be perfect for this mining exploit.

1

u/fiyawerx Oct 19 '26

It does. Even works running it in something like K3S

1

u/CarloGaudreault Oct 19 '26

Runs perfectly well on an i5-7600k with unRAID 🍿

2

u/Snowydeath11 Oct 17 '26

You must’ve gotten infected. I haven’t had the issue but I’ve also kept mine up to date. I know there was a patch recently for security that everyone was told to update to.

2

u/Bekkenes Oct 19 '26

Why are people running old versions of Plex , especially when running in docker. It takes seconds to update.

1

u/DYMAXIONman Oct 22 '26

Can't you just configure Plex to Auto upgrade?

1

u/Kazzaw95 Oct 19 '26

9 time out of 10 it doesn’t even actually kill my viewers streams either lol

2

u/IanYates82 Oct 19 '26

There's an exploit. Another post on here had a link to the fantastic write-up of how it was chained together. Plex patched it in September apparently

2

u/Electro-Grunge Oct 19 '26

This is the official docker image or one of the various other maintainers image? 

1

u/laffer1 Oct 19 '26

This year has been one of the worst for security issues on record. Patch all your systems regularly. There are remote code execution issues on the Linux kernel too.

You need to patch whether or not you get an email regularly

1

u/bakkamono Oct 24 '26

But not too regularly… There have been some supply chain attacks lately

1

u/dammitiam Oct 19 '26

I had a bitminet on my PC and the only thing I can think of is when ChatGPT took over my pc to fix something on computer.

1

u/kryptalivian Oct 19 '26

Mine was hit :-(

1

u/FootSensitive3763 Oct 19 '26

Weird question, how do I check if I am infected? I set up Docker on my NAS via YouTube a while ago and I am unsure what I would need to do

1

u/trizzatron Oct 19 '26

I love that you figured out that a cryptominer was maliciously installed but didnt figure out how to update Plex?

1

u/niggesmalls Oct 19 '26

Mine was hit, had system usage at 97% steady. I couldn’t even load a show or movie it would just timeout

1

u/akropp99 Oct 20 '26

Can I just have it mine crypto for me?

1

u/John-Prime Oct 20 '26

I've been a plexuser and lifetime Plex pass holder for well over 10 years let's be honest I've been with the project back when it was Xbox media center and I didn't receive an email.

1

u/Odd-Art7602 Oct 20 '26

Sounds like you’re talking about the client rather than the docker container for the server.

1

u/John-Prime Oct 20 '26

Yeah I understand Xbox media center was one piece of software that went out and found all the files and did all the scraping and everything by itself created its own database and when Plex came out they kind of invented the separate software and server if my memory is correct that was like 2007-2008 somewhere around them. Complex pass first came out we were doing it monthly it was like 7 bucks or something but after about a year that went right to a lifetime subscription and have many user ever since

1

u/Moose_knucklez Oct 20 '26

How is your IP facing your wan on your server out of curiosity ? Tailscale ?

1

u/S0ulSauce Oct 20 '26

If you don't update, you'll eventually get bitten... especially when they clearly announced the need to due to a serious exploit.

1

u/flinch987 Oct 20 '26

While the warning issued on Sept 1 was a bit misleading by only saying you needed to be on 1.43.3, they also said "the latest version", which at the time was actually 1.43.4.10903.

The "Fixed version" of 1.43.3.10861 was released Aug 4 and the last version of 1.43.3, so arguably one could say the did advise to update to the latest version of 1.43.3 available at the time of disclosure.

OP is warning against an update thats almost 4 months old at this point, I can see why r/plex deleted their post.

1

u/antmatt Oct 20 '26

it is fuckin incredible how these guys are able to come here and post this shit, yet missed all of the warnings, announcement, hack reports etc

1

u/The-L2D Oct 20 '26

laughs in jellyfin

1

u/Efficient_Sky_2068 Oct 17 '26

Oh dear, there was me thinking docker was supposed to be the safest way to run Plex. I wonder how they got into the container, some insecure port it opened? Do your firewall logs show it regularly blocking stuff? Any evidence of it ‘breaking out’ of your docker container and onto your host?

1

u/AllergicToBullshit24 Oct 20 '26

Docker is dangerous because it runs as root so escapes are particularly dangerous. Podman is Docker but runs as non-root and is considerably more secure.

1

u/br0kenpixel_ Oct 17 '26

It's only safe as long as the application itself it safe. Plex (like any other software) has vulnerabilities. And since this is a cryptominer, hardening won't really help since it does not need any special privileges, just access to a CPU and memory, which any process can do.

1

u/Efficient_Sky_2068 Oct 17 '26

I admit I don’t have much cybersecurity knowledge, but I’d have thought the only way the hack could come is from a malicious client connecting to the exposed Plex port. I wonder if there are hackers scanning the internet for port 32400

2

u/godkillax Oct 17 '26

Checkout Shodan.io for port 32400 Not a bad idea to put your public IP address to see what visible.

1

u/lsx_376 Oct 19 '26

Many don't from the hits mine get but I tried to secure my firewall policy as much as possible to insulate any blowback from it if anything does happen. I get various attempts but my firewall blocks it. I block lots of random countries too.

1

u/5yleop1m Oct 19 '26

but I’d have thought the only way the hack could come is from a malicious client connecting to the exposed Plex port.

That doesn't have anything to do with how Plex is installed/distributed.

Note that you're possibly mixing up things. The cases where people are finding crypto miners on their Plex system seems to be due to a vulnerability in older versions (older than 1.43.3) of the Plex server.

This isn't something like a supply chain attack where someone got a hold of the system that builds containers for things like docker to quickly download and deploy.

What happened here is that Plex the software had a bug that allows bad things, that was fixed and Plex released a disclosure about it, and now bad actors are acting on that information. People who didn't update even after the disclosure are now getting caught in the rush to find vulnerable systems.

I wonder if there are hackers scanning the internet for port 32400

There are countless automated systems scanning ports all the time, its part of the norm on the open internet.

1

u/nath999 Oct 17 '26

I think you are behind after they sent out the notice for security vulnerability. I believe the patched version was suppose to be 1.43.3.10896

1

u/New-Independence2031 Oct 17 '26

You are running way too old version.

1

u/cd7k Oct 17 '26

Yep, just found the same... only knew cos fans were blowing hot. took some finding! wonder how the hell that got in there!?

1

u/double-you-dot Oct 19 '26

Which version are you running?

2

u/cd7k Oct 19 '26

1.43.3.10793

1

u/ShiznomaticMemes Oct 18 '26

Similar thing 8 hours ago here. Botnet malware found on my machine after hearing my server fans whining. Miriad family type.

Goes to show, keep your software up to date in an age where exploiters are right behind the curve

1

u/double-you-dot Oct 19 '26

Which version are you running?

1

u/punkerster101 Oct 18 '26

So a friend Machine did this yesterday it is a venerability an attacker installs “codecs” via your exposed web port and it starts mining

1

u/cd7k Oct 19 '26

Yep, so zz*.so files. Did some digging with LLM and got this from the Plex logs:

The key entries show WAN requests using a signed-in Plex token for <USERNAME>. They set TranscoderH264Options to dump-yuv=.../Codecs/.../zz*.so, then clear it. One request targeted Plex’s persistent /config folder and received a successful response; the miner process started later that afternoon. Your logged Plex version, 1.43.3.10793, predates the Plex fix that stopped those transcoder preferences being changed over the network.

1

u/ILooveCats Oct 18 '26

Happened to me as well! Thanks for the post!

1

u/double-you-dot Oct 19 '26

Which version are you running?

1

u/a3Dman Oct 18 '26

after tracing, this was the issue my OVH dedicated server was banned...

1

u/gacpac Oct 18 '26

Faack I'm going to check this out

1

u/prene1 Oct 19 '26

Damn that’s what it is!!!!! Flip!!!!!

1

u/Numbajuan Oct 19 '26

What’s the best way to monitor this regularly if I have this running in the background with one of my VMs?

1

u/Dextive69 Oct 19 '26

How would one get rid of the miner? Would updating Plex be enough?

2

u/seniledude Oct 19 '26

I wouldn’t try getting rid of the minor, I would delete the virtual machine or LXC that has it and rebuild up the whole thing

1

u/cd7k Oct 19 '26

Probably going to need to delete the codec zz*.so files that it also installed.

1

u/narcabusesurvivor18 Oct 19 '26

Miner? I hardly know her

1

u/Early_Mongoose_8758 Oct 19 '26

What image was this from ?

1

u/motd2k Oct 19 '26

Watchtower, people.

1

u/grayum_ian Oct 21 '26

watchtower is dead, and thats why me and this guy got hacked. Don't push watchtower.

1

u/Ummgh23 Oct 21 '26

I use Dockhand now and it is incredible

1

u/tek_aevl Oct 19 '26

what was the command you ran to see that

0

u/RxBrad Oct 17 '26

I strongly suspect this is the new Loudness Analysis going through all of your video media.

It's a huge CPU hog and takes weeks to go through a moderately large library.

3

u/-Copenhagen Oct 17 '26

Did you look at the screenshot at all?

3

u/RxBrad Oct 17 '26

Apparently not. I looked over the highlighted part like a big dumb dummy.

Yeah, that looks shady.

2

u/-Copenhagen Oct 17 '26

Sometimes highlights have the opposite effect :-/

0

u/Ecchigo123 Oct 19 '26 edited Oct 19 '26

I use the latest from linuxserver/plex - why the hell is a miner in that?

EDIT: I looked up if I was infected - no it was just my girl using plex so it was doing some work.

I looked it up with claude. But it was worth it. Cross checked the output + the logs and im safe.

-1

u/RazorKat1983 Oct 20 '26

fake news............I installed the same thing, and i'm fine. So you apparently got ahold of a wrong file.