By Craig Savage

AI-assisted discovery can uncover serious vulnerabilities, but effective response still depends on verified exposure, tested temporary controls, and evidence that remediation worked.

A critical vulnerability rarely arrives with a convenient maintenance window. Security teams need to reduce exposure immediately, while application owners need time to test changes and keep production services running. At the same time, someone needs to establish whether the vulnerability has already been exploited.

Urgent remediation can still require compatibility testing, coordinated deployment, and validation across every runtime serving production requests. Exposure may remain while that work proceeds and deploying the fix does not resolve every question about what happened before it.

PHP2Shell and the current threat

PHP2Shell refers to CVE-2026-109618 and CVE-2026-109619, vulnerabilities in the PHP runtime, the software that executes PHP application code. They can allow an attacker without login credentials to execute code on an affected web server. PHP released fixes on October 21, 2026, in versions 8.2.35, 8.3.36, 8.4.27 and 8.5.12.

In their research account, the researchers describe using AI to help review source code, trace unsafe memory handling, and find related vulnerability patterns, guided by their knowledge of PHP’s history. It does not establish that discovery or exploitation requires no human expertise. The fundamentals of response remain the same: verify exposure, control reachable paths, remediate, and investigate.

The Canadian Cyber Centre’s October 27 update reports exploitation in the wild. For affected, exposed services, investigation into possible compromise needs to proceed alongside urgent remediation.

There is also a separate issue to account for. In an October 23 follow-on notice, PHP described CVE-2026-115560, which involves an unusual combination of configuration and application behavior. The October 21 releases do not fix this additional issue. PHP recommends disabling session upload progress for affected configurations pending a routine release. Teams assessing remediation therefore need to distinguish the original pair of vulnerabilities from this subsequent finding.

Where PHP is running and what is exposed

Finding PHP in an inventory is a starting point. The more useful question is where it is handling requests in the deployed environment, including bundled software, containers, custom applications and integrations.

That requires a view of the active runtime: its version, loaded configuration, and operating account. Proxies and load balancers can affect how requests reach it. The account’s access to data, credentials and downstream systems helps establish what a compromise could mean.

In our follow-up customer bulletin, we advised customers to verify PHP’s presence and reachability rather than rely on version ranges alone to determine exposure. An older package may contain backported security fixes, so confirmation from the responsible supplier matters: does the package actually deployed contain the relevant corrections?

Application authentication is another potential source of false confidence. PHP’s vulnerability advisory documents a demonstrated attack against Apache’s mod_php integration that runs before application code begins. A login control implemented by the application may therefore offer no protection against that path.

How PHP exposure can reach critical systems

Running Oracle, SAP, or VMware does not, by itself, establish exposure to these PHP vulnerabilities. An affected PHP application connected to those platforms can nevertheless create business risk.

Consider a hypothetical customer-facing PHP portal that connects to an Oracle database to retrieve orders. This is an illustration, not a reported Spinnaker customer incident.

The first questions concern the portal: whether affected PHP serves it and which requests can reach that runtime. The next questions focus on the access available through the portal. Where are database credentials stored? Can the application host reach other sensitive services? Does an account intended to read orders also have unnecessary write or administrative privileges?

Those details determine how far a compromise could extend and help prioritize containment, remediation and investigation. They do not establish that Oracle Database itself contains either PHP flaw.

Temporary controls and their limits

Temporary controls need to be judged against the deployed application and the requests that can reach it. Removing unnecessary network access, limiting access to required users or trusted connections, and restricting direct access to the origin server can reduce exposure. Where those measures cannot provide adequate protection, isolation or temporary suspension becomes a business decision that needs prompt escalation.

Configuration changes require the same care. PHP’s configuration guidance explains that disabling session upload progress and restarting every PHP worker blocks demonstrated session-related paths for CVE-2026-109619. Other paths remain possible. Applying that change is therefore evidence of a specific mitigation, rather than proof that the installation is safe.

PHP’s suggested memory-limit change also addresses a specific trigger. As the memory-handling advisory explains, it requires consideration of memory-exhaustion and availability risks. Request limits are useful only where they actually constrain traffic reaching PHP. Copying a setting without checking where it takes effect can leave the relevant path exposed.

A web application firewall may provide additional filtering, but its presence does not demonstrate coverage of every attack path. Testing needs to establish both security effectiveness and continued business functionality, including uploads, authentication, and integrations. Monitoring adds visibility into suspicious activity; it does not prevent exploitation.

Verifying remediation and investigating compromise

A package update can complete successfully while an older runtime continues serving production traffic. Updating a command-line installation or rebuilding a container image does not establish that every active instance has changed.

Verification needs to reach the running workers, deployed replicas and effective configuration. It also needs to cover the relevant protection and the critical business functions that could be affected by the change. Package or build identifiers, configuration records, deployment times and validation results provide a record of what was corrected. Recording the limits of testing makes any remaining uncertainty explicit.

There is a separate question about the period before remediation. The Canadian Cyber Centre’s investigation guidance recommends reviewing web-server, application, authentication and endpoint logs for suspicious activity. Unexpected processes, files, accounts, commands and outbound connections associated with PHP or the web service warrant investigation.

An update does not remove an attacker who has already established access. Evidence of unauthorized execution, persistence or credential misuse should trigger incident response immediately, including evidence preservation, containment, and investigation of connected services. Missing logs or a quiet monitoring dashboard cannot establish that exploitation did not occur.

Closing the vulnerability and establishing whether the service was compromised require different evidence. Both are necessary to judge the outcome of the response.

Keeping critical services running securely

PHP2Shell illustrates the difficulty of responding to an actively exploited vulnerability while keeping critical services available. Business constraints can affect how quickly remediation proceeds, leaving organizations to assess whether temporary controls provide enough protection for continued operation.

That assessment depends on the deployed environment. Configuration changes may block demonstrated attack paths while leaving others open. Access restrictions depend on how requests reach the service. New exploitation information or a failed control can change the basis for an earlier decision.

Throughout that process, confidence comes from evidence: what is exposed, which protections have been tested, and whether the intended corrections are active in production. Investigation addresses whether the service was compromised before those corrections were in place.

A practical response checklist

The following checklist brings these considerations together for teams reviewing an affected service. It can help application owners and security leads identify gaps and document their response.

  • Exposure: Runtime, configuration, reachable requests and business dependencies.
  • Protection: Temporary controls, their tested effectiveness and remaining limitations.
  • Remediation: Accountable owner, deployment deadline and escalation route.
  • Verification: Evidence from the running production service, not only build or package records.
  • Investigation: Activity reviewed, evidence preserved and incident-response decisions.
  • Recovery: A tested route to restore a trustworthy service.
Craig Savage
Written By Craig Savage
Craig Savage Craig Savage leads cybersecurity at Spinnaker Support, bringing extensive experience in security transformation, Zero Trust, compliance and enterprise risk. His career includes leadership and consulting roles at Accenture, Capgemini, VMware and VMware Carbon Black. He is a recognized cybersecurity speaker and advisor known for aligning resilient security strategies with business priorities.