Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
ChatGPT Coding By James Whitfield

Run a PHP site? Use OpenAI's free Codex skill to check for the critical 'PHP2Shell' bugs

OpenAI says its models, working through its Patch the Planet program, helped find two critical flaws in PHP (CVE-2026-109618 and CVE-2026-109619, nicknamed PHP2Shell) that allow remote code execution without logging in on PHP installs that serve web requests. Fixes are out now, and the US cyber agency CISA tells everyone to update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 right away. To help, OpenAI published a free Codex skill on GitHub (openai/php2shell-checker) that walks you through finding which PHP versions you run and which update applies. Versions 8.1 and older are end-of-life and need a vendor backport or a move to a supported release.

Why it matters

PHP runs a huge share of the web, WordPress included. A guided check plus a version bump today is far cheaper than cleaning up a hacked server.

Who it's for

Anyone who runs or hosts a PHP site or app: WordPress owners, agencies, freelancers and ops teams.

How to try it

  1. Open Codex in a folder where it can see your server config or deploy files, and point it at github.com/openai/php2shell-checker.
  2. Let it walk you through which PHP versions and setups (PHP-FPM, mod_php and others) you're running.
  3. Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or ask your host when they will. Shared hosting usually has a PHP version switch in the control panel.
  4. If you're on PHP 8.1 or older, plan a move to a supported version now.

Plan & availability: The checker is a free, public GitHub repo you point Codex at; Codex itself needs a ChatGPT plan that includes it. The PHP updates are free. Fixed versions per CISA: 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

Source: @OpenAI on X

Written by James Whitfield from the original post. Checked Oct 22, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

securityphpcodexwordpress

More ChatGPT tricks

All ChatGPT tricks →