Security update · 21 October 2026 The PHP project has fixed two critical vulnerabilities, now known as «php2shell», both rated 9.2 out of 10. Without the update, an attacker can run their own code on your web server without a password. Almost every WordPress website is affected. Find out in ten seconds what your website reveals. As of 22 October 2026Is your website still running the old PHP?
Safe from
These versions are fixed.
Safe versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 or newer. PHP 8.1 and older no longer receive a fix from the PHP project, and PHP 8.2 receives no security updates after 31 December 2026.
No password needed
A single crafted request to the web server can be enough. The PHP project rates the risk highest for Apache with mod_php.
Only the update protects
«Updating is the only safe choice», writes php.net. Changed settings lower the risk, but they do not make an installation safe.
Not just the website
The Swiss Federal Office for Cybersecurity advises checking applications and devices that contain PHP as well, such as network storage, intranets or booking systems.
Questions
Frequently asked questions.
Sources: php.net, release announcements 8.5.12, 8.4.27, 8.3.36 and 8.2.35 of 21 October 2026 · NSA Advisory: PHP Updates · Background (in German) at Leitgrad. The check is an indication without warranty.