Skip to content

Shipping

PHP2Shell is a server patch, not a website update

· 4 min read · Excodia Labs

PHP patched two critical flaws on 21 October 2026. If your website or product runs PHP, update the server runtime and verify it, even if your CMS or hosting firewall is already up to date.


On 21 October 2026, PHP released emergency fixes for two critical flaws known as PHP2Shell. An attacker may be able to run code on an exposed server without logging in first. If your company operates a PHP-based website, store, API or admin portal, this is a hosting update to prioritize now, not another plugin update to add to a maintenance backlog.

The flaws are tracked as CVE-2026-109618 and CVE-2026-109619. The practical question for a founder is not whether the company writes PHP. It is whether any part of the business depends on a server running a vulnerable PHP version.

The problem sits below your application

PHP powers applications including WordPress sites and many custom back ends. Here, the weaknesses are in PHP's handling of memory during web requests. Under certain conditions, specially constructed traffic can make the runtime use memory incorrectly, potentially allowing an attacker to execute commands or expose data.

That distinction matters. Updating WordPress, installing a security plugin or fixing an application-level bug does not repair the PHP engine underneath it. The PHP team says installations serving web requests are at risk, including common Apache and PHP-FPM setups. The highest-risk configuration identified so far is Apache's mod_php, but it is not the only one that needs a patch.

Find every place your business runs PHP

Start with an inventory, not a vulnerability scanner dashboard full of unexplained alerts. Ask whoever manages production for the PHP version used by the public website, customer portal, payment-related back end, support system and any old campaign site still online. Check staging environments and forgotten subdomains that can still be reached from the internet.

For a Gulf startup, the main application might run on Node.js while the Arabic marketing website runs on WordPress through a local hosting provider. The first system may be outside this specific issue while the second needs immediate attention. Do not assume the entire stack is safe because the mobile app or main API is not written in PHP.

If you buy a fully managed product and do not operate its servers, ask the vendor whether its infrastructure is affected and whether remediation is complete. You need confirmation, not a request to install PHP yourself.

Patch the PHP runtime and verify it is running

The PHP project released fixed builds 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older do not receive ordinary upstream updates. Some Linux distributions and long-term-support providers have backported the fixes, so their safe package versions may look older than the PHP project numbers. Check the operating-system or hosting vendor's advisory rather than judging only the visible version string.

Have the operator apply the correct package or runtime update, restart affected PHP workers and verify the version actually serving requests. On a managed host, ask for the date and scope of the patch. On an unmanaged virtual server or container, make sure the running image or package changed, not merely the deployment instructions.

Cloudflare says it deployed protective web application firewall rules for customers using its WAF, including its Free plan. Keep those protections on, but do not call the incident closed because a firewall is in front of the site. Both Cloudflare and PHP say updating the runtime is the complete fix.

What this means for building or buying a product

If you operate a PHP service, bring forward the patch and briefly pause nonessential releases until it is verified. Review server and application logs for suspicious requests, crashes or unexpected changes. A patch closes the flaw; it does not establish that a previously exposed server was never accessed. Escalate signs of compromise to the team responsible for incident response.

If your product does not run PHP anywhere, this particular release does not force an architecture change. If you are selecting a hosted commerce platform, agency or managed service in Oman, Saudi Arabia or the UAE, it does change one buying question: who owns security updates to the underlying runtime, and how quickly can they demonstrate completion? Ask for an accountable owner and evidence, not a generic statement that hosting is secure.

OpenAI says AI-assisted research contributed to finding these flaws, alongside independent work from security researchers. That is notable, but it is not the operating decision. The lesson for a small team is that widely used infrastructure can need urgent fixes even when your own application code has not changed.

What to do this week

  • Ask your technical lead or hosting vendor for a list of internet-facing PHP services, their versions and patch owners.
  • Apply the appropriate security update, restart the runtime and record verification for each affected service.
  • Keep WAF protections enabled, review suspicious activity and get written confirmation from vendors managing systems you do not control.

At Excodia Labs, we would treat this as a release-blocking maintenance task for affected systems, then return to the roadmap once the patch and verification are documented. If there is no PHP in the inventory, record that finding and move on.

Got something in mind?

A question, an idea or a whole product. Tell us, even if it is still rough.

How should we reach you?

More notes