PaperBoat / Field NotesWebsites & responsibility

PHP2Shell · A guide for website owners

The fix is
below
WordPress.

Your plugins can be up to date while the software underneath your website still needs an urgent security patch.

I want a website owner to leave this page knowing who to call, what to ask, and what a useful answer looks like.

Start with the fix

Ask your host to verify the running PHP fix.

PHP released security updates on October 21 for CVE-2026-109618 and CVE-2026-109619, known collectively as PHP2Shell. Ask whoever manages your server to confirm that both fixes are active on every affected environment. A WordPress or plugin update does not install them. PHP release notices

Until there is evidence, call the status unverified. That is a task to resolve, not a diagnosis of a hacked website.

First upstream releases with both fixes
PHP branchFixed release
8.28.2.35
8.38.3.36
8.48.4.27
8.58.5.12

Use a current patched release on a compatible, supported branch. A vendor may backport the fixes under an older version number. In that case, request the exact package revision and an advisory covering both CVEs.

01

A precaution is not proof of a breach.

Why a government website might go dark before anything looks wrong

The European cybersecurity agencies’ joint statement called for urgent identification and remediation of affected systems. Where an immediate fix was impractical, it advised considering isolation from public networks.

That helps explain the preventive shutdowns reported during the October 21 response. An unavailable website tells you that a service is unavailable. It does not, by itself, tell you that somebody stole its data.

The decision is still consequential. A public service can lose access to appointments; a business can lose bookings or orders. An administrator has to weigh that disruption against allowing further requests to reach an exposed system. A temporary interruption can be the responsible choice when the alternative has not been brought under control.

I would not take a confirmed, patched website offline simply because another organization did. I would ask for the evidence that makes keeping it online a defensible decision.

02

The problem sits underneath the application.

What PHP2Shell can do, without the horror-movie version

PHP runs much of WordPress’s server-side code. Before a visitor sees a page, that software may read content, check permissions, process a form, or help complete a purchase.

The first vulnerability concerns an unsafe failure during memory allocation. PHP can reach cleanup with internal data only partly initialized. Its advisory describes an Apache mod_php attack that can take effect before application code starts. That timing matters: a protection implemented inside WordPress may arrive too late. CVE-2026-109618 advisory

The second involves stale state retained by a worker process after the memory it refers to has been freed. A later request can encounter that state. The advisory describes memory disclosure and remote code execution with the web worker’s privileges. CVE-2026-109619 advisory

Remote code execution means an attacker may get the server to run code they supply. It does not automatically mean unrestricted control of every machine in the hosting company. The process’s permissions and the surrounding isolation affect how far an intrusion can go.

Nor should a different server setup be treated as an exemption. Wiz’s research describes risk across PHP web deployments, including FPM, CGI and other integrations. The exact attack conditions vary. Your administrator needs to assess the environment you actually use.

This is why a reassuring WordPress update screen cannot answer the whole question. It reports on a different part of the system.

Make “we handled it”
specific enough to check.

1

Account for the places PHP is running.

Give one person responsibility for the list: production sites, public staging copies, subdomains, older campaigns, and separate servers or containers. Record the technical owner beside each environment.

Consider a booking site whose main domain has been patched while last year’s public staging copy still runs elsewhere. The main site’s status says nothing about that copy. This is an inventory problem as much as an update problem.

2

Verify the package serving requests.

Start in WordPress at Tools → Site Health → Info → Server and share the relevant PHP details privately with your developer. WordPress documents the Site Health screen as a source of technical configuration information.

Then have the host confirm the installed package, any vendor backport, and activation of the update. A control panel’s default selection is not proof that every worker or server has changed. Ask when the required restart or redeployment completed.

3

Protect recovery, then test the business.

Preserve existing recovery points and establish a recoverable files-and-database backup. A fresh backup of an already compromised site is not automatically a clean recovery source.

After the change, test the tasks that matter: a contact form through to its delivered message, a booking through to confirmation, or checkout through to the appropriate payment result. Use the business’s approved test procedure. A home page loading successfully does not prove that customers can finish their work.

4

Escalate what cannot be patched promptly.

Ask the server administrator to assess restricting access before requests reach vulnerable PHP. A WordPress maintenance plugin can still invoke PHP before displaying its holding page, so I would not treat it as isolation for this incident. A separate static page is useful only if access to the affected backend is actually blocked.

Do not experiment with PHP memory settings during an emergency. PHP’s release guidance says its configuration workarounds do not provide complete remediation. Patching remains the fix.

03

A provider’s response matters. So does its scope.

Does SiteGround handle this automatically?

SiteGround says its protective response is automatic at server level. Its incident notice describes mitigations across its servers and says customers do not need to switch PHP versions to receive those protections. Its October 22 news update says the fixes have been applied. SiteGround’s incident notice · Latest updates

That is useful provider information. For your own records, ask support to confirm the running package and status of each relevant account, including legacy or custom configurations. A public announcement cannot show you which environment a forgotten subdomain uses.

Other hosts have different responsibilities. A managed hosting plan may include PHP patching; an unmanaged server may leave that work to your administrator. “Hosted” tells you where a system lives. Your service agreement and the provider’s specific response tell you who maintains it.

Ask who owns the runtime update, whether both CVEs are covered, and whether the fix is active. You should not need to interpret a vendor’s infrastructure diagram to get those answers.

Where Cloudflare fits

Cloudflare reports deploying WAF protections for customers using its firewall, including free plans, and still advises patching PHP. Its report also describes attack traffic. That establishes attempted exploitation in the wider environment, not a breach of your particular site.

A firewall can reduce exposure while the underlying repair proceeds. Ask the administrator to check that relevant traffic actually passes through it and that an accessible origin does not bypass the intended protection. A rule existing somewhere in a dashboard is different from a rule covering the requests your server receives.

The ongoing division of responsibility belongs in a managed hosting and WordPress maintenance arrangement. During the incident, the immediate need is a named person and a verified status.

Protected. Patched.
Investigated. Tested.

I would keep these separate in the completion report. Each answers a different business question.

Protected
What temporary or additional control reduces exposure? Which environments and traffic paths does it cover?
Patched
What package fixes both vulnerabilities? When was it activated across the serving environment?
Investigated
What evidence was reviewed for possible compromise? What was found, and what could not be determined?
Tested
Which customer tasks were completed successfully after the change, including their downstream results?
04

Closing the entry point does not remove an intruder.

A patch cannot certify what happened before it arrived

The UK’s NCSC advises assessing systems for evidence of compromise and backdoors where prompt updating or disabling was not possible. It recommends professional incident-response support when an organization cannot confidently perform that assessment.

If there are suspicious changes, preserve relevant logs and recovery points before cleanup. The responder should establish the scope of the incident and decide what requires rebuilding, restoration, or credential rotation. An unexpected administrator account, changed file, or scheduled task deserves investigation; none is, by itself, a unique fingerprint for PHP2Shell.

This distinction protects an owner from two bad conclusions. A frightening headline does not prove a breach. A successful patch does not prove there was never a breach. The evidence has to support the answer.

The details that change
what you do next.

Does updating WordPress fix PHP2Shell?

No. WordPress, plugins, and themes are application software. These vulnerabilities require fixes to the PHP runtime beneath them. Keep application updates current, but obtain separate confirmation of the PHP patch.

What if my host shows an older PHP version?

Ask for the exact package revision and a vendor advisory covering both CVEs. Some vendors backport security fixes without changing the upstream version displayed. An unexplained older number is unverified; a documented backport can be valid evidence.

What if my site still depends on PHP 8.1 or earlier?

Those branches no longer receive ordinary PHP-project security support. Ask for an explicitly verified vendor fix and a plan to move to a supported version. Availability of a special backport does not restore general upstream support. Compatibility problems need a migration plan, not indefinite exposure.

Should I put up a maintenance page?

Only as part of an administrator’s containment plan. A maintenance plugin may still execute vulnerable PHP. The protective action must prevent untrusted traffic from reaching the affected runtime; a static notice can then explain the interruption.

Does a normal-looking site mean I am safe?

No. Appearance is not evidence of patch status or absence of compromise. Ask for the running package, the exposure assessment, and any investigation findings. Keep the limits of those checks in the record.

What should stay in place after the emergency?

Keep the environment inventory, the named owner for server updates, the recovery procedure, and a short list of essential customer tasks to test. The same ownership questions also apply to who can change the website after handover.

Scroll to Top