PHP2Shell: Updating WordPress Plugins Will Not Fix It. Check Your Server's PHP

PHP2Shell PHP vulnerability patch guide

On 21 October 2026 the PHP project fixed two critical flaws, CVE-2026-109618 and CVE-2026-109619, now known together as PHP2Shell. Combined, they can let an attacker run code on a web server without logging in. AlmaLinux rates both 9.2 on CVSS v4.0, and Amazon's threat intelligence team saw an exploitation attempt on 17 October, four days before the public fix.

Why this matters even for a small website

  • It affects PHP that serves web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed.
  • WordPress, Drupal, Joomla and Magento sites, Laravel and CodeIgniter apps, and many government portals run on PHP.
  • Updating a CMS or its plugins does not help. The server's PHP version must change.
  • Old microsites, staging servers and shared hosting accounts are the ones most often forgotten.

What to do this week

  1. List every PHP system, starting with the ones open to the internet.
  2. Confirm the exact PHP version, or get it in writing from your host or vendor.
  3. Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 (or your OS vendor's patched package) and restart PHP-FPM or the web server.
  4. If a public system cannot be patched quickly, consider taking it offline, as the FBI and UK NCSC advise.
  5. Review web server and PHP logs for PHP processes starting shells or downloading files.

Read the full update, with temporary hardening steps and FAQs, here: PHP2Shell Flaws: What Indian Website Owners Must Patch Now

Published by Affix Center, a Mumbai-based IT services company offering cyber security services such as patch checks, log review and incident response.

Comments

Popular posts from this blog

Self-Hosted GitLab? CVE-2026-97229 Is Being Exploited, Check Your Version

Hiring a Website Developer? Six Warning Signs to Spot Before You Sign

Laravel Projects That Need a Rebuild After 18 Months: Five Causes and How to Avoid Them