If your WordPress, Drupal, Magento, or Laravel site runs on an unpatched PHP interpreter, the PHP remote code execution flaws are a server problem your application code cannot fix. The vulnerable code path handles upload data before your application runs. Confirm your version, then patch or isolate.
PHP remote code execution flaws: what happened and who is affected
The PHP remote code execution flaws are two critical vulnerabilities announced by the PHP Group in October 2026, described by the project as serious enough that every PHP user should prepare for an emergency security release. The project published its warning on October 20, 2026, scheduling the release for Wednesday, October 21 at 10:00 a.m. Eastern, and said it might ship earlier if details leaked or attacks began.
The PHP security announcements page is the canonical record of that release. Security firm WatchGuard told Bleeping Computer the vulnerabilities are real, and Europe's CERT-EU said the severity pointed to an attack that may not require authentication. PHP had not published a confirmed affected-version list at the time of the warning.
This is a flaw in the PHP interpreter, not in WordPress, Drupal, Magento, or any plugin. That distinction drives everything below: the fix has to land on the server. WordPress and the plugins you run are the payload, not the defect.
How severe are the flaws, and is anyone exploiting them yet?
PHP rated both flaws 9.2 out of 10 in its own scoring, while WatchGuard and other researchers described them as a perfect 10. The case for that higher reading rests on reachability without credentials. Remote code execution means an attacker can make a vulnerable server run commands of their choosing.
As of the evening before the scheduled release, WatchGuard reported no attacks in the wild and believed it had already reproduced one of the flaws. Sansec, a Dutch security firm that tracks payment-card skimming on e-commerce sites, expected mass exploitation to begin within about 15 minutes of the patch going public, because attackers can diff the old code against the new and work backward.
No public confirmation tied either flaw to real-world compromise at the time of the announcement. Treat the exploit timeline as an expectation, not a record of events.
The session upload progress analysis
A security researcher's public analysis places both flaws in PHP's session upload progress feature, the mechanism that reports how far along a file upload has progressed. According to that analysis, the code path was introduced in PHP 5.4 in 2012, is enabled by default, and processes incoming upload data before application code runs.
That last point is why careful application code does not help. PHP had not confirmed the analysis, and the researcher noted that other code paths may exist. Treat it as early research that explains the mechanism, not as a reason to delay patching.
A broader question sits underneath: which PHP versions are affected? PHP had not confirmed scope. WatchGuard's working assumption was that PHP 5, 7, and 8 are all in range, and Sansec put the boundary at every server running PHP 5.4 or later.
Which PHP versions get a fix, and which are stranded
PHP only maintains security support for its current branches, which as of 2026 means 8.2 and newer; PHP Group publishes the exact list on its supported versions page. PHP 8.0, 8.1, PHP 7 and PHP 5 are end of life and receive no official security patches, so a flaw in the interpreter leaves those deployments stranded.
An early social-media summary claimed only PHP 8 would be patched, which overstated the restriction. Developers expected the release to cover 8.2, 8.3, 8.4 and 8.5, but the authoritative list is whatever php.net publishes with the release, and readers should check it rather than rely on the forecast.
The stranded population is large. W3Techs measured PHP on 69.3% of websites whose server-side language is known, and reported that 27% of PHP sites still ran version 7 with close to 8% on version 5. Those shares date from the 2026 reporting cited in the source video; check W3Techs for current figures before quoting them.
How to respond to the PHP remote code execution flaws
Response follows a fixed order: inventory, then confirm versions, then patch inside a maintenance window, then escalate anything that cannot be patched. For a flaw this reachable, the work starts with finding every interpreter you operate, including marketing sites and internal tools nobody owns anymore.
- Inventory every PHP application, including forgotten marketing pages, internal admin tools and client sites your team hosts.n2. Record the exact PHP version and patch level for each one, using
php -von the server or your host's control panel.n3. Confirm which branches the official release covers on php.net before scheduling anything.n4. Take tested backups of files and databases, then schedule a maintenance window around the release time.n5. OpenAI support ticket with your hosting provider today and ask how they will roll out the patch and whether they need your confirmation first.n6. Move anything on PHP 7 or PHP 5 to a supported branch, or take it off the public internet until it is migrated or a host supplies a backported fix.
Applications on shared hosting depend on the provider's rollout, so a site owner's job is to verify the patch landed rather than assume it did. For self-managed servers, coordinate timing with your distribution's package maintainers, who need to rebuild the package before it reaches you.
What leaked, and what the early scale estimates actually say
The embargo broke before release. Ars Technica reported that a leaked, unconfirmed video showed a tool running code on servers hosting WordPress, Drupal, Magento and Laravel, and one researcher estimated roughly 1.3 million internet hosts were likely affected. Treat both the video and the host count as early estimates rather than verified scope.
That leak carries a practical consequence for defenders. Once fixes are public, the diff between patched and unpatched code becomes an exploitation recipe, which is why Sansec's 15-minute warning is credible. The window between patch publication and attempted exploitation is short.
Where application frameworks fit in the response
Framework maintainers can react quickly, but they cannot patch the interpreter. Laravel, Drupal and Magento all run on PHP, and security advisories from each project matter for their own code, not for this defect.
The reverse is also true: a framework with every advisory applied still sits on a vulnerable interpreter until the server patch lands. Two independent patch streams have to be tracked, and the server-side one comes first here.
PHP remote code execution flaws FAQ
- Does updating WordPress fix these vulnerabilities? No. The flaws are in the PHP interpreter, not in WordPress core or its plugins, so the fix has to happen at the server level through a PHP upgrade or a host-supplied patch. Updating WordPress and your plugins is still worth doing for unrelated issues, but it does not close this gap.
- Is PHP 7 getting an official fix? No. PHP only provides security support for 8.2 and newer as of 2026, and PHP 7 and PHP 5 are end of life with no official patches coming. Options for those sites are upgrading to a supported branch, arranging a host backport, or removing the site from the open internet until either is done.
- How soon should a patch be applied after release? As close to immediately as your maintenance process allows. Researchers warned that exploitation attempts could start within about 15 minutes of the fix going public, because patched code reveals exactly what changed. Pre-staged backups and a pre-agreed host contact are what make that speed possible.
- Are the reported affected-version ranges confirmed by PHP? Not at the time of the original warning. WatchGuard's working assumption covered PHP 5, 7 and 8, and Sansec cited PHP 5.4 or later, while PHP itself had not published a confirmed list. Check the PHP security announcements for the authoritative scope before making decisions based on those ranges.
Fork this article
Start a new branch from the same video, shaped your way. You keep the credit; the original keeps the attribution.
A fork in another language is filed as a translation of this article, so the two pages point at each other. You can unlink it later from the editor.
0/240
You are creating
- Format
- For
- Language
- Source
- Your angle
You will be asked to sign in before it is generated.
Buy credits