The emergency security patches for the “PHP2Shell” vulnerabilities (CVE-2026-109618 and CVE-2026-109619) are being rolled out for the currently supported branches of PHP.
According to threat intelligence reports from platforms like Tenable, the specific fixed versions are:
Affected Branch
Minimum Fixed Version
PHP 8.5.x
8.5.12
PHP 8.4.x
8.4.27
PHP 8.3.x
8.3.36
PHP 8.2.x
8.2.35
When can I expect the fixed PHP versions to be available in LocalWP
We were focusing on patching the various PHP environments that the Local team manages (like Local Hub) and which support Local features (like Live Links). Those are all patched now.
I’m currently working through a couple of issues in our CI/CD pipeline for compiling PHP for the various target OSes.
I don’t have a firm ETA on when those will be ready, but not too long.
Create sites with the latest PHP by choosing one of these versions in the Custom Environment page:
8.2.35
8.3.36
8.4.27
8.5.12
Update existing Local sites by clicking “Update” in the PHP row on the site info screen.
@Henkk No patches for earlier versions are available from the PHP foundation as they are end of life: PHP: Supported Versions. Local does not expose your site to the internet by default, so the risk of running older versions locally is lower than public-facing production sites, but it is good practice to use the newest versions.