AI helps uncover critical PHP flaws: what website owners need to check

The php2shell flaws affect PHP itself and require a hosting-level fix. Learn what distinguishes updates, backports and temporary mitigations, how AI contributed to the research, and what evidence to request before considering a website protected.

Professionals checking maintenance in a server environment; conceptual illustration.
Conceptual illustration generated with AI; not a record of a real incident.
In this article

The PHP project released fixes on October 21, 2026 for two critical vulnerabilities that can allow unauthenticated remote code execution. Tracked as CVE-2026-109618 and CVE-2026-109619 and discussed under the name php2shell, the flaws affect the language engine. Updating WordPress or its plugins alone does not repair that server component.

The first step for a website owner is to establish who manages PHP and ask for confirmation that the fix is running. Managed hosting may already have received a patch without its displayed version number changing. On a customer-managed VPS, the work may still belong to the customer’s technical team.

The risk can arise before a WordPress login

PHP runs on the server. When someone opens a page, WordPress uses that environment to process the request and generate the response sent to the browser. The dashboard, themes and plugins depend on this foundation, although they are separate pieces of software.

Remote code execution, or RCE, means that a successful attacker can cause the server to run instructions it should not accept. Unauthenticated means that an attacker does not necessarily need to sign in first. Strong passwords and two-factor authentication remain useful, but cannot replace the PHP patch.

The maintainers’ advisory covers installations serving web requests and identifies mod_php as a particularly high-risk configuration. This does not establish that every PHP website has been breached. Exposure, technical exploitability, a detected attempt and a confirmed compromise are different states.

Error handling can leave invalid memory behind

Both CVEs involve memory safety while errors are handled. In CVE-2026-109618, an out-of-memory failure can interrupt the preparation of internal request data. Cleanup may subsequently treat unfinished data as valid. In CVE-2026-109619, request-related internal state can remain after its backing memory has been freed and later be used incorrectly.

An illustrative analogy is a service ticket left on a desk after the information it refers to has been discarded. The next worker trusts the ticket as if the information were still valid. This explains the idea of an invalid reference; it does not describe all the steps in an actual exploit.

The consequences depend on configuration and on the request paths involved. The repair must address internal state management. Hiding error messages or replacing a website’s front page does not accomplish that.

What AI contributed, and who delivered the fix

Wiz describes its research and credits AI models with helping researchers find problems and make their analysis practical. OpenAI reports that Calif identified a critical flaw using GPT-5.6 Sol through Patch the Planet, while Wiz independently discovered and reported both vulnerabilities.

These are accounts of investigations conducted by those organizations. IANautaLab did not reproduce their tests. PHP’s maintainers led the fixes and release. Coordination with researchers, distributors and infrastructure providers sought to allow time for patches and protections before disclosure.

AI’s involvement does not remove the need to update. The operational question is whether the PHP process serving visitors has been fixed. Research only becomes protection when the solution reaches the environment actually handling requests.

A new version and a backport can address the same flaw

The corrective releases were PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. The maintainers identify updating as the complete solution for these two CVEs. Distributors may also carry a fix into the package they already supply, a practice known as backporting.

Comparing a dashboard’s number with the release list is therefore a useful first check, rather than sufficient evidence about a hosting package. Ask the provider to identify its corrected build and confirm that it is running. Do not switch PHP branches without checking application compatibility and recovery options.

In its security update, Hostinger says it completed patch deployment across its managed hosting, excluding customer-managed VPS services. It explains that the displayed version can remain unchanged and points customers to PHP Info: a Build Date of October 21, 2026 or later indicates the fix. This is a provider-specific statement, not a guarantee covering every hosting company.

A practical check for a small website

Consider a fictional shop using WordPress on managed hosting. Its owner identifies the plan, reads the provider’s advisory, then checks the version and build in the hosting dashboard. If that information is insufficient, the owner asks support to confirm coverage of both CVEs. There is no need to publish PHP Info or share credentials to ask that question.

Before maintenance, the owner also checks for a recent backup and an understood way to recover both files and database. WordPress, themes and plugins still need their own security maintenance, without confusing those updates with the language patch. If there are signs of compromise, fixing PHP does not remove the need to investigate the incident.

Firewall rules and temporary restrictions can reduce specific attack paths. The maintainers nevertheless warn that partial mitigations do not make an installation completely safe. Copying configuration changes without understanding memory limits, uploads and process restarts can introduce operational problems.

On October 23, PHP published a further advisory about session upload progress, associated with CVE-2026-115560 under an unusual combination of configuration and runtime serializer changes. It is a separate follow-up to assess with a provider; it does not remove the need to fix the two vulnerabilities announced on October 21.

IANautaLab’s AI for beginners section provides context for understanding the role of these tools. Here the immediate decision is operational: obtain evidence of the fix from the hosting provider, without treating an AI research announcement as automatic protection.

Sources consulted

PHP project — October 21 and 23, 2026 security advisories. Wiz Research — php2shell investigation. OpenAI — Patch the Planet coordination. Hostinger — protections and patch deployment. Primary sources checked on October 23, 2026; provider statements are attributed accordingly.