Two critical remote code execution flaws in PHP itself (CVE-2026-109618 and CVE-2026-109619, Patchstack alert) are being exploited at scale. Pi-hole v6 is not affected, as it does not use PHP: since v6.0 (released 2025-02-18) the web interface is served by the web server built into FTL, and neither FTL nor Pi-hole Core contain PHP. The current Docker image (2026.10.0, based on Alpine) does not contain PHP or lighttpd either. See Introducing Pi-hole v6.
Pi-hole v5 did use PHP through lighttpd. v5 is end of life, so please update to v6. If you upgraded from v5 on bare metal and kept lighttpd enabled, or never removed the old packages, PHP may still be installed on your system. Update it with your package manager, or remove lighttpd and PHP if nothing else uses them. This also applies to any other PHP software on the same machine.