PHP2Shell: patch the runtime, verify the service
Two critical PHP flaws make this an urgent service-protection task. Find the exposed applications, apply the correct fixes and verify what is actually running.
In brief
- PHP released emergency fixes on 21 October 2026 for CVE-2026-109618 and CVE-2026-109619, both rated CVSS v4.0 9.2.
- The fixed upstream releases are 8.2.35, 8.3.36, 8.4.27 and 8.5.12, each for its own branch.
- Prioritize internet-facing applications. A firewall rule is not a substitute for fixing PHP.
- Close the task only after verifying the runtime serving each application and checking essential customer journeys.
The problem
Your website may still accept orders and your customer portal may look normal. That does not tell you whether the PHP software underneath them is protected against PHP2Shell. The useful question for a business owner is not simply whether someone installed an update. It is whether every affected service has a responsible owner, a verified fix and a working application afterwards. This is urgent work, not a reason to assume that every PHP site has already been compromised.
Why this happens
These flaws affect the PHP runtime, the software that executes application code on the server. They can permit unauthenticated remote code execution; exploitation depends on the deployment and attack path. PHP identifies web-serving installations as at risk, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed, with the highest demonstrated risk in mod_php. Updating a CMS alone does not establish that this underlying runtime is fixed. The PHP security advisory is the reference for affected configurations and remediation.
Framework
Start with services people depend on
Our recommendation is to build the response around applications, not just server lists. For each website, portal or integration, record who uses it, who operates it and who can approve an emergency change. Ask hosting suppliers for evidence of the fix, not only confirmation that maintenance was performed.
Match the fix to the installed branch
Use the patched release for the relevant PHP branch or a later release containing the fixes. For distribution packages, check the vendor advisory and package revision: a backported fix may retain an older upstream version label. PHP 8.1 and earlier are outside normal upstream support; confirm vendor coverage or plan a supported upgrade. Limited source backports are not renewed lifecycle support.
Check the deployed service, not only the build
Google Cloud's response distinguishes automatically updated supported runtimes from customer-managed deployments that require rebuilding or redeploying. Verify the policy for your actual service. Our recommended completion record includes the package revision or image digest, rollout status, checks across active replicas and results from essential application tests.
An illustrative gap to look for
A team rebuilds its main application image but leaves an older replica and a second customer portal on the previous image. The rebuild succeeded; the rollout and application inventory were incomplete. This is an illustrative scenario, not a reported incident. Review related services before declaring the response complete.
Sources and scope
Selected source: Google Cloud's response by Chris Betz and Raluca Ada Popa, published 21 October and updated 22 October. Cross-checked with the PHP advisories for CVE-2026-109618 and CVE-2026-109619, and the joint EU alert. Operational recommendations here are LoG Soft Grup's analysis. Checked 23 October 2026.
How to get started
- Identify exposed PHP applications and assign an owner to each. Prioritize remediation now based on exposure, rather than waiting for the next routine maintenance window.
- Check branch-specific fixes and vendor packages, then prepare the change, recovery plan and essential application tests.
- Patch or rebuild and redeploy as required by the platform. Verify that all relevant workers and replicas are running the corrected software.
- If an exposed application cannot be fixed immediately, assess temporary isolation or access restriction with its business owner. The EU alert recommends considering isolation from public networks.
- Review available logs and alerts for suspicious activity. If compromise is suspected, investigate and contain it; installing a patch alone does not establish that an intrusion has been removed.
Risks & trade-offs
Strategic zoom-out
The lasting improvement is a repeatable way to answer a simple question: which customer services still need action, and who is responsible? Keep evidence of what changed, which tests passed and which exceptions remain. This gives management a clearer decision than either a reassuring maintenance message or a long list of vulnerability identifiers.
Next steps we recommend
If your team needs help connecting the application inventory, patch rollout and recovery checks, explore LoG Soft Grup's resilience and operational support services.