NEWS

Critical PHP flaw, discovered with AI help, takes government sites offline in Europe and the US

A flaw that allows remote code execution in the language that powers about 70% of sites with a known back-end led the FBI and the PHP Foundation to call for immediate updates or taking services offline.

Critical PHP flaw, discovered with AI help, takes government sites offline in Europe and the US
Image: Redação iMasters

What happened

On Wednesday (October 21, 2026), governments and other organizations in Europe and the United States temporarily took sites offline to apply security fixes to PHP, a programming language used on the server side of a huge share of the web. The FBI's cyber division issued an alert saying the vulnerabilities allowed remote code execution, which opens the door to data theft and the compromise of entire networks. The FBI's recommendation was direct: anyone unable to update their systems immediately should take their sites offline.

Finland's government website was one of those affected, going partially down on Wednesday. A message to visitors stated that government portals were facing a temporary, full or partial, disruption while the issue was being resolved (source). The PHP Foundation, the organization that brings together developers responsible for maintaining and securing the language, confirmed that same Wednesday that it had already released the fixes and update instructions.

Why PHP matters so much

PHP isn't just one more language among many: it underpins the infrastructure of a huge share of the commercial internet, including government systems, online stores, and a massive number of WordPress, Laravel, Magento, and PrestaShop installations that also run in Brazil. Ismael Valenzuela, vice president of labs, threat research and intelligence at Arctic Wolf, put the problem in perspective:

The potential impact is enormous.

Ismael Valenzuela, vice president of labs, threat research and intelligence at Arctic Wolf

Valenzuela said PHP powers about 70% of sites whose back-end language is publicly known. According to him, the flaw puts "a significant portion of the internet's commercial and business infrastructure at potential risk," which doesn't mean every PHP site is vulnerable, but it does call for "immediate attention" from whoever operates these systems.

Who found the flaw, and how

The discovery didn't come from a lone researcher running a manual scanner: OpenAI said, in a post on the company's own blog, that it led a coalition of researchers, security providers, and other organizations over the past two months to address the vulnerabilities in PHP before public disclosure. Maintaining and releasing the fixes was handled by PHP's maintainers, but OpenAI highlighted the collaboration of partners such as Wiz and Cloudflare, which contributed research, technical support, and coordination to prepare protections ahead of the announcement.

In a statement, the company described the bugs as one of the most impactful security problems in recent times, and said AI appears to have found the flaws before any attacker did. OpenAI also issued a warning about what lies ahead: according to the company, these bugs are among several significant vulnerabilities already found and in the process of being fixed, and the expectation is that discoveries of this kind will increase sharply in the coming months.

The paradox of letting AI hunt for flaws

AI agents have already been blamed for a series of high-profile security incidents in recent months, which reinforces doubts about how to develop the technology safely as its use spreads globally. The PHP episode shows the other side of the coin: the same capability that creates risk can also get ahead of attacks. Raghu Nandakumara, vice president of industry strategy at cybersecurity firm Illumio, summed up the tension:

There's an important paradox here. We want AI to move quickly enough to find vulnerabilities humans might miss, while also making sure that increasingly autonomous systems operate within boundaries we understand and control. The faster AI becomes at finding weaknesses, the more important it becomes to think about what happens after those weaknesses are exposed, especially when organizations can't immediately patch every affected system. The lesson isn't that AI is inherently dangerous or inherently protective. It's that speed without control creates a new kind of security problem.

Raghu Nandakumara, vice president of industry strategy at Illumio

Valenzuela added a relevant technical point: some of these vulnerabilities have existed in PHP's code for more than a decade. What changed wasn't the language itself, but the ability to find these gaps and turn them into functional exploits, something AI accelerates considerably.

What changes for PHP developers in Brazil

Brazil has a large footprint of PHP in production: a good share of the country's WordPress sites, Magento and PrestaShop stores, internal systems built on Laravel, and portals from city halls and public agencies built on the language. For anyone maintaining this kind of system, the episode brings practical points:

  • Check the PHP version in production and confirm whether the patch released by the PHP Foundation has already been applied, either directly or through your hosting provider's package manager.
  • If an immediate update isn't feasible (legacy system, a dependency locked to an old version), follow the FBI's recommendation and consider taking the service offline until it's fixed, rather than leaving it exposed.
  • Check with your CDN or WAF provider (such as Cloudflare, mentioned as a partner in the fix) whether mitigation rules have already been published for these specific vulnerabilities.
  • Treat this as a reminder that infrastructure dependencies, even mature and widely audited ones like PHP, keep accumulating security debt for more than a decade without anyone noticing, until a new discovery tool (whether human or AI) exposes it.

The part that remains open is the volume: OpenAI itself warned that it expected to see more findings of this kind grow rapidly in the coming months. That means infrastructure and security teams in Brazil running PHP in production should expect more emergency patch cycles, not fewer, and it's worth reviewing update processes now so the next alert doesn't catch the operation by surprise.

Translated from the Brazilian Portuguese original · Read the original