AI-Driven Discovery of PHP2Shell Zero-Day Forces Rethink of DevSecOps Practices

One week after the October 21 black Wednesday incident, European governments scrambled to shut down web services following the disclosure of a critical remote code execution flaw in the PHP core. The vulnerability, tracked as CVE-2026-109618 with a CVSS score of 10.0, was identified by an advanced AI model during automated auditing rather than by human researchers. The flaw resided in long-untouched multipart/form-data parsing code that had been protected by PHP's backward-compatibility policy for decades. Once a proof-of-concept leaked, attacker-controlled LLMs rapidly generated architecture-specific exploits and polymorphic code that bypassed basic WAF signatures. Human defenders were forced into manual patch cycles and emergency network isolations across the EU because they could not match the speed of automated exploitation. The event has triggered immediate calls for AI-powered fuzzing inside CI/CD pipelines, legacy code audits, and autonomous AIOps-driven protection systems.

HabrTranslated from Russian

Read at source

One week after the October 21 "black Wednesday," when European governments urgently took web services offline because of a critical remote code execution vulnerability in the PHP core, the initial wave of panic and emergency patching has subsided. The incident, now known as PHP2Shell, is being recognized as a watershed moment that divides cybersecurity into "before" and "after."

The flaw, assigned CVE-2026-109618 and carrying a CVSS score of 10.0, affects the component that underpins roughly 70 percent of the web. For the first time in history, a vulnerability of this severity was discovered by a next-generation AI model during an automated audit rather than by human analysts.

Legacy code blind spot

The root cause lay in the multipart/form-data parsing routine that had remained untouched for decades due to PHP's strict backward-compatibility requirements. Human reviewers subconsciously trusted the code because it had "worked since the 2000s." AI models such as GPT-5.6 Sol from Calif and research tools from Wiz lack these cognitive biases. They ingested the PHP kernel into a mathematical model, constructed a dependency graph, and identified an edge case that produced a buffer overflow before control was handed to the web application.

Speed advantage shifts to attackers

The incident exposed a stark reality: AI-driven exploit generation now outpaces human response. Within days of the initial disclosure, attacker-operated LLM agents produced custom exploits for x86 and ARM architectures, generated polymorphic payloads that evaded signature-based WAF rules, and launched automated IPv4-wide scanners. Defenders, by contrast, had to coordinate maintenance windows, test patches, and verify production stability manually, leading many organizations to isolate servers entirely.

Immediate DevSecOps changes

Industry experts now state that post-factum patching is no longer viable. Required shifts include:

  • AI fuzzing at compile time – Traditional SAST and DAST tools that rely on known patterns are considered obsolete; AI agents must continuously attack code inside CI/CD pipelines before it reaches the main branch.
  • Legacy code reviews – Systems still running PHP 7.4 or other unmaintained runtimes are now priority targets for AI attackers and must be updated or refactored urgently.
  • Autonomous AIOps protection – Web application firewalls must incorporate real-time AI engines capable of detecting anomalous traffic structures, such as the malformed multipart packets seen in the PHP2Shell case.

The PHP2Shell incident is not viewed as the end of PHP but as the manifesto of a new era in which cybersecurity has become a contest between algorithms. Organizations are advised to verify current PHP versions (8.3.36, 8.4.27, 8.5.12) and assume that AI scanners are already probing their infrastructure.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulnerabilities & Exploits

Black October Vulnerabilities: Node.js, Nginx, and Server-Side Exploits Analyzed
Critical Pre-Auth RCE Vulnerability CVE-2026-118633 Affects All Versions of Sophos UTM
Cisco ASA and FTD Firewalls Affected by DoS Vulnerability in SSL VPN Already Exploited in the Wild