Websites across the globe have been pulled offline after artificial intelligence uncovered two critical security flaws in PHP, the programming language that underpins a vast share of the internet. The United States National Security Agency has told organisations to patch immediately or take vulnerable systems offline, warning that attackers could seize control of web servers without so much as a password.
The disclosure, which broke on Wednesday, has triggered one of the most urgent patching scrambles the web has seen in years, with government agencies, online stores, news outlets and public services racing to protect their systems from a vulnerability some experts rank among the most severe in software history.
PHP Security Flaw Threatens Around 70% of the World's Websites
PHP sits underneath many of the world's most popular web design platforms, which means the weakness potentially affects an enormous range of websites — from online shops and news outlets to government services. Wiz, one of the security firms that identified the flaws, estimated that PHP runs about 70 per cent of the world's websites and said they rank "among the most severe vulnerabilities discovered in PHP, and arguably in software history".
Government agencies and companies around the world shut down websites on Wednesday after the two critical flaws came to light, preferring downtime to the risk of a breach. The flaws "often provide a direct path to the server's file system or database," the NSA said in a statement posted on X, adding that organisations should patch immediately or pull vulnerable systems offline.
Crucially, only sites that run PHP on their own servers are exposed. Many of the largest platforms are built on other programming languages or use operators able to install the fix quickly, and they were able to stay online without interruption.
How the Critical PHP Vulnerability Was Found by AI
In a sign of how rapidly the field is changing, both discoveries were made with the help of artificial intelligence. Security firm Calif first found the flaws back in August using OpenAI's GPT-5.6 Sol model, as part of an OpenAI-funded audit of PHP's code. Google-owned Wiz then found them independently weeks later, with assistance from AI models including Google's Gemini 4 Argon and GPT-5.6 Sol.
It is a striking turn of events: the same generation of AI models making headlines elsewhere — including Just Eat's recent AI food-image blunders — is now finding real, internet-scale security bugs before criminals can exploit them.
OpenAI said on X that it considered the flaws "one of the most impactful vulnerabilities in recent memory", adding that the discovery "marks a new phase, where AI can find security bugs with internet-scale impact".
What the NSA Is Telling Organisations to Do
The NSA's guidance is blunt: patch now, or go dark. Attackers able to exploit the flaws could take over web servers without needing a password, giving them a direct route to the server's file system or database. For any organisation running PHP, the choice was between a brief outage to install the fix or risking a full compromise.
"If you run PHP, it is imperative that you update now," the PHP Foundation, which funds developers working on the language, said in a blog post after its programmers released the fix on Wednesday.
Comparisons to Heartbleed as AI-Driven Disclosures Surge
Volker Dusch, a security engineer at the PHP Foundation, told the Wall Street Journal that it was the most serious problem PHP had faced in more than a decade, comparing it to Heartbleed — the 2014 flaw that set off a worldwide rush to patch servers and is still cited as a benchmark for internet security emergencies.
The discovery also arrives amid a surge in software security disclosures driven by increasingly powerful AI models. With automated systems now able to comb through millions of lines of code in hours, the number of vulnerabilities found in 2026 is on track to roughly double last year's record total.
Who Is Affected — and Who Is Safe
Ordinary users do not need to patch anything themselves, but the impact could still be visible: some government portals, retailers and media sites were temporarily taken offline while administrators applied the fix. Sites hosted on major cloud platforms or managed services were largely shielded, as their operators could roll out the patch centrally and quickly.
Security experts say the episode is a wake-up call for any organisation still running older, unmaintained software stacks. As AI models grow more capable of both finding and exploiting bugs, the window between a flaw's discovery and its weaponisation is shrinking fast.
For now, the race is on: every unpatched PHP server is a potential target, and the attackers are watching. For more breaking stories from around the globe, visit our World News section.
#PHPSecurityFlaw #Cybersecurity #AI #WorldNews #TechNews
Comments (0)