Privacy

PHP2Shell: what the emergency PHP fixes mean for your website

What PHP2Shell changes for website owners: official update steps, a message for your host, temporary mitigation limits and what to do if the site has problems.

Made by Pagember · Editorial policy

Primary sources + editorial analysisUpdated Sources

The short answer

Ask your host to confirm that the running PHP build includes the fixes for CVE-2026-109618 and CVE-2026-109619, shipped in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. A WordPress update does not fix PHP. Find your version under Tools > Site Health > Info > Server, then test key pages and forms. The proof is the exact package and vendor advisory, not the branch name.

Official sourcePHP security advisories, October 21, 23 and 26, 2026Checked

On this page9 sections

News & analysis · October 26, 2026

Conceptual illustration of a website resting on a PHP software block with a blue update tile.

A website can have an up-to-date WordPress dashboard and still be running vulnerable PHP underneath it. That distinction matters after last week's emergency PHP2Shell security releases.

There are fixes for the two original vulnerabilities. There is also a follow-up advisory, corrected reporting about attacks, and new evidence from deliberately exposed test servers. For a site owner, the useful question is specific: has the company responsible for your server applied the relevant fixes and checked the latest guidance?

What changed this week

  • October 21: PHP released 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to address CVE-2026-109618 and CVE-2026-109619. The PHP security advisory urges users to update installations that serve web requests.
  • October 22: Sophos corrected its initial report of successful exploitation. Its revised assessment described scanning and a small number of failed attempts in its customer telemetry.
  • October 23–24: PHP described a separate, unusual session-related risk. A researcher then documented code execution on vulnerable honeypots. These are different developments, with different implications.

WordPress's own notice makes the responsibility clear: these flaws are in PHP, and a WordPress update is not the remedy. Your hosting provider may manage PHP updates, but the notice still tells owners to check.

What the attack reports actually establish

Amazon's threat-intelligence team identified an exploitation attempt dated October 17 in MadPot, its decoy infrastructure. That places observed targeting before public disclosure. The report does not establish that the attempt compromised a customer's production website.

The Sophos correction, dated October 22 at 21:21 UTC, is another reason to read the latest version of a report. Its earlier statement about successful exploitation was withdrawn after further analysis. That correction describes Sophos's findings at that time; it cannot establish that nobody else was compromised.

Newer evidence adds to the picture. In a report dated October 24, researcher Adel Karimi documented code execution across three deliberately vulnerable PHP 8.4.26 servers using Apache's mod_php. The report associates the observed chain with CVE-2026-109618. It does not establish how common successful attacks are on ordinary production sites.

Our reading: there is a demonstrated technical risk, observed targeting and documented execution on vulnerable decoy servers. Those findings justify prompt action. They do not support turning every blocked request or security headline into a claim that a particular website has been hacked.

Why “we have a firewall” needs a closer look

Cloudflare says it deployed protections for free and paid WAF users. It also tells administrators to patch PHP. In its follow-up about the separate session issue, the company qualifies protection against known attempts: sites that changed PHP's default upload-progress field name are not covered by that rule.

A firewall can therefore be a useful additional layer while the server is updated. Its presence alone is not evidence that every relevant attack path is covered. Ask what is enabled for your actual configuration and whether the underlying software has been fixed.

What to do now: the official guidance in practice

The steps depend on who maintains the server. On managed hosting, start with the provider. If you administer the server yourself, use PHP's advisory together with the instructions for your operating system and package source.

  1. Find the PHP version the website actually uses. In WordPress, open Tools > Site Health > Info > Server and note the full PHP version. The WordPress security notice gives this route. Ask your host for the exact package or build if it is not shown. On IONOS, the PHP version is set per website in the hosting settings; the IONOS PHP guide shows how to confirm you are looking at the right site.
  2. Confirm the security fix, not just the branch name. Match the installation to the fixed releases above, or obtain the vendor's advisory identifying its backported fix. A label such as PHP 8.3 alone does not establish that these vulnerabilities are patched. Ask who will apply the update and when.
  3. Prepare for compatibility issues. WordPress's PHP update guide recommends a website backup, keeping WordPress/themes/plugins current, and checking PHP compatibility. Ask the host or developer to help with that preparation. Pagember's guide to upgrading PHP with compatibility tests and a rollback plan covers the checks, and a backup you can restore should exist before the change. These maintenance steps support the update; they do not replace the PHP security fix.
  4. Have the responsible administrator apply and verify the update. Use the host's documented controls or the distribution's fixed packages, following any service-restart instructions. Ask for confirmation that the running PHP service is using the corrected build.
  5. Recheck the live site. Record the deployed build and confirmation of the original two fixes, then check important pages, the usual admin sign-in and the forms your site relies on. Ask separately how the October 23 issue was assessed. Normal page behavior checks compatibility; the package/advisory evidence establishes patch status.

The general WordPress update guide is useful for preparation, but its broad PHP recommendation is not a patch-specific clearance for this incident. Use the current PHP and package-vendor advisories for that decision.

Windows-hosted sites, October 26: PHP has refreshed its Windows packages to 8.5.12-1, 8.4.27-1, 8.3.36-1 and 8.2.35-1, adding Brotli 1.2.1 for a separate security fix, CVE-2026-111497. The -1 suffix identifies a dependency rebuild; the PHP runtime version stays unchanged. Ask your administrator to verify the installed Windows package, rather than relying only on the version displayed in WordPress.

A message you can send to your hosting provider

Please confirm the exact PHP package/build serving my website, whether it contains the fixes for CVE-2026-109618 and CVE-2026-109619, and the vendor advisory that supports this. Please also confirm your assessment of CVE-2026-115560, any temporary mitigation, and whether the relevant PHP workers have been restarted. If action is still pending, what is the patch timetable and how should we contain exposure meanwhile?

If the update is blocked or the site has problems

The host cannot provide a patch yet

The UK NCSC's priority actions put updating first, then the vendor's temporary mitigations. If mitigation is unavailable or would take too long, it says to consider taking the system offline. That is a decision for the responsible operator based on the affected system, rather than an instruction to switch off every website.

One specific temporary measure addresses session-related paths. The official PHP session-state advisory tells administrators to disable upload progress administratively and restart every worker:

session.upload_progress.enabled=0

This is a server configuration task for the administrator. A change made with ini_set() inside WordPress runs too late for the early request paths described in the advisory. Disabling upload progress does not fix CVE-2026-109618 or every path in CVE-2026-109619. The separate October 23 issue also needs its own assessment. Keep working toward the applicable update.

The site breaks after changing PHP

Record the change, the affected page or feature, and the error you can reproduce. WordPress directs owners with update problems to their host, developer or theme/plugin authors. Ask them to identify a compatible, patched setup and use the prepared backup if recovery is needed. Returning to an affected build may restore a page while reopening the original exposure, so compatibility and patch status both need checking.

You suspect the website was already compromised

Use a separate recovery process. WordPress's hacked-site guidance covers documenting the incident, preserving a snapshot before cleanup, reviewing access and finding the changes an attacker made. Contact the host or a qualified responder if you cannot investigate confidently. Installing the PHP fix does not, by itself, remove an existing backdoor.

A useful completion record: the host or administrator identifies the corrected running build, confirms the relevant vulnerability coverage and follow-up assessment, and the site's essential functions work after the change. Keep any unresolved incident investigation separate from that update record.

The gains, the costs and the remaining work

The gain is concrete: the original flaws have vendor fixes, and operators have published defensive guidance. For owners whose providers handle server maintenance, a response can be relatively straightforward once the provider confirms what has been applied.

The work falls unevenly. A business maintaining its own server may need engineering time, compatibility checks and a maintenance window. Older applications can make that more involved. These are possible operational costs, not a prediction that every website will go offline or that hosting prices will rise.

Version numbers also need context. Ubuntu's security notice lists patched packages that retain older upstream PHP numbers. A distribution or long-term-support vendor can backport a fix. The meaningful evidence is the exact package and vendor advisory, rather than a number read without its packaging history.

Our assessment: verify the server, then keep following the story

For a WordPress owner, the priority is confirmation from whoever maintains PHP. Buying another plugin or moving to a different host does not, by itself, establish that this server-level problem has been addressed.

Ask for the deployed PHP package, confirmation that both original vulnerabilities are fixed, and the provider's assessment of the October 23 follow-up. That newer issue, CVE-2026-115560, requires an unusual combination of configuration and application behavior. PHP describes a temporary mitigation while preparing a regular release; the original emergency patches should not be presented as fixing that separate issue.

If an unsupported PHP branch is involved, distinguish upstream support from any separately maintained vendor package. Confirm the vendor's actual coverage and make an upgrade plan with the person responsible for the site.

We would judge a provider's response by clear responsibility, specific patch information and follow-through. None of the sources reviewed establishes a general increase or decrease in hosting prices. A security incident is not enough evidence for that forecast.

What we will watch next

  • The release addressing the separate session issue, and any change in PHP's guidance.
  • Further reports that distinguish lab tests, decoy-server observations and verified production compromises.
  • Provider notices that change what affected site owners actually need to do.

Source review: October 26, 2026. The linked advisories and research are the sources. The cover is an illustration.