r/ProWordPress • u/Used_Development8930 • Oct 25 '26
PHP2Shell: a quick way to check whether your host has patched PHP (no plugin needed)
PHP released fixes for PHP2Shell (CVE-2026-109618 and CVE-2026-109619) on October 21. The bugs are in PHP itself, so updating WordPress and plugins doesn't cover it.
To check: Tools → Site Health → Info → Server → PHP version. You're patched on 8.5.12, 8.4.27, 8.3.36 or 8.2.35 and later in each branch. 8.1 and older have no official release, so ask your host about a backport or move to a supported version.
Attacks started on October 17, before the fixes were public, so it's worth checking for PHP files in uploads and admin users you don't recognise.
I wrote up the steps with sources here: https://jeromesgorman.com/php2shell-wordpress
Disclosure: I built PHP Threat Watch, a plugin that checks this automatically. The steps above work without it.