AI Codex Builds Complex PHP Exploit Chain in Under an Hour, Raising Security Concerns

jedisct1 · x · 2026-08-05

A security researcher used OpenAI Codex to build a real-world WordPress privilege escalation chain (wp2root) in under an hour—a task that typically takes a skilled operator weeks to craft manually.

The writeup details the full attack path: starting from an unauthenticated remote code execution flaw in WordPress core (wp2shell, originally found by GPT), breaking out of the locked-down PHP interpreter, and achieving native root access via a widespread 2026 Linux kernel bug (Copy Fail).

The author notes that hacking is shifting toward writing clear English prose to direct the model. However, they raise a critical concern: if AI handles the execution, how will the next generation of security professionals develop the deep intuition and understanding that comes from manual work?

Original post →

More from coding & agent

coding & agent channel →