On October 20, 2026, a pair of vulnerabilities in the PHP scripting language were publicly announced for the first time, as first reported by The PHP Foundation and The Wall Street Journal. These vulnerabilities had been discovered through AI tools back in August by two independent parties, Calif and Wiz, and it turned out that they had affected versions of PHP released as early as 2012, impacting basically anything that used implementations of this code. Wiz coined the name "PHP2Shell" for the bugs, indicating that PHP exploits would enable potential attackers to launch a shellcode attack on affected servers and break into their file systems or databases.
The same day the bugs were announced, websites and online tools all over the world began shutting themselves down (including several Wikimedia websites and tools, like Toolforge and Phabricator) for urgent repairs, briefly knocking out a good portion of the Internet.
So, what actually was the fuss about all this? How does PHP work, and how did its vulnerabilities affect us? And perhaps most importantly: how are platforms like Wikipedia and the WMF preparing to improve their own cybersecurity, protect users and prevent similar instances in the future?
PHP is an open-source scripting language that was first written by Danish-Canadian programmer Rasmus Lerdorf back in 1994 – with the original acronym Personal Home Page Tools – as a series of tools that would help him track visits to his CV on his own personal website. Through time, PHP has evolved in a more complex and fluid language that allows users to shift from section to section of the same website without having to generate HTML code for each page from scratch.
As explained by Il Post (in Italian), though, its code does not work as a classic app: it is usually processed on a web server by a specific interpreter that elaborates and executes the code for the web browser in order to recover all of the data needed to generate the HTTP-based page the user had first clicked on, together with the elements of its graphical interface.
Many content management systems, including WordPress, are built on PHP, and Wiz estimated that about 70% of live websites on the Internet share this architecture, including Il Post itself, Facebook, Wikipedia, and many Wikimedia tools. A lot of these websites are regularly being updated for security reasons, but others have been left in the dust for a long time, and so are based on outdated systems that are incompatible with the newest versions of PHP.
This makes it difficult to calculate the exact impact of the PHP2Shell vulnerabilities, although The PHP Foundation made clear that they "sit in parts of PHP that nearly every request touches" and they're "so hard to fix without breaking compatibility, hurting performance, or forcing changes on the large ecosystem of third-party extensions."
Patched versions of PHP were swiftly made available, and an extremely high number of websites went down temporarily in order to patch their systems as soon as possible. British newspaper The Guardian reported that "in the UK alone, the National Cyber Security Centre (NCSC) sent out 50,000 alerts to organisations with affected systems, while government websites in France, the Netherlands, Canada, Japan, and Germany were taken down temporarily as a precaution while a fix was added."
As mentioned up above, among the websites and online tools that began shutting themselves down were many Wikimedia services, as first first announced by WMF staffer Johan Jönsson on October 20, shortly after PHP's security advisory.
These services, supported by volunteer developers and hosted within Wikimedia Foundation infrastructure, included the likes of Toolforge and the Wmcloud platform – which allows us to see global user contributions and pageviews, among other things – development platform Phabricator and testing platform Cloud VPS. Of any, the Toolforge down had a particularly heavy impact, since a lot of registered and authorized bots, such as anti-vandalism bot ClueBot NG, run on the platform: this resulted in a drastic decrease in page edits at the time of the outage.
Access to Toolforge, Cloud VPS and other key tools for editors was restored on October 22, although the WMF noted in a Diff post that "for some of these services, users have direct control over what PHP version they use, making it more difficult for Wikimedia Foundation staff to safely restore these services" in a short period of time. For more information, see previous Signpost coverage and the whole changelog on Wikitech.
The PHP2Shell incident is just one of the biggest dumps in a pretty rocky path the Internet has found itself in recent years: behind it, there were instances like AI crawlers and LLM-based editing; before it, many fear, there might be an even worse kind of chaos, as foreshadowed by a quick series of incidents and outages throughout last week.
The fil rouge for all of these events is AI, which is becoming an increasingly prominent piece of the online ecosystem, receiving billions of dollars in investments: for context, The Guardian reported that The PHP Foundation operates on financial contributions and maintains the language with only 13 full-time and part-time engineers, one of them being volunteer developer Ondřej Surý, who BBC News described as "the unsung hero of the internet" during the PHP2Shell emergency.
AI agents have proven to be very helpful tools for white hat hackers aiming to find vulnerabilities sooner than they could have ever do until a few years ago. For example, both firms that helped discover PHP2Shell used AI tools to assist with detection of the bugs: one of them, Calif, later used an OpenAI model to find another major vulnerability, this time in Oracle's Java language.
On the other hand, these same tools can also become dangerous weapons in the hands of people who want to take full advantage of hidden server vulnerabilities: ask the European Commission, who has just been attacked through the ARTEX system.
And while political institutions – such as the US Congress, as per NBC News – and companies are scrambling to boost their defences against the newest cyber threats, AI is changing our approach to cybersecurity and the Internet at break-neck speed, to the point that Matthew Prince, the co-founder and CEO of digital infrastructure firm Cloudflare, told Reuters he fears that "we're going to have a couple years where every single week it's going to feel like the sky is falling".
Upon being contacted by The Signpost, the leader of the WMF's Product Safety and Integrity team (PSI), Eric Mill, offered a slightly more positive view on the subject, stating that he hopes the upcoming months will be "characterized less by the sky falling, and more by announcements about new security initiatives and overhauls of legacy infrastructure whose time has finally come".
While agreeing that the current wave of severe security vulnerabilities is "pretty destabilizing", even for the Foundation's staff, Mill feels like AI tools could become "very exciting for those of us who work on defensive security", allowing programmers to empower their debugging systems.
He has also highlighted the top priorities of the PSI team at this moment in time:
Last year, our big focus was building out passwordless login and two-factor authentication across the platform, and making sure that accounts with sensitive rights were protected by it.
This year, getting ahead of discovering security vulnerabilities (before they're discovered for us) using AI is our top security priority, along with building new pipelines for automatic analysis of code we develop going forward. We're also going to be changing internal processes and automating some things that will let us accelerate how quickly our security patches get out to the full MediaWiki community.
Finally, while the PSI team "have gotten a lot of experience in 2026 across all of our projects" at performing AI-assisted operations, Mill thinks the key target of their work is "doing what is necessary to not have to make big structural changes" to the infrastructure of Wikimedia services. Still, the ongoing security crisis has made clear for the team that their focus should be "on scaling our ability to give that surface the security maintenance and attention it needs."
Discuss this story