PHP2Shell is a useful case study in AI’s double-edged role in cybersecurity. AI-assisted research helped surface two serious flaws in PHP, while the resulting disclosure and reports of exploitation underscored how quickly defenders may need to respond. The episode shows that finding vulnerabilities is only one part of security: organizations also need the ability to verify, coordinate, and deploy fixes.
16
32
1
What happened with PHP2Shell
PHP2Shell refers to CVE-2026-109618 and CVE-2026-109619, two vulnerabilities in PHP. Canada’s Cyber Centre describes them as use-after-free flaws that could allow an unauthenticated attacker to execute arbitrary code on an affected system. Both vulnerabilities were assigned a severity score of 9.2 in reporting and advisories.
2
14
PHP’s reach raised the stakes. Reporting cites estimates that PHP is used by roughly 70% of websites, but that figure is not the same as saying 70% of websites were confirmed vulnerable. Actual exposure depends on whether a site runs an affected, unpatched PHP installation. CISA says the vulnerabilities affect PHP installations serving web requests.
32
44
1
The flaws were discovered with help from AI-assisted research. Calif’s account describes its work on the vulnerabilities, while other reporting says Calif researchers used OpenAI’s GPT-5.6 Sol through the Patch the Planet effort. Wiz also reported an independent discovery.
16
34
PHP released fixes on October 21, 2026. Listed fixed releases include PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12. The NSA recommended patching, and CISA later added both CVEs to its Known Exploited Vulnerabilities catalog and urged organizations to update immediately.
3
17
1
What the incident says about AI and security
AI can help defenders find hard-to-spot flaws
PHP2Shell shows how AI-assisted analysis can contribute to finding vulnerabilities in widely used software. In this case, Calif’s research and Wiz’s independent work helped bring attention to flaws in PHP itself—not just in individual websites or applications built with PHP.
16
32
That is a defensive benefit, but it does not make AI a security fix on its own. A vulnerability still needs to be validated, responsibly disclosed, patched, and removed from exposed systems. The PHP fixes and urgent agency advisories were essential parts of the response.
3
17
1
Faster discovery raises pressure on patching and coordination
Once a flaw becomes known, maintainers and organizations have to work through disclosure, confirm which systems are affected, and deploy updates. CISA’s urgent patching advice and its later KEV listing illustrate why response speed matters. The advisory supports the conclusion that these vulnerabilities were exploited in the wild; it does not show that AI caused those attacks or establish how many systems were compromised.
1
The distinction matters: AI-assisted discovery may shorten the path to finding a flaw, but successful defense still depends on operational work—knowing where PHP is deployed, assigning responsibility, and applying the relevant update. Reports of PHP’s disclosure process also point to the coordination challenges that can arise when a widely used open-source project must manage a serious vulnerability.
46
A high severity score is not a measure of real-world impact
A 9.2 score signals a serious vulnerability, but it does not mean every PHP website is exploitable or that every vulnerable site was attacked. CISA’s notice concerns PHP installations serving web requests, while the actual risk to an organization depends on its software versions, configuration, and patch status.
14
1
Reports of exploitation should also be read with their timing and scope in mind. CISA’s later KEV update is evidence of exploitation, while earlier security-company statements described what those organizations had—and had not—seen in their own telemetry at that point. Those reports are not necessarily contradictory: monitoring coverage and reporting dates differ.
1
23
25
What website operators should do
- Apply the PHP update that matches your deployment. The listed fixed releases are 8.2.35, 8.3.36, 8.4.27, and 8.5.12; check the official release or your vendor’s guidance for the right update path.
3
- Prioritize PHP systems that serve web requests. CISA specifically urges organizations to patch affected installations immediately.
1
- Treat other security measures as complements, not substitutes. Multi-factor authentication and unique passwords are worthwhile account protections, but they do not fix a server-side flaw that could enable unauthenticated code execution.
The bottom line
PHP2Shell demonstrates that AI-assisted research can help expose serious software flaws, and that those discoveries can increase pressure on defenders to respond quickly. The incident does not prove that more AI-discovered vulnerabilities will necessarily lead to more successful attacks. That broader judgment depends on evidence about exploitation, patching, and defensive outcomes—not vulnerability counts alone.