Critical PHP Security Release
The PHP project's October 21, 2026 emergency release fixes two critical vulnerabilities — nicknamed 'PHP2Shell' by researchers — that allow unauthenticated remote code execution before application code even runs. This is not a WordPress-specific flaw, and active exploitation is confirmed: Amazon Threat Intelligence recorded exploitation attempts starting October 17, four days before public disclosure, and multiple public exploits now exist. Update PHP immediately: fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and on EasyApache 4 servers the fix ships in EasyApache 4 25.91 or later.
What this means under a SharedLicense license
Because the flaws live in the PHP engine itself, any PHP application on an unpatched server — regardless of how well-built it is — can be taken over by an unauthenticated attacker. Broad real-world exploitation makes every unpatched host a target, not a hypothetical.
Due to the critical severity of the issues, site owners are encouraged to immediately update their installations of PHP. Your web host may already be working to update PHP and put web application firewall (WAF) rules in place to mitigate the vulnerabilities, but you should still check for updates from your web host and, if necessary, update PHP as soon as possible.
Within WordPress, you can see which version of PHP your site runs under Tools > Site Health > Info > Server. Many web hosts provide this information in your web hosting administration panel too.
These vulnerabilities are not specific to WordPress and affect any server that hosts a PHP application. No WordPress update is required or planned for these issues.
Versions of PHP prior to 8.2 no longer receive security updates from the PHP project.
If your site runs a version prior to this and you manage your own web hosting, you should consider taking your server offline while you prepare to update to a newer version of PHP. This advice is being published by several national cyber security agencies. To quote the UK National Cyber Security Centre:
Where immediate remediation is not feasible, organisations should consider taking the system offline until it can be fully mitigated.
Further information on wordpress.org:
- Get a faster, more secure website: update PHP today
- PHP Compatibility and WordPress Versions
- FAQ My site was hacked
Share this:
Frequently Asked Questions
What is PHP2Shell (CVE-2026-109618 and CVE-2026-109619)?
Is PHP2Shell being exploited?
Which PHP versions fix PHP2Shell?
Is there a mitigation if I cannot patch yet?
How do I check and update my PHP version?
References
Check your system for vulnerabilities
Select your product and operating system to see the exact fix commands that apply to you.
Check Your System