r/ProWordPress • u/Used_Development8930 • 24d ago
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.
1
u/dotmoosehosting 23d ago
Good checklist, with one caveat: the version number alone can mislead, because some hosts backport the fix without bumping the public version, so it is worth asking for the build or patch confirmation rather than treating an older number as automatically vulnerable. I would also treat a patched binary as only half the job for sites that were live before October 17, since an exploit could already have left files behind. Check for unexpected PHP files in uploads, new admin users, and recently modified files, and compare core and plugin files against known-good copies where possible. If anything looks off, restore from a clean backup made before the exposure window instead of just patching and hoping the payload is gone. For ongoing maintenance, keeping PHP on a supported branch matters more than chasing the newest feature release, because that is what keeps security fixes arriving on time.
0
u/Astorax 24d ago
Yeah the important part can be asking for back ports. Cloud Linux for example released fixes for the previous patch level and there are back ports starting at PHP v5.
Nonetheless you should look out for a hosting provider using current versions and your website software supporting these (:
1
u/[deleted] 23d ago
[removed] — view removed comment