The India Decade

PHP2Shell: Governments on high alert after critical PHP website flaw discovered

Governments, businesses, and platforms take portals offline as automated cyber attacks target a flaw affecting 70 per cent of websites.

By The India Decade

Technology — PHP2Shell: Governments on high alert after critical PHP website flaw discovered
Technology — PHP2Shell: Governments on high alert after critical PHP website flaw discovered · The India Decade

Governments and organisations across the globe have taken thousands of websites offline after security researchers revealed two critical flaws in PHP, the foundational programming language that powers roughly 70 per cent of the web.

Tracked as CVE-2026-109618 and CVE-2026-109619, the vulnerabilities carry a severity rating of 9.2 out of 10. Dubbed "PHP2Shell", they allow attackers to bypass authentication entirely and execute administrative commands on remote servers without needing a password.

The PHP Foundation released security updates on 21 October, but automated hacking tools began probing vulnerable servers within minutes of the details leaking online.

How the flaw works and who is affected

The issue stems from a memory handling error in PHP that has existed unnoticed for over a decade. By sending two specially crafted network requests, an attacker can crash the server's memory allocation and trick PHP into executing arbitrary code.

Because PHP underlies popular content management systems like WordPress, Drupal, and Joomla, virtually any web application running on unpatched PHP versions is exposed. Cyber security firms Calif and Wiz independently identified the flaws in August using artificial intelligence tools, including OpenAI's GPT-5.6 Sol and Google's Gemini 4 Argon.

While major platforms rushed out defences, national agencies and private entities pulled portals down to prevent breaches.

Organisation or RegionAction Taken
Dutch Cyber Security AgencyWebsite shut as a precaution
Finland Government ServicesSelected online portals taken offline
French Interior MinistryMaintained websites in maintenance mode
Denmark Education PlatformNational school communication system suspended
Port of RotterdamPort administration portals shut down

Attack traffic spikes within hours

According to Cloudflare, automated exploitation attempts escalated rapidly immediately following the public disclosure on 21 October.

TimeframeAttack Volume Reported
Pre-disclosureThousands of attempts
45 minutes post-releaseTens of thousands
2 hours post-releaseHundreds of thousands
Next morningMillions

Amazon Threat Intelligence reported detecting exploitation attempts in its systems as early as 17 October, five days before the planned disclosure date, indicating that details had begun leaking beforehand. Japanese Prime Minister Sanae Takaichi issued a public request on social media urging system administrators to apply patches immediately.

What website owners need to do

Cybersecurity agencies in the UK and US have advised all administrators to immediately update their systems to supported versions or disconnect vulnerable servers from the internet.

PHP VersionSupport StatusAction Required
PHP 8.5SupportedUpdate to 8.5.12
PHP 8.4SupportedUpdate to 8.4.27
PHP 8.3SupportedUpdate to 8.3.36
PHP 8.2SupportedUpdate to 8.2.35
PHP 8.1 or olderUnsupportedUpgrade to newer release

For general web users, security experts advise monitoring accounts for unusual activity, though individual devices like phones and laptops are not directly exposed to the server-side bug.

Key numbers

WhatFigureSource
Flaw Severity Rating9.2 / 10Common Vulnerabilities and Exposures (CVE) tracking system
Websites Running PHP69.3%W3Techs web tracking firm
Earliest Detected Exploitation Attempt17 OctoberAmazon Threat Intelligence

In this story

NameRole in the story
PHP FoundationNon-profit organisation that maintains the PHP software

Topics

The day’s reporting, once each morning. No advertising.

More on this story