PHP2Shell: what your business needs to check now

Critical PHP vulnerabilities have put websites and business applications at risk. Here is what to ask your hosting or IT provider, what needs updating, and why a plugin update is not enough.

Close-up photograph of source code on a computer display

What has happened?

On 21 October 2026, the PHP project released fixes for two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, widely referred to as PHP2Shell. They affect the PHP runtime that processes web requests. Successful exploitation can allow an attacker to execute code without signing in.

The NCSC has urged UK organisations to act immediately. Cloudflare has also reported attack traffic targeting the vulnerabilities. An attempted attack is not proof that a site has been compromised, but this is an active issue to check now.

Could your business be affected?

PHP runs behind many websites, content management systems and business applications. You may use it without seeing its name in your hosting bill. Ask about your public website, online shop, customer portal and any older or internally hosted applications.

The PHP project identifies all PHP installations serving web requests as at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The project highlights mod_php as the highest-risk configuration.

This is not simply a WordPress plugin issue. As Cloudflare explains, the PHP runtime itself must be updated. Updating a theme, plugin or website application alone does not apply the runtime fix.

What needs updating?

The PHP security releases of 21 October fix the two PHP2Shell vulnerabilities. Ask the person managing the server to confirm the fixed release for the branch in use:

PHP branchFixed upstream release
8.58.5.12 or a later security release
8.48.4.27 or a later security release
8.38.3.36 or a later security release
8.28.2.35 or a later security release

Some operating-system and long-term-support vendors backport fixes into their own packages, so the visible version number alone may not settle the question. Request the vendor advisory and confirmation that the installed package contains both fixes. PHP 8.1 and older are no longer supported by the PHP project; establish a supported upgrade path or the details of vendor-backed maintenance.

Verify the runtime serving the website, not just the command-line PHP version. An update also needs to reach every relevant server, container and running worker process. Hosting platforms and appliances should be checked against their vendor's instructions.

The 23 October follow-up also matters

PHP subsequently published an informational advisory for a separate session-upload-progress issue, CVE-2026-115560. It involves an unusual combination of application behaviour and configuration; it does not mean every PHP site can be exploited in this way.

The project suggests disabling session.upload_progress.enabled until the next regular bugfix release. Ask your hosting or application provider to assess and apply the 23 October PHP guidance, including any effect on upload functionality. Do not assume the 21 October update alone addresses this separate issue.

What to ask your hosting or IT provider

Ask for a written answer that identifies the affected service and the work completed. These are useful questions for your next conversation:

  • Where do we use PHP? Include websites, portals, hosted applications, containers and vendor-managed systems.
  • Which fix is running? Request the upstream release or vendor package advisory, deployment time and confirmation that running workers were refreshed.
  • Has the service been checked after the change? Test sign-in, forms, uploads, checkout and other essential functions.
  • Was there exposure before the update? Ask what logs are available and whether suspicious activity needs investigation.
  • Who owns the remaining work? Record any unsupported application, pending vendor update or follow-up configuration change.

A managed hosting contract does not answer these questions by itself. Make sure responsibility is clear between the host, website developer and IT provider.

Is a web application firewall enough?

No. A web application firewall can reduce exposure to some attack patterns, but it is an additional layer, not a replacement for patching PHP. AWS describes the limits of WAF protection and the need for changes at the runtime and host level.

If an update cannot be applied promptly, have the responsible technical provider assess the exposure and agree temporary restrictions or taking the affected service offline. Record the business impact, owner and deadline for restoring a patched service. Avoid untested configuration changes copied from a headline or social post.

What if you suspect a compromise?

Patching closes the vulnerabilities; it does not establish whether an attacker already gained access. Unexpected files, new administrator accounts, redirects, unusual processes or unexplained outbound connections deserve investigation.

Ask a qualified responder to preserve relevant logs and evidence, contain affected systems and determine the scope. Depending on the findings, recovery may include rebuilding from a trusted source and rotating affected secrets. A backup is useful, but restoring it without checking the cause can return the same exposure.

For the business, the immediate goal is a documented answer: what was affected, what has been fixed, what has been investigated and what remains outstanding.

Sources & technical guidance

Checked on 25 October 2026. This briefing reflects the advisories available on that date; use the linked vendor guidance for subsequent updates.

Request a callback

Leave your number and a convenient time. We’ll get back to you.

A quick check to help keep automated spam out.