Latest: The US National Security Agency issued a rare public warning over the two PHP flaws on Wednesday, advising organisations using PHP to be prepared for an update addressing two critical vulnerabilities and, as Al Jazeera reported the warning, to take websites offline if they could not be updated immediately. Germany’s Federal Ministry for Digital Transformation and Government Modernisation took some websites offline as a preventive measure, France’s Ministry of the Interior deactivated the official websites for local administrative offices, and authorities in Belgium, the Netherlands, Finland and the Czech Republic also shut down websites to apply the patch, while Japanese Prime Minister Sanae Takaichi posted on social media to warn about the PHP risk. The flaw pair, dubbed PHP2Shell, was pinpointed with the help of AI models: researchers at security firm Calif, working with OpenAI, reported the first flaw on August 11, and Wiz, a security firm owned by Alphabet, reported the second on August 24, saying the findings rank among the most severe vulnerabilities discovered in PHP and that the underlying flaws had been present for decades. The PHP Foundation said the flaws were among the most severe it has encountered and warned that tools now find bugs faster than ever, for defenders and attackers alike.
Amazon said its threat intelligence team detected attempts to exploit the flaws before they were publicly disclosed, through its MadPot threat detection system, and that it remains unclear how the attackers obtained information about the flaws ahead of disclosure, CNBC reported. The FBI also warned that malicious actors could exploit the flaws to execute code remotely, putting sensitive data and networks at risk, and cybersecurity authorities in Singapore, the United Kingdom, Australia, Canada and the European Union issued similar alerts. OpenAI said it spent the past two months leading a coalition of software maintainers, cybersecurity researchers and security providers to coordinate fixes and protective measures ahead of the disclosure, and Cloudflare said it has deployed web application firewall protections designed to block malicious requests targeting the flaws.
PHP developers have released emergency updates, versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35, fixing two critical vulnerabilities that can allow unauthenticated remote code execution, and urged all users to update immediately. All PHP installations serving web requests are potentially affected, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed deployments, with the risk highest for mod_php, where a demonstrated exploit can trigger before any application code runs, the developers said.
The shutdowns started before the patches landed. Finnish government services and websites belonging to the Dutch parliament, cybersecurity authorities and the data protection regulator were taken offline as a precaution, the privacy campaign group noyb also withdrew its site, and watchTowr said it is already observing exploitation attempts in the wild. CERT-EU scored both flaws at 9.2 and advised organisations that cannot patch immediately to isolate internet facing applications from public networks until a fix is available.
Update, October 22, 2026: The disclosure itself is now in dispute. In a post patch blog, the PHP maintainers accused supply chain security company Chainguard of breaking the coordinated embargo by publishing built images containing the fix on October 21 at 07:41 UTC, more than six hours before the coordinated release, which let any attacker study the fix in binary form while other users still waited. The maintainers said CVE identifiers and rumours began circulating on Tuesday around 15:00 UTC, which forced them to bring disclosure forward a day from Thursday to Wednesday, and that Calif mistakenly published a proof of concept video hours later. The flaws are now tracked as CVE-2026-109618 and CVE-2026-109619, and Wiz says every PHP version released in the last decade is affected by at least one of them.
Chainguard chief executive Dan Lorenc told The Register the company did not leak. He said Chainguard independently found the same memory corruption vulnerabilities on Friday using an AI harness and a frontier model with, in his words, a basic prompt to find bad vulnerabilities in PHP, helped test the patches from Saturday, and decided on Tuesday night to ship the fixes because people were already being hit in advance of disclosure. “It’s coordinated vulnerability disclosure, unless there’s evidence of active exploits in the wild,” Lorenc said, adding that Chainguard honeypots caught IP addresses from China and Russia targeting the vulnerabilities on Wednesday and that he would make the same call again.
Update, October 23: Exploitation is now running at scale, and it started before disclosure. Cloudflare says it recorded thousands of exploitation attempts in the 10 hours before the vulnerabilities were publicly announced, tens of thousands within 45 minutes of disclosure, hundreds of thousands within two hours, and millions since, with attackers adapting payloads against its firewall protections. Amazon Threat Intelligence says it detected an attempt to exploit PHP2Shell on October 17, four days before patches were released, through its MadPot honeypot network, and multiple proof of concept exploits on October 21 from different infrastructure, pointing to multiple attackers rather than a single group. Amazon advises organisations to investigate suspicious activity dating back to at least October 17, rather than assuming their systems were safe until disclosure. Security firm Hadrian reported on October 21 that PHP2Shell was being exploited in the wild at scale, mostly through PHP’s session upload progress path. Both flaws carry a critical 9.2 severity rating.
Update, October 24: A third related flaw will not get an emergency fix. The PHP Foundation told The Register on Friday that it has reserved CVE-2026-115560 for a third remote code execution flaw alongside the two PHP2Shell bugs, and will ship the fix with the next regular PHP release, because exploitation requires what executive director Elizabeth Barron called a very unlikely combination of configuration and application code: the session upload progress feature enabled, a session serialize handler set to php_binary or php_serialize in configuration, and then switched to php at runtime before session start. An informational advisory advises setting session.upload_progress.enabled=0 until the regular release. Barron also said the Foundation has no evidence of successful exploitation of the original two vulnerabilities before disclosure, and no evidence of exploitation on patched versions, a position other researchers qualified on Friday: Mandiant chief technology officer Charles Carmakal said validated proof of concept exploits are capable of remote code execution against default mod_php deployments, though not PHP-FPM, and that the threat remains viable and serious.