krat-tech

2026Age of AI

PHP2Shell

PHP2Shell is the name of two critical flaws in PHP, the language behind roughly 70% of websites. They let an attacker run their own code on a server. Researchers found them with the help of artificial intelligence, and fixes were released on 21 October 2026.

What happened

In August 2026, during an OpenAI-funded audit of PHP’s source code, the security firm Calif used the AI model GPT-5.6 Sol to find a memory-handling bug. The Wiz team, owned by Google, later found the same flaws independently. Both allow remote code execution, in other words taking over the server. Details leaked before the planned disclosure, so PHP released the fixes on 21 October slightly early.

Impact

  • WordPress, Drupal, Joomla and hosting control panels such as cPanel and Plesk all run on PHP.
  • Amazon and Cloudflare spotted exploitation attempts before the disclosure. Cloudflare deployed temporary firewall rules.
  • Many organisations took their websites offline as a precaution, including government portals and, briefly, the Internet Archive.
  • In late October the US agency CISA confirmed that attackers are actively exploiting the flaws.

What to do

The only reliable protection is updating PHP to a fixed version. The old 7.4, 8.0 and 8.1 branches only received source-code fixes, so sites on them should move to a supported version as soon as possible. If your site is on a hosting service, check with the provider whether they have updated. When I look after websites, I check this as part of Websites, domains and email. More on protection in Cybersecurity.

Menu

What I do

All services
Mini WikipediaThe evolution of technology, 237 articles

Hot tech news

All news

Popular

Wiki categories

All articles

Appearance

↑↓ selectEnter openEsc close