On 20 October 2026, technical details of two unpatched remote code execution (RCE) vulnerabilities in the PHP interpreter leaked online — ahead of their coordinated disclosure and before any fix existed. The PHP project shipped emergency patches the next day, 21 October 2026. Together the two flaws are being tracked under the nickname PHP2Shell.
Both carry a CVSS v4.0 base score of 9.2 (Critical), and both allow an unauthenticated attacker to execute their own code on a vulnerable server. Within hours of the patches landing, exploitation was observed at scale across the internet, concentrated on PHP’s session upload-progress path. Because PHP runs a very large share of the world’s websites, several public-sector and media organisations pre-emptively took sites offline while they arranged emergency fixes — a precaution that, by itself, does not mean those sites were breached.
If you operate anything that runs PHP — a CMS, a bespoke app, an internal tool, a container image — this advisory is about you until you have confirmed otherwise.