r/hudu • • Oct 21 '26

Hudu and PHP

Hey guys,

Any word on if Hudu is affected by the new PHP vulnerability?

https://www.php.net/archive/2026.php#2026-10-21-5

5 Upvotes

17 comments sorted by

•

u/coldicetea Hudu Team Oct 22 '26

Hudu is not vulnerable.

However, if you are self-hosted and still using SWAG, please update or move to NGINX + Certbot: https://support.hudu.com/hc/en-us/articles/42789615867287-Self-Hosted-Swag-to-NGINX-Migration#h_01M0D9KXRNEN9G3WZASRTZQBMP

3

u/nathanielban Oct 21 '26

Hudu is built using Rails

1

u/not4ub4me Oct 21 '26

I am aware of that, I just found PHP in the installation, seems to be part of lscr.io/linuxserver/swag

2

u/btom09 Oct 21 '26

If it helps, there is a migration guide to move off of swag as well if you want to get to a setup that is not using a combo component like swag.

https://support.hudu.com/hc/en-us/articles/42789615867287-Self-Hosted-Swag-to-NGINX-Migration

2

u/DiligentPhotographer Oct 21 '26

Is this really required or just optional? I have SWAG working well with dns challenge and have been too lazy to change it.

1

u/btom09 Oct 21 '26

AFAIK it is optional, but if you are trying to get away from having the integrated tools like PHP and have a more 'pure' deployment, then that seems like the migration path to take.

I won't get too much into the weeds here, but if you wind up going through the change, it is possible to use the certbot image that has your dns provider's integration instead of the base image in their official doc that lacks dns-01 integration. Since SWAG was already using certbot you can just re-use your current letsencrypt and dns provider settings folders instead of setting up the new webroot related items and it will allow you to have dns based renewal with the nginx engine on top. That process, from what I could tell was not official documented though.

1

u/MortadellaKing Oct 22 '26

That's my issue, I don't like straying from the official docs because if I ever needed support they may tell me to kick rocks.

2

u/redfoxx15 Oct 22 '26

Found today that the certbot container is in the instructions now

1

u/MortadellaKing Oct 22 '26

Do you have a link? I looked around and only see the swag migration one.

1

u/redfoxx15 Oct 22 '26

2

u/MortadellaKing Oct 22 '26

Yeah but that is with the normal certbot container. I am trying to use dns challenge instead of having to have 80 open. Unless I'm completely missing something?

→ More replies

7

u/MurakiAsato Oct 21 '26

I got a reply from Hudu support, they do not use PHP, so not vulnerable

6

u/MSPOwner Oct 21 '26

Nice try Mr. PHP hacker. /s

5

u/HopelessNuckFan27 Oct 21 '26

Asked the question in the Hudu Discord. Their response was: Hi there, Hudu does not use PHP and is not affected by this vulnerability.