More

    AI Agents Found Critical PHP Flaws and Forced a Global Patch

    Critical vulnerabilities in PHP, the open-source language that powers a large share of the web, were disclosed on October 21, 2026 after being found with the help of AI models. The discovery was serious enough that governments and organisations in Europe and the United States took websites offline temporarily while they applied fixes.

    Cloudflare, Wiz, OpenAI and Quarkslab disclosed two vulnerabilities tracked as CVE-2026-109618 and CVE-2026-109619, collectively referred to as “php2shell”. According to Wiz, the flaws enable remote code execution and Heartbleed-style memory disclosure in the core PHP engine.

    How the flaws were found

    OpenAI said its Calif system identified a critical flaw using GPT-5.6 Sol as part of its Patch the Planet initiative, with Wiz independently discovering and reporting both vulnerabilities. OpenAI described the disclosure as one of the most impactful security issues in recent memory, and warned that the same capabilities can also help attackers build exploits faster.

    OpenAI also said frontier AI found these vulnerabilities before attackers did, creating what it calls a “Defender’s Window” for maintainers to prepare fixes. PHP’s maintainers led the fixes and release, with partners contributing research and coordination.

    What to do if you run a website

    The advice from PHP’s maintainers is direct: all PHP users are strongly encouraged to update immediately. Cloudflare deployed WAF protections ahead of the public disclosure so that customers behind its network had some coverage in place.

    OpenAI published a PHP version checker as a Codex skill to help operators identify whether they are running a potentially vulnerable version. If you manage a site, the useful first step is to find out which PHP version your server actually runs, then check it against the patched versions rather than guessing from your hosting panel.

    One practical caution: an automated check can flag a version that turns out to be fine after your host applied a patch outside the normal release cycle. Confirm with your host before changing anything.

    If you are also responsible for site access, our guide to adding a second WordPress admin account covers the recovery setup worth having before an emergency.

    What we did not do

    We did not run a PHP environment, test the exploits, or verify any patched version ourselves. We also could not verify the affected-version range independently of the disclosures cited below. OpenAI’s own account of the discovery is a first-party statement, not an independent audit.

    A laptop screen displaying lines of programming code.
    A laptop screen displaying programming code.

    Sources

    Latest articles

    spot_imgspot_img

    Related articles

    Leave a reply

    Please enter your comment!
    Please enter your name here

    spot_imgspot_img
    HF

    Honest Fred AI Assistant

    Always here to help

    Images processed securely, not permanently stored. Don't share passwords or sensitive info.