Many governments and security agencies issued warnings this week about two serious flaws in PHP. This guide explains in plain language what happened.
The short version
- PHP is a programming language that runs a very large number of websites, including WordPress sites.
- Two flaws, together called PHP2Shell, let an attacker take control of a website’s server without a password.
- A security firm found them using an OpenAI AI model and reported them privately, so a fix could be built first.
- The fix was released on October 21. US agencies said: update now, or take the system offline.
What is PHP?
PHP is software that sits on a web server and builds web pages when you visit them. Online shops, news sites, blogs and government portals often use it. WordPress, the most common website builder, runs on PHP. One widely quoted figure says up to 70% of websites use it, but that is a media estimate, not a measured number.
What is the flaw?
The two flaws are listed as CVE-2026-109618 and CVE-2026-109619. According to a CISA statement quoted by The National, they allow unauthenticated remote code execution in PHP. In plain words: someone far away, who has no account and no password, can make the server run their commands.
Who found it, and how?
A security firm called Calif found one of the flaws using OpenAI’s GPT-5.6 Sol model, as part of an OpenAI programme called “Patch the Planet”. Another security company, Wiz, also found both flaws independently. Calif reported the problem to the PHP Foundation, the group that maintains PHP, on August 11, according to Futurism’s reporting.
So OpenAI’s AI was a tool used by researchers. The reason for such programmes is to find serious bugs in widely used software before attackers do.
Why did governments say “update or go offline”?
Once a fix is published, attackers can study it to work out what was broken, then go after sites that have not yet updated. Some reports say this can take only hours, and that attackers now use AI too.
The FBI said that if an immediate update is not possible, organisations should take the system offline until it can be fully fixed. The logic is simple: a site that is switched off cannot be taken over, and a site left open and unpatched can.
Germany, Belgium, the Netherlands, Finland and the Czech Republic took some government websites offline as a precaution, according to Al Jazeera.
What happened next?
Reports differ. CISA said it had not seen exploitation when it first published. Other reports say Amazon and Cloudflare saw large numbers of attack attempts. WinBuzzer notes that no confirmed break-in at a real organisation had been shown at the time it wrote. Treat the situation as fast-moving and check the official advisories.
Who is affected?
Government, media, online shops and small businesses are the groups named most often, because they commonly use PHP.
What should you do?
If you run a PHP site:
- Ask your web host whether PHP has been updated to the fixed release, and update if they have not.
- Do not rely on automatic updates alone. A Wordfence researcher said WordPress’s automatic updates will not apply this particular fix, so some sites need a manual update.
- If you cannot update today, consider taking the site offline until you can, as the FBI advises.
If you do not run PHP: nothing changes for you. This blog, for example, is a static site with no PHP on the server.
What we do not know yet
Exact numbers of affected sites, how many have been attacked, and every detail of the timeline are still being reported, and different outlets give different figures. For anything you act on, use the official CISA advisory and the PHP Foundation’s release notes.