PHP vulnerabilties PHP2Shell


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

Thanks for checking in on this @Henkk !

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.

:larry:

Hi Ben,

thanks for the reply. Are the PHP version in LocalWP that I can use to run WP also in scope to be patches

HK

New patched PHP versions are now available in Local for all OSs

  • No Local update is needed. The latest Local version has not changed: https://localwp.com/releases/
  • 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.

Create a site with a custom PHP version

Update an existing site to a new PHP version

Other release notes

  • macOS 14 is the minimum version required for Intel builds of PHP.

Hi Ben,

tested with PHP 8.4.27 working ok
Thanks to the LocalWP team for the quick turnaroun

Regards,
Henk

Thank you for letting us know @Henkk!

@Nick-B, unfortunately, I don’t see the latest patched PHP version options list with Local 10.2.0+7022 from the releases page.

Hey @mkormendy! Do you have a network connection? They might still need to be downloaded. I can see them on my end here (MacOS Tahoe).

I do! But I uninstalling and reinstalling the Local.app worked for me. Hope it helps for anyone else.