The PHP security flaw that took government websites offline wasn’t a hack. It was the response to two critical vulnerabilities that could let an attacker run code on a server without logging in. In this solo In/Sight episode, Ben Wright explains what happened, how AI helped find the bugs, and what you actually need to update.
Why Sites Went Dark
Sites went offline over the PHP security flaw because authorities told them to, not because they were breached. Ben starts with the scene: wake up, and half the internet is holding its breath. Government websites in Europe are unavailable, and some well-known sites are down too. The cause is a patch for a flaw, not an attack.
If you’ve never thought about PHP, Ben isn’t surprised. It’s the language running behind a huge part of the web, including platforms like WordPress. Two critical vulnerabilities were disclosed, and both could let attackers run malicious code on a server without logging in. European and British authorities recommended that sites temporarily go offline until they could be fixed. A large part of the internet was suddenly at risk.
A Bug That Survived Years of Human Review
Reports say the bugs behind the PHP security flaw sat in the code for years until they were uncovered with the help of AI. OpenAI says it helped discover the vulnerability and brought it to the attention of PHP’s maintainers. Ben asks you to think about what that means. This code has been read and audited by many experienced developers for years, including some of the sharpest security people anywhere, and these bugs survived.
He’s clear that it isn’t a knock on those people. It shows how powerful AI has become in offensive security work. Researchers have been showing for a while that large language models can help find this kind of flaw, so this isn’t a one-off.
▶ Watch the full episode: In/Sight: PHP Security Flaw Explained: Why Government Sites Went Offline
Why This Pattern Is Hopeful
The PHP security flaw is also a hopeful sign for defenders. For decades, attackers needed to find one hole and defenders needed to find all of them. That math has always favored the people trying to get in. Ben sees AI as the first thing in a long time that might shift the balance, by letting defenders look everywhere, all the time, quickly.
The sequence in this story is the encouraging part. The flaw was found, reported to the maintainers, and fixed. The PHP security team released patches the same morning the news broke.
The Messy Side of the PHP Security Flaw
The PHP security flaw story also shows how AI speeds up the clock for attackers. Ben says he’d be misleading you if he stopped at the good news. Some sites were attacked before they could patch, and it could be days before anyone knows how many were hit. OpenAI acknowledges the double edge: the same capabilities that find flaws can help attackers build exploits.
There was also a dispute over process. The PHP Foundation says the security vendor Chainguard shared patch details before the coordinated release, breaking an embargo, and that this gave attackers a head start on reverse engineering the fix. Ben’s conclusion: the lesson isn’t that AI saves the day. AI is speeding up the clock for everyone, which means the human parts, coordinating and patching, matter more than ever.
What You Need to Do
Update PHP itself on your server, because plugin updates alone won’t fix the PHP security flaw. If you run anything on PHP, updating plugins or site content isn’t enough. Update the PHP version on the server, or ask your hosting provider to do it, and do it today.
The bigger picture: for the first time, there’s a tool that can find a 20-year-old hole before anyone malicious does. Whether that’s a gift or a gamble depends on whether defenders get to it first. This time, Ben says, it looks like they did, just barely.
Key takeaways
- The PHP security flaw was really two critical bugs that could allow code execution without logging in.
- Authorities recommended taking sites offline until patched, which is why government sites went dark.
- AI reportedly helped find the PHP security flaw after years of human review, and patches shipped the same morning.
- Some sites were hit before patching, and an embargo dispute may have given attackers a head start.
- Update PHP itself or ask your host; plugin updates alone won’t fix the PHP security flaw.
Frequently asked questions
What was the PHP security flaw?
Two critical vulnerabilities were disclosed in PHP, the language behind a large share of the web, including WordPress. As Ben Wright explains on In/Sight, they could let attackers run malicious code on a server without logging in, which is why the response was so fast and why so many site owners were told to act immediately.
Why did government websites go offline?
According to reports covered in the episode, European and British authorities recommended that sites temporarily go offline until they could be patched. Several government websites in Europe became unavailable as a result, and some other well-known sites went down too. The outages came from the response to the flaw, not from a hack.
How was the PHP vulnerability found?
Reports say the flaws sat in PHP for years until they were uncovered with the help of AI, and OpenAI says it helped discover the vulnerability and brought it to the attention of PHP’s maintainers. Ben Wright points out that the code had been reviewed by many experienced developers without these bugs being caught.
Does updating WordPress plugins fix the PHP flaw?
No. Ben Wright’s practical takeaway is that updating plugins or site content alone will not fix this. You need to update PHP itself on the server, or ask your hosting provider to do it. The PHP security team released patches the same morning the news broke.
What was the PHP embargo dispute?
The PHP Foundation says the security vendor Chainguard shared patch details before the coordinated release, breaking an embargo. According to the Foundation, that gave attackers a head start on reverse engineering the fix. Some sites were reportedly attacked before they could patch, and the full number affected may not be known for some time.
Related reading
- Independent penetration testing
- Why vulnerability assessments matter
- What a penetration test is and when you need one
Watch the full conversation, or catch it on Spotify!
Not sure where your organization stands?
Not sure where your organization stands? Insight Assurance performs independent assessments to help you find out. Contact us to talk with the professionals at Insight Assurance.


