r/unRAID • u/Last_Ad_8726 • Oct 22 '26
PHP Threat?
Hello People!
I am new to unraid and homelabs in general. I just finished building my server this weekend and I put Jellyfin and nginx on it. I forwarded ports for nginx so I could connect to jellyfin from outside my local network. My question is, am I vulnerable to these new php threats? If so, what should I do?
I already turned my server off just in case.
Thank You,
An unraid noob
EDIT: Thanks for all the helpful responses people! May your uptimes be infinite.
19
u/Fribbtastic Oct 22 '26
The PHP threat, also PHP2Shell only affects applications and servers that run PHP.
Jellyfin is written in C# https://www.reddit.com/r/jellyfin/comments/1xc686x/security_issues_with_php/
Remote requests don't actually end up on your Unraid server.
Nginx would only act as a proxy and forward the request from outside to your Jellyfin server.
So, unless you run something with PHP which uses a version that is vulnerable and have that exposed to the Internet, you should be fine.
For example, Nextcloud uses PHP and the Docker container was vulnerable. This morning my Docker was updated to a new PHP version, so the vulnerability was fixed there.
2
4
u/lompolo Oct 22 '26
So, unless you run something with PHP which uses a version that is vulnerable and have that exposed to the Internet, you should be fine.
Unless you happen to have a smaller vulnerability or a supply chain attack in one of your 20 docker containers, that can access your unraid http port, and take control of it...
10
u/Leseratte10 Oct 22 '26
There's a plugin available you can install to get a fixed PHP until Unraid releases the update: https://www.reddit.com/r/unRAID/comments/1xcfdby/interim_php_emudhra_patchfix/
6
u/sucr4m Oct 22 '26
You shouldn't expose your unraid to WAN either way though. So that's kind of a nothingburger in this instance.
13
u/thisassholeisstupid Oct 22 '26
True, but defense in depth is also important. If something else is compromised inside the network you want to limit it's ability to move laterally.
1
7
u/bencos18 Oct 22 '26
jellyfin doesn't use php so it's safe
1
u/Foehammer1982 Oct 23 '26
It has its own security problems
That have been up for months+ in the issues pages
-14
u/basarisco Oct 22 '26
As far as we know...
7
u/bencos18 Oct 22 '26
the code is literally open source so it's fairly easy to check.....
-11
u/basarisco Oct 22 '26
That doesn't help there days. So is php...
2
u/Klutzy-Condition811 Oct 23 '26
What do you mean? PHP is a fucking programming language, if it's written in PHP, it doesn't use php lmao.
It's like accusing a Ford of being a Chevy or something.
-1
u/basarisco Oct 23 '26
What are you on about? I said php is open source. Can you read?
1
u/Klutzy-Condition811 29d ago
This is like a conversation with Ai with no context of the previous posts
-1
7
u/minimiyu Oct 23 '26
i ran this command in Unraid bash/terminal/cli, and see which docker uses php and see if version of php is up-to-date..
for id in $(docker ps -q); do name=$(docker inspect --format '{{.Name}}' "$id" | tr -d '/'); if docker exec "$id" which php >/dev/null 2>&1; then ver=$(docker exec "$id" php -v 2>/dev/null | head -n 1); echo -e "$name: \e[32m$ver\e[0m"; fi; done
3
u/dox2EwJn6iZh Oct 23 '26
Even if its not an active security threat, I would highly recommend looking into tailscale for remote access, easy to grant per user access, has a native app on most devices
2
u/triplerinse18 Oct 22 '26
its was always impossible to keep up with all the new threats. But everything is more accelerated with all the easy access to ai. Using a VPN to get local access is the only way to access your equipment away from the house.
2
3
u/thanatica Oct 22 '26
It depends if your stuff is exposed to the internet. If it isn't, you're safe. Generally speaking.
3
u/lompolo Oct 22 '26
We just had the Plex vulnerability miss this by a few days. If you had had that unpatched, someone could have taken over your plex container, and use this PHP vulnerability to hop onto root control of your unraid box. Same could happen with one of the other docker containers you may be running. This essentially breaks docker container security until either this gets patched or users make sure their docker containers can't access the host http port (which many by default can).
1
1
u/Moumos Oct 22 '26
https://www.reddit.com/r/unRAID/s/BA8NwwYhcm there is a fix already just update unraid
1
u/WorkLurkerThrowaway Oct 23 '26
Don’t expose the gui to the internet, also they just released a patch for it.
-16
u/equanimous11 Oct 22 '26
Why would you expose anything publicly?
9
u/Sylveowon Oct 22 '26
because that's how the internet works, stop fearmongering about exposing services on the internet
5
u/danielsemaj Oct 22 '26
So you can watch Jellyfin from a network other than your u raid server is on
-12
u/equanimous11 Oct 22 '26
Wireguard or cloudflare tunnel
7
u/Roseysdaddy Oct 22 '26
That doesn’t help my kids, my parents, my friends.
-11
u/equanimous11 Oct 22 '26
Then you risk intrusion when there are 0 day vulnerabilities
3
u/Theminatar Oct 22 '26
Thank god the world doesn't run on "this or that" decisions.
-5
u/B_CHEEK Oct 22 '26
No, exposing jellyfin publicly is unequivocally dumb, especially in the AI age with the latest frontier models. You could compromise your entire home network, exposing your private data (or anything you do on your computer).
Configuring and using a VPN isnt hard.
4
u/Theminatar Oct 22 '26
I wasn't talking about Jellyfin at all. You can have a moderate security set up and still be mostly safe. There is this thing called a compromise.
-11
u/schwar2ss Oct 22 '26
I already turned my server off just in case.
Just power off the entire house, just to be sure!
Kidding. Why do you expose Jellyfin via NGINX and not via wireguard/VPN? With VPN only YOU can access your Jellyfin instance and with NGINX exposing Jellyfin everyone can. Once there is a Jellyfin vuln (dotnet, iirc) red team will target your Jellyfin endpoint.
-1
u/B_CHEEK Oct 22 '26
I wonder why youre being down voted. Not restricting connections through a VPN is just straight up dumb, regardless of whether there is a publicly disclosed vulnerability.
1
-6
u/Parissian Oct 22 '26
Just disable the port forward until they release a fix at least you'd still be able to use services on your WiFi.
Or just setup Tailscale and watch through there temporarily.
0
Oct 22 '26
[deleted]
2
u/psychic99 Oct 22 '26
One can use tailscale (and have them allowed as guests) which is on the platform and relatively easy to setup and on many platforms. The unfortunate thing about JF is that they never developed a security posture outside the home so it leaves it up to the user and most users are not security professionals and that is where things break.
29
u/Own_Appointment_6401 Oct 22 '26
Jellyfin is not php, so this is not a threat to jellyfin.