Global PHP2Shell crisis: how to protect your website from the biggest critical PHP vulnerability
.webp)
The global impact of PHP2Shell: a silent threat on the web
Global cybersecurity has gone on alert after the discovery and leak of PHP2Shell, the term that groups two extremely severe security flaws identified as CVE-2026-109618 and CVE-2026-109619. With a severity rating of 9.2 out of 10 on the CVSS scale, these flaws allow remote code execution (RCE) without authentication, giving attackers full control over the affected servers.
Since PHP is the programming language that powers more than 75% of the planet’s websites — including massive platforms such as WordPress, WooCommerce, PrestaShop, Magento and many government portals — the unauthorized spread of these attack vectors triggered massive intrusion attempts worldwide.
How does the critical PHP2Shell vulnerability work and who does it affect?
The core of the danger is that the flaw does not belong to your website’s code or its content management systems (CMS) or plugins, but to the PHP interpreter installed on the web server.
Technical attack vectors:
- Memory management flaw (CVE-2026-109618): An out-of-memory interruption while processing data leaves pointers incompletely cleaned up.
- Use-after-free (CVE-2026-109619): By manipulating file uploads or session cookies, cybercriminals manage to reuse previously freed memory, execute arbitrary code and take control of the server’s operating system.
Any site running unpatched versions of PHP — even from the historic PHP 5.4 branch onward — is at imminent risk, regardless of whether the web application has all its plugins up to date.
Urgent steps to diagnose and mitigate the risk
To avoid data hijacking, leaks of customer databases or disruption of your digital operation, immediate remediation measures are essential:
- Identify the exact PHP version: Go to your hosting control panel (cPanel, Plesk or your infrastructure’s internal panel) and check which branch and sub-version your site is running.
- Apply urgent PHP updates: The supported branches have released patched versions (such as PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35). Updating the server to these versions or later is a priority.
- Back up first: Before changing PHP version or branch, make a complete backup (files and database) outside the server to avoid incompatibilities on your site.
- Perimeter protection with a WAF: If your hosting does not allow you to update the version immediately, you must have a web application firewall (WAF) enabled to mitigate known exploit attempts.
Ensure your company’s continuity with LUMA
Updating the server software is the first step, but patches do not detect whether an attacker already got into your systems before the gap was closed. In the corporate environment, web server protection must be complemented with deep, real-time visibility at the endpoint and server level.
At LUMA, we help organizations shield their digital assets with active cyber protection and EDR (Endpoint Detection & Response) solutions operated by our specialized team of engineers.
🎁 Take advantage of our Cybersecurity Month promotion:
If your company needs a world-class EDR solution to detect and respond to complex threats, LUMA covers the remaining months of the contract you currently have with your security provider.
Visit our website to see the conditions and request a free diagnostic assessment:

.webp)
.webp)
.webp)