The October PHP security fix (php2shell), handled the same day

The October PHP security fix (php2shell), handled the same day

October 21, 2026

On October 21, 2026 the PHP project released security fixes for two serious bugs, CVE-2026-109618 and CVE-2026-109619, nicknamed "php2shell". Both are rated 9.2 out of 10, and they apply to almost every PHP based platform, including WordPress, Drupal, Joomla, WooCommerce, Magento and Laravel. We protected every site we host or maintain within hours, and installed the permanent fix as soon as it was released.

What it is, in plain terms

PHP is the language behind roughly three quarters of the websites on the internet. The bug is in how PHP reads form submissions that include a file upload (the "multipart" format that contact forms and media uploaders use). A specially built request could let someone run their own code on a server without logging in. The details became public a few hours before the fix was ready, so we treated it as a same-day job rather than waiting for the next scheduled update.

Which versions are fixed

The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

PHP 8.1, 8.0, 7.x and 5.x are past end of life and will not get an official fix. A site on one of those needs a PHP upgrade, which usually means some testing and sometimes some code work.

What we did

For every site we host or maintain:

  1. Added protection within hours of the announcement. We limited the size of upload requests PHP accepts and turned off the session feature involved. These are small, reversible settings changes, and we checked that every site was serving normally afterwards.
  2. Lined up the permanent fix. Our monitoring watches the package repositories our servers use, so we installed the patched PHP builds on each server as they were published.
  3. Planned upgrades for older PHP versions. A few sites we maintain run PHP versions that no longer get official fixes. We are contacting each of those clients directly with an upgrade plan.
  4. Confirmed which sites didn't need anything. Sites on HubSpot, Wix, Shopify and similar managed platforms don't run PHP on servers we control, and those vendors handle their own updates. Our non PHP applications weren't affected.

One habit worth sharing: we treat quick workarounds like the settings above as a stopgap, and we always follow up by installing the real fix. Early guidance on a new issue often gets refined in the days after, and the official release is the part you can rely on.

Clients with a question about a specific site can email support@codebru.com any time.

If we don't manage your site

Ask your host or developer two questions: which PHP version is the site running, and has the October fix been installed. If the version is below 8.2, plan an upgrade. If you'd like us to take a look, email support@codebru.com.

Technical notes

For the people who want the specifics: the bugs are in PHP's multipart/form-data parser. The interim settings were a lower post_max_size (8M for sites without uploads, 32M for sites with them), session.upload_progress.enabled = 0 and session.use_strict_mode = 1, followed by a PHP-FPM reload, plus a lower request body limit in the web server (client_max_body_size in nginx). These are reversible config changes and a stopgap only. The patched PHP release is the fix.

References:

Categories