
PHP2Shell is the name given to two critical vulnerabilities in PHP itself, CVE-2026-109618 and CVE-2026-109619, both rated CVSS 9.2. They were fixed on 21 October 2026 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 (CrowdSec). The fix is a PHP update on the server, followed by a restart of every PHP worker. Updating WordPress, PrestaShop, a theme or a module does not fix it (PrestaShop). For an agency, the work is simple to describe: for every client site, know which PHP version actually serves the site, who applies the patch, and get written confirmation that it's done. A final section covers how to manage PHP versions across client sites over the long term, so the next PHP advisory becomes a routine check.
Both flaws are memory-handling bugs in the PHP engine. With specially crafted HTTP requests, an attacker could crash PHP, expose sensitive data or, in the worst case, run code on the server without logging in (PrestaShop help center). According to Sansec, the bugs are present in every unpatched PHP version since 5.4.
Three points matter for agencies:
The picture is serious but not alarming, and it's worth reading it accurately before talking to clients:
In short: no reason to panic, and no reason to wait. The patch exists, and the only open question for each client site is whether it has been applied.
List each client site with its CMS, its host and who manages PHP: the host (shared or managed hosting), your team, or the client's IT. CISA recommends starting with an inventory and patching internet-facing systems first.
In PrestaShop, the version is under Advanced Parameters > Information. In WordPress, it's in Tools > Site Health > Info > Server. Command-line PHP and web-server PHP can differ, so the value that counts is the one the website reports (PrestaShop). Compare it with 8.5.12, 8.4.27, 8.3.36 or 8.2.35. A lower number is not automatically vulnerable: Linux distributions often backport fixes without changing the version number, which is exactly why the next step matters.
For hosted sites, ask one precise question: has the fix for CVE-2026-109618 and CVE-2026-109619 been applied to the PHP version running the site, and when? Ask also that all PHP processes have been restarted since. PrestaShop suggests asking for this confirmation in writing (source). Keep the answer in the client file.
PHP 8.1 and older get no regular official update. The PHP project published limited source fixes for 7.4 to 8.1, and some hosts or distributions ship their own patched packages (Search Engine Journal). This is common in e-commerce: PrestaShop 8.0 to 8.2 supports PHP up to 8.1 only (PrestaShop). CISA advises taking systems on PHP 8.1 or older offline until they are patched. Note also that security support for PHP 8.2 ends on 31 December 2026 (php.net), so sites on 8.2 need a version upgrade on the roadmap anyway.
Google's guidance, relayed by Search Engine Journal, is to serve a 503 status code during the downtime, not a 404 or an error page returning 200. Practical details:
A web application firewall filters requests before they reach PHP and is a useful extra layer, but signature-based rules can be bypassed and do not replace the update (PrestaShop). The PHP advisory also lists interim configuration measures; they should be tested on staging first and applied by whoever manages the server.
CISA recommends watching for PHP worker processes launching shells (source). At site level, PrestaShop lists simple signals: unknown or recently modified .php files, admin accounts nobody created, unexpected redirects, altered content or a modified payment page (source). If in doubt, contact the host immediately.
An unrelated incident is worth checking during the same pass. Rank Math reports that copies of Rank Math PRO 3.0.123 downloaded between 15 October 2026 at 20:02 UTC and 16 October 2026 at 07:12 UTC contained malware. The clean version is 3.0.124. If the affected version was installed and activated during that window, Rank Math says to treat the site as compromised and follow its recovery steps; the free version on WordPress.org is not affected (Rank Math).
PHP2Shell will leave the news, but the question behind it comes back every year: which PHP version runs each client site, and how long will it keep receiving security fixes? A short routine answers it before the next advisory does.
Our fixed-price monthly maintenance is built around this routine. Tell us about your sites.
Keep it factual: a critical flaw was fixed in PHP on 21 October; the fix is a server update; here is the PHP version your site runs, who patched it and when. No dramatisation is needed, and none is accurate today. What clients value is the written trace that their site was checked.
We build and maintain WordPress and PrestaShop sites in white label for agencies, under your brand. Our monthly maintenance is billed at a fixed monthly price: updates, checks and follow-up are planned, rather than handled in a rush each time a vulnerability makes the news. Since 2005, we have delivered more than 85,000 projects, 99% of them on time. See our white-label WordPress development and white-label PrestaShop development pages, or tell us about your sites through the contact page.
No. The flaws are in PHP, so the fix is a PHP update on the server, followed by a restart of the PHP workers.
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, or a patched package from the Linux distribution or host.
Not according to the sources available on 27 October 2026: CrowdSec reports attempts but no publicly confirmed compromise, and Sansec says public exploits do not work against a default PHP installation. Patching remains urgent.
Ask the host whether a patched package is available, apply the interim measures with whoever manages the server, and plan a move to a maintained PHP version. CISA advises taking PHP 8.1 or older systems offline until patched.
An agency looking for a production partner, or a business with a project to launch? Tell us what you need in websites, design, AI or marketing, and receive a clear, costed proposal tailored to your context.