Security note

PHP2Shell: the fix, and what to do if your site runs WordPress

Published

Short version: two critical bugs in PHP itself were disclosed on October 21, 2026. The fix is a PHP update on the server, not a WordPress update. If your site runs PHP 8.2 or newer, get it to 8.5.12, 8.4.27, 8.3.36 or 8.2.35. If it runs anything older, ask your host for their patched build today, or take the site offline until they have one.