Skip to content

daily brief · Oct 23, 2026

PHP2Shell Flaws: Update PHP Now After AI Helped Find Critical Bugs

Critical PHP flaws found with help from AI let attackers run code on web servers. Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 now.

3 sources · 1 min read

If you run a website or server on PHP, update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 now. Two critical flaws, tracked as CVE-2026-109618 and CVE-2026-109619 and nicknamed “PHP2Shell,” can let an attacker run code on a server without logging in, according to CISA, which urged immediate patching on October 21, 2026.

OpenAI says the researchers at security firm Calif found one flaw using its GPT-5.6 Sol model through OpenAI’s “Patch the Planet” project. Wiz independently found both, using AI models including Gemini 4 Argon. Wiz says the bugs sit in PHP itself, so even a simple site can be exposed, and that the problem goes back to PHP 5.4.

CISA says systems on PHP 8.1 or older, or any that can’t be updated right away, should be taken offline until fixed. It said it had not seen attacks when it published. Press reports describe an early leak and a surge in attack attempts afterward, which we haven’t confirmed.

Quick answers

How do I know if I'm affected?

Any site or server running PHP is potentially affected, including WordPress, Drupal and Joomla. Ask your host which PHP version you use and update to a fixed one.

What does AI have to do with it?

OpenAI and Wiz both say AI models helped find the flaws, and Wiz says they also helped build working exploits quickly, which is why speed matters.

PHP2ShellPHP vulnerabilityCVE-2026-109618CVE-2026-109619OpenAI Patch the PlanetAI finds security flawsupdate PHP security

More on: OpenAI · AI coding · AI security · All Security briefings