
PHP2Shell's two critical PHP flaws, explained
PHP2Shell is two PHP flaws rated 9.2 that can let one request take over a web server. How they work, who is exposed and what fully fixes them.
PHP is a programming language that web servers use to build pages. This tag covers PHP2Shell, two critical flaws rated 9.2 that can let one request take over a server, the October 21 fixes and the attacks that followed.

PHP2Shell is two PHP flaws rated 9.2 that can let one request take over a web server. How they work, who is exposed and what fully fixes them.

Amazon says its MadPot honeypots logged an attempt to exploit the PHP2Shell flaws on October 17, 2026, four days before PHP released the fixes. Attacks have since grown into the millions.

PHP shipped 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21 to fix two flaws rated 9.2. PHP says updating is the only complete fix.

PHP ships fixes for two critical flaws rated 9.2 at 14:00 UTC on October 21. Only 8.2 to 8.5 get patches, and details leaked a day early.
One email every Friday with the week's top stories from all six desks: AI, dev tools, coding, the tech industry, startups and what's next. Free, no spam.