![]() |
A hidden security flaw in PHP has triggered a global scramble among governments and tech companies this week. Two critical vulnerabilities, dubbed "php2shell," have existed undetected in PHP's code for more than a decade, and security teams around the world rushed to apply emergency fixes on October 21 after the flaws were publicly disclosed. According to Reuters via The Express Tribune, the vulnerabilities were discovered by researchers at cloud security firm Wiz with the help of artificial intelligence tools, marking one of the most significant AI-assisted security discoveries to date.
What Are the php2shell Vulnerabilities?
The two flaws are tracked as CVE-2026-109618 and CVE-2026-109619, and both carry a CVSS severity score of 9.2 out of 10, placing them firmly in the "critical" category. PHP is the server-side scripting language that powers a huge portion of the web, including major content management systems like WordPress, Drupal, and Joomla, as well as countless custom-built websites. Because of PHP's enormous footprint, a vulnerability in its core code puts millions of websites at potential risk.
In practical terms, the flaws allow an attacker to run malicious code on a web server by sending a specially crafted request — no clicks or downloads needed. This "remote code execution" capability makes them among the most dangerous types of software bugs.
What makes php2shell especially alarming is its age. The vulnerabilities reportedly went undetected for more than ten years, hiding in one of the most widely used programming languages in the world. Millions of servers may have been exposed for years without anyone knowing.
AI Played the Detective
Perhaps the most remarkable part of this story is how the flaws were found. According to the report, researchers at Wiz used AI tools — specifically Gemini 4 Argon and GPT-5.6 Sol — to help hunt for the vulnerabilities. This is a landmark moment for cybersecurity: advanced AI models are now capable of reviewing vast amounts of source code and spotting subtle bugs that human reviewers and traditional scanning tools missed for over a decade.
This development cuts both ways. AI-assisted auditing can help defenders find and fix hidden flaws faster than ever. But the same techniques could eventually be used by attackers to discover new vulnerabilities at scale. Security professionals say this disclosure is a wake-up call: organizations can no longer assume that widely used, long-standing code is safe simply because it has been around a long time.
Governments Reacted Within Hours
The Netherlands, Finland, France, and Denmark all took government websites offline as a precaution while security teams assessed the situation and applied the emergency patches. Taking official websites offline is a drastic step reserved for serious, immediate threats, and the coordinated response across multiple countries shows how seriously this vulnerability is being treated.
Beyond government, the impact extends to hosting providers, e-commerce platforms, and businesses of all sizes. Any server running an affected version of PHP is potentially vulnerable until it is patched. Security agencies are urging administrators to update PHP to the fixed versions immediately rather than waiting for a routine maintenance window.
What Website Owners and Businesses Should Do
- Update PHP immediately: Apply the emergency fixes released on October 21. Do not delay — this is the single most important step.
- Check your hosting provider: If you use shared hosting, contact your provider and confirm that the patched PHP version is installed on your server.
- Scan for signs of compromise: Because the flaw existed for over a decade, review server logs for unusual activity, especially from the period before the patch was applied.
- Keep WordPress, plugins, and themes updated: Sites built on PHP-based platforms should ensure every layer of the stack is current, not just PHP itself.
- Back up your website: Before applying updates, take a complete backup so you can restore quickly if anything goes wrong during the patching process.
- Enable automatic security updates: Where possible, configure your server to install PHP security patches automatically to reduce the window of exposure in the future.
A Turning Point for Web Security
The php2shell incident will likely be remembered as a turning point in how vulnerabilities are discovered. AI tools have now found bugs that sat in plain sight for a decade, which suggests many more hidden vulnerabilities may be waiting in other widely used software.
For ordinary users, there is nothing to do on your own devices — but be patient if some websites are temporarily unavailable while administrators patch their servers. For website owners and IT teams, the message is urgent: patch now, verify, and monitor.
Details are based on published reports at the time of writing and may be updated as more information becomes available.



