In late October 2026, a critical security flaw was found in PHP, the coding language that powers an estimated 70% of the web. Dubbed 'PHP2Shell', the vulnerability puts millions of websites at risk of complete takeover.
A Pillar of the Modern Internet
PHP, which stands for 'PHP: Hypertext
Preprocessor', is a server-side scripting language that works behind the scenes to make websites dynamic and interactive. If you've ever used a site built on WordPress, shopped on an e-commerce platform, or logged into a web portal, you have almost certainly interacted with PHP. Its widespread use is why these new vulnerabilities, identified as CVE-2026-109618 and CVE-2026-109619, have triggered alarms across the global technology community, including urgent warnings from India's Computer Emergency Response Team (CERT-In).
The 'PHP2Shell' Flaw Explained
The two vulnerabilities, collectively nicknamed 'PHP2Shell', are critically severe, both scoring 9.2 out of 10 on the Common Vulnerability Scoring System (CVSS). They are memory safety flaws deep within PHP's core. This means an attacker doesn't need a password or any existing access to exploit them. Simply sending a specially crafted request to a vulnerable server can allow an attacker to achieve remote code execution (RCE). In simple terms, this is like giving a burglar a key to your house; they could steal sensitive data like passwords and customer information, deface your website, or use your server to launch further attacks. Because the flaw exists in the language itself, no website application or firewall can fully defend against it.
Who Is At Risk in India?
The 'potential blast radius' is enormous. Any organisation or individual running a website on a server with an unpatched version of PHP is at risk. This includes everything from government portals and banking services to small business websites and personal blogs. In response, Indian organisations have been scrambling to assess their exposure. Banks have been auditing their applications, government bodies like the National Informatics Centre (NIC) and UIDAI are performing emergency patching, and CERT-In has identified and alerted at least 60,000 vulnerable websites across the country. The Data Security Council of India (DSCI) noted the serious risk for any portal hosting personal data. Even if a full takeover doesn't happen, attackers could potentially leak data like passwords and API keys directly from a server's memory.
Immediate Steps for Website Owners
The message from security experts is unanimous and urgent: update your PHP version immediately. The PHP Group released patched versions on October 21, 2026, to fix the flaws. The recommended versions are PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12 or newer. For website owners, the primary action is to contact your hosting provider or system administrator to ensure these updates are applied. It is not enough to just install the patch; the web server and all its 'workers' must be fully restarted for the fix to take effect. For those running older, unsupported versions of PHP (8.1 and earlier), the situation is more complex. While some vendors may provide back-ported fixes, the official recommendation is to upgrade to a supported version as soon as possible. Several agencies, including the US National Security Agency, have advised taking unpatched systems offline entirely until they can be secured.













