PHP2Shell: what small-business website owners should do now
What was announced
- The PHP project released security updates on October 21, 2026.
- They fix two critical flaws, CVE-2026-109618 and CVE-2026-109619, both rated 9.2 out of 10 on the CVSS v4.0 scale.
- PHP’s release notes say the flaws can allow unauthenticated remote code execution. In plain words: an outsider could make the server run commands without logging in. Setups that serve web pages are potentially affected, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed.
- The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. The project strongly encourages updating immediately.
- PHP 8.2 is scheduled to reach the end of its official support on December 31, 2026.
Several technology blogs also report that WordPress.org does not plan a WordPress update, because the problem is in PHP and not in WordPress code. That is a report, so confirm with your host, but it matches how the fix works: it is installed on the server, not in WordPress.
Are attackers actually using it?
Security news sites report that attackers began trying these flaws, in some reports even before the fix was public, and that at least some attempts have worked. Reports differ on how widespread the damage is, so treat the exact numbers with caution. The practical point is the same either way: this is not a purely theoretical problem, and the fix is simple to ask for.
PHP’s developers also reportedly suggested a temporary setting change on servers that could not be updated right away. That is something for your host or developer to apply, not something to edit yourself, so mention it when you ask them.
Is my website affected?
You are in the group to check if your site runs on PHP. WordPress does. So do many other website tools and a lot of custom-built sites. Here is the 10-minute check.
- Find out if your site uses PHP. If it is WordPress, Joomla, Drupal or a custom site your developer built on a regular web host, the answer is almost certainly yes. If you are on a hosted website builder or a fully managed WordPress service, the company runs the servers for you. Many of them publish a notice when they have applied a fix, so look for theirs instead of assuming.
- Find your PHP version. Your hosting control panel usually shows it. In WordPress, go to Tools, then Site Health, then the Info tab, then Server.
- Compare it to the fixed versions. You want at least 8.5.12, 8.4.27, 8.3.36 or 8.2.35, depending on which branch you are on.
- Look at older versions closely. If you are on PHP 7.4, 8.0 or 8.1, those branches were not in the list of fixed releases, and they are already past or near the end of official support. Plan to move to a supported version instead of waiting for a fix.
- Ask your host in writing. Hosts handle this differently, and a written answer is worth having. A message you can copy:
If you cannot update right away
- Move the site to a host that patches PHP for you. This is often the simplest fix for a small business.
- Ask whether a web application firewall can be turned on in the meantime. It can reduce risk, but it is a stopgap, not a fix.
- Take down or replace parts you do not need. Old plugins, test pages and forgotten sub-sites give attackers more to find.
- Plan the move off PHP if you do not need it. Many small business sites are mostly pages and a contact form. A site built as simple static pages has no PHP on its server to attack. That is how keytechnologies.si is built, so this flaw does not touch it. Static pages are not a cure for everything, but there is much less to attack. See our WordPress and PHP migration demo.
Signs something may already be wrong
- Admin users you do not recognize.
- Unfamiliar files or folders on the server, especially with random names.
- Visitors being sent to other websites, or strange pages showing in Google for your domain.
- Your host warning you about unusual activity or a suspended account.
- Your site suddenly slow or sending email you did not write.
If you see any of these, change your passwords, tell your host, and get a professional to review the site. This guide is general information, not a security guarantee, and no one can promise a site will never be attacked.
Common questions
Do I need to update WordPress for PHP2Shell?
No. The flaws are in PHP, the software the server runs, not in WordPress itself. The fix comes from updating PHP on your hosting. Keep updating WordPress as usual too, but that alone does not close this.
Can I wait a few weeks to update PHP?
The PHP project rates both flaws 9.2 out of 10 and says they can let an outsider run code without logging in, and it strongly encourages updating right away. News sites also report attackers trying them. Ask your host to apply the update now rather than waiting.
How do I know if my website was already hacked?
The announcement alone cannot tell you that. Look for the warning signs listed above, ask your host to check their logs, and consider a professional review if anything looks wrong.
Does the Free Website Audit tell me if I am patched?
No. It looks at your site from the outside for common PHP and WordPress exposure signs, but it cannot see inside your server. Your host or your hosting control panel is the place to confirm your PHP version.
Sources
- PHP project release notes: PHP 8.5.12 and PHP 8.4.27
- PHP project site: php.net (check it for the latest advice; details can change)
- News reports on attacks: BleepingComputer and Recorded Future (secondary sources; scale of attacks is reported differently)
Facts above were checked against the PHP project’s release notes on November 3, 2026. Hosting status and recommendations change quickly, so confirm with your host.
Want a second pair of eyes on your website?
The Free Website Audit looks at your site from the outside and grades it. Or book a free call and we will talk through your situation. No obligation.