Homelab

PHP critical RCE fixes (8.5.12, 8.4.27, 8.3.36, 8.2.35): patch your self-hosted PHP apps

On October 21, 2026 PHP shipped fixes for two critical unauthenticated remote-code-execution bugs, CVE-2026-109618 and CVE-2026-109619. If Nextcloud, WordPress, or any PHP container runs in your homelab, update the image.

2026-10-29
Illustration: PHP critical RCE fixes (8.5.12, 8.4.27, 8.3.36, 8.2.35): patch your self-hosted PHP apps
Original illustration by SafeToUpdate (CC BY 4.0).

Verdict: update now. This is one of the rare cases where “wait a week” is the wrong advice.

What happened

Which homelab apps are affected

Anything that runs PHP: Nextcloud, WordPress, Pi-hole’s older web UI, FreshRSS, Firefly III, BookStack, Matomo, phpMyAdmin and more. The PHP version comes from the container image or the host packages, not from the app version.

How to update safely

  1. Check what PHP you run:
    docker exec <container> php -v
  2. Back up first: the app’s volumes and its database dump. See pin tags and back up volumes.
  3. Pull the rebuilt image. Most official and linuxserver.io images rebuild on new PHP releases. Pull, recreate, then run php -v again to confirm the version is 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35 or later.
    docker compose pull && docker compose up -d
    If the image still ships an old PHP, check the project’s release page or issue tracker for a rebuild.
  4. Bare-metal hosts: install your distro’s security update (apt upgrade on Debian/Ubuntu, dnf upgrade on Fedora/RHEL) and restart PHP-FPM.
  5. Still on PHP 8.1 or older? There’s no fix. Move to a supported branch, or at least take the app off the internet (put it behind Tailscale or another VPN) until you migrate.

If you can’t update today

Don’t expose PHP apps directly to the internet. Put them behind a VPN or an authenticating reverse proxy, then update as soon as you can. That reduces exposure, but it isn’t a fix.

📬 The Weekend Patch Report

One email a week: what's safe to update, what will bite, and one practical tip for your homelab or printer.

Free, weekly, unsubscribe anytime.