
PHP2Shell – Critical Vulnerabilities Allow Remote Code Execution
Two critical vulnerabilities have been discovered in PHP – CVE-2026-109618 and CVE-2026-109619 – which may allow an unauthenticated attacker to remotely execute code on affected servers.
The vulnerabilities affect PHP installations handling web requests, including environments using PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The PHP Security Team considers the risk particularly high for systems using mod_php, where exploitation may occur before application code is executed.
Due to the widespread use of PHP, the issue may affect a large number of websites and web applications, including environments running platforms such as WordPress, Joomla and other PHP-based systems.
Security updates are available
The PHP development team has released patched versions:
- PHP 8.5.12
- PHP 8.4.27
- PHP 8.3.36
- PHP 8.2.35
The PHP Security Team strongly recommends upgrading immediately. There is currently no complete mitigation that can replace installing the security update. PHP 8.1 and older versions are no longer supported directly by the PHP project, although some operating system and LTS vendors may provide backported security fixes.
Organizations should therefore identify all systems running PHP, verify their current versions and update affected installations as soon as possible. Internet-facing services deserve particular attention because they represent the most exposed attack surface.
A reminder to continuously check your infrastructure
Critical vulnerabilities such as these demonstrate why cybersecurity cannot rely solely on reacting to newly published security updates.
Regular vulnerability assessments, exposure analysis, software inventory, security configuration reviews and continuous patch management can help identify weaknesses before they are exploited.
At HOTKEY404, we help organizations assess vulnerabilities, strengthen their cybersecurity posture and identify systems that may be exposed to attacks.
If you would like to verify the security of your infrastructure and identify potential vulnerabilities, contact us and schedule a meeting with our cybersecurity team. Together, we can review your current environment and recommend practical measures to improve its resilience against cyber threats.