PHP2Shell – Critical Remote Code Execution in PHP

  • Articles
  • PHP2Shell – Critical Remote Code Execution in PHP
PHP2Shell – Critical Remote Code Execution in PHP

Ls ComCSIRT, in collaboration with the Ministry of Information, Communication, Science, Technology and Innovation (MICSTI), Government of Lesotho, would like to issue an advisory regarding a currently active and critical vulnerability affecting PHP web servers.

Two critical flaws – CVE-2026-109618 and CVE-2026-109619, collectively known as PHP2Shell – have been identified in the PHP engine itself. These vulnerabilities allow an attacker on the internet to take full control of a web server without any login or password. All websites running PHP are potentially affected, including those built on WordPress, Drupal, Joomla, and custom portals.

The PHP project has released emergency fixes. All internet-facing PHP servers must be updated immediately to one of the following patched versions: PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35. PHP versions 8.1 and older do not receive an official fix and must be isolated from the internet.

For full technical details, recommended actions, and remediation guidance, please refer to the official advisory document below.

📄Download the Official Security Advisory (PDF)

Too to use for self-assessment: PHP2SHELL-scaner