A wide shot of a cybersecurity operations center or network operations center (NOC). Several analysts sit at rows of desks facing a massive video wall at the front of the room. The large display screen features a world map titled "Global PHP Vulnerability Activity," overlaid with dense, glowing red heat maps and interconnected attack lines radiating primarily from North America and Europe.

What Website Owners Need to Know About the PHP Security Crisis

A serious security issue affecting PHP, the programming language used to power many websites and web applications, has placed website security under renewed scrutiny. Known as PHP2Shell, the issue initially involved two critical vulnerabilities that could allow attackers to execute code remotely on affected servers without authentication.

The PHP development team released security updates on 21 October 2026 to address the two vulnerabilities. However, a further issue, tracked as CVE-2026-115560, was disclosed on 23 October. This third vulnerability has a narrower, configuration-dependent attack path and is being addressed through the regular release cycle rather than an emergency release.

Updating PHP is essential, but administrators must also check their hosting environment, apply the additional mitigation where appropriate and investigate whether their systems may have been compromised before the updates were installed.

What Is PHP2Shell?

PHP2Shell is the name associated with two critical vulnerabilities in the PHP runtime, tracked as CVE-2026-109618 and CVE-2026-109619.

A black laptop sits open on a light wooden desk next to a notebook. The laptop screen displays a cybersecurity warning graphic featuring the PHP logo, a red triangular warning sign with an exclamation mark, and the red bold text "PHP2Shell Security Vulnerabilities." Below the title, two CVE identifiers are listed in white text: CVE-2026-109618 and CVE-2026-109619. The background on the left side of the screen shows blurred lines of code.

PHP is widely used to build dynamic websites and web applications. It runs behind many content management systems, including WordPress, as well as e-commerce platforms and custom business applications.

The PHP2Shell vulnerabilities affect PHP’s internal request-processing and memory-management behaviour. Under certain conditions, errors during request handling can leave internal data in an unsafe state. An attacker may be able to exploit these conditions to execute unauthorized code on a vulnerable server.

The most concerning feature is that exploitation does not necessarily require an attacker to log in first or exploit a particular plugin. The PHP security team identified attack paths that can be triggered through web requests, potentially before an application has begun executing its normal code. The team considers servers using Apache’s mod_php configuration particularly exposed to the demonstrated attack path.

This is why PHP2Shell should not be treated as a routine website maintenance issue. It concerns the runtime responsible for processing requests, meaning the security of an application can depend on the PHP version and configuration underneath it.

A person wearing a dark, hooded sweatshirt sits with their back to the camera in a dark room, typing on a laptop. The laptop screen displays a terminal window with scrolling green and red lines of command-line text indicative of a cyber attack script. Some recognizable text fragments include "threat_actor scripts," "Controlling Staatos," and "unserialize."

Which Vulnerabilities Are Involved?

The initial PHP2Shell disclosure involved two vulnerabilities.

CVE-2026-109618: Memory corruption during error handling

This vulnerability involves PHP’s handling of memory allocation failures during request processing. Under particular conditions, PHP may leave internal request data partially initialised. Subsequent cleanup can then handle that data incorrectly.

An attacker may be able to manipulate requests to trigger the vulnerable behaviour and potentially achieve remote code execution.

CVE-2026-109619: Unsafe use of stale internal state

The second vulnerability concerns internal request-related state that can remain accessible after the memory backing it has been freed. A later operation may attempt to use that stale state before the relevant data has been safely reinitialised.

Depending on the server configuration and execution path, this can create an opportunity for remote code execution.

Both vulnerabilities are serious because successful exploitation may allow an unauthenticated attacker to run code on an affected system. The practical risk depends on factors including the PHP deployment, configuration and available mitigations.

A technician wearing light blue nitrile gloves uses a fine-tipped diagnostic probe on a computer motherboard with multiple green RAM modules installed. In the background, a computer monitor displays hex data alongside text reading "CVE-2026-109618: OUT-OF-MEMORY corruption."

The additional issue: CVE-2026-115560

On 23 October, the PHP security team published an informational advisory for CVE-2026-115560, another remote code execution vulnerability involving session upload progress. This issue requires an unusual combination of configuration and application behaviour. The application must configure session.serialize_handler as php_binary or php_serialize, switch it to php at runtime using ini_set() before calling session_start() and leave session upload progress enabled.

The PHP team describes this as an unlikely attack path. It recommends setting session.upload_progress.enabled=0 until the next regular bug-fix release to provide protection against this issue. Applications that do not change the serialization handler at runtime are not exposed to this specific attack path, according to the advisory.

This additional issue should not be confused with the first two vulnerabilities. The emergency updates released on 21 October address CVE-2026-109618 and CVE-2026-109619, but the PHP team’s 23 October advisory states that CVE-2026-115560 requires the additional mitigation until a fix is released.

Which Websites and Systems Could Be Affected?

The vulnerabilities concern PHP itself rather than a single website platform. Any organization running an affected PHP installation that processes web requests should establish whether its environment is vulnerable. Potentially affected deployments include:

  • WordPress websites: WordPress runs on PHP, so the PHP runtime used by the hosting environment must be checked separately from WordPress core, theme and plugin updates.
  • E-commerce websites: Online stores running on PHP may expose customer-facing services and business operations to risk if their runtime is vulnerable.
  • Custom PHP applications: Internally developed platforms, customer portals and business applications may be affected if they use vulnerable PHP builds.
  • Shared hosting environments: Several websites may depend on the same PHP installation or hosting infrastructure. Website owners should ask their provider which runtime version is deployed and whether the necessary fixes have been applied.
  • Cloud servers and containers: PHP installations within virtual machines, containers and managed infrastructure also require verification. Updating a development environment does not automatically update the production server.
A close-up, over-the-shoulder shot of a person looking at a computer monitor displaying a WordPress administrative dashboard. On the left side of the screen is the standard dark grey WordPress navigation menu showing links like "Dashboard," "Media," "Pages," and "Plugins." The main panel displays the "WordPress Updates" page with a message stating, "You have the latest version of WordPress. Your themes and plugins are up to date." Below this text, a blue hyperlink reads, "Learn more about WordPress 6.8.3."

The PHP team specifically identifies PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed among the installations serving web requests that need attention. The actual exposure and remediation process depend on how PHP is installed and managed.

A website’s visible functionality does not establish whether its underlying runtime is secure. A site may continue to load normally while running a vulnerable version of PHP.

What Should Website Owners Do Now?

The appropriate response is to verify the PHP environment, apply the relevant security updates and check for signs of compromise.

1. Check the PHP version running on the server

Website owners should establish which PHP version their hosting environment actually uses. Depending on the platform, this information may be available through the hosting control panel, server administration tools or the hosting provider’s support team.

Do not assume that the version used on a developer’s computer is the same version running on the live website. Production servers, staging environments, containers and background workers can use different builds.

2. Install the appropriate security updates

The PHP project released the following versions on 21 October 2026 to address CVE-2026-109618 and CVE-2026-109619:

PHP branchFixed version
PHP 8.58.5.12
PHP 8.48.4.27
PHP 8.38.3.36
PHP 8.28.2.35

These are the fixed upstream versions announced for the two initial vulnerabilities. Organizations using Linux distributions, long-term-support providers or managed hosting should verify the relevant vendor’s security advisory because fixes may be distributed as vendor-specific packages or backported to older version branches.

PHP 8.1 and older no longer receive general security updates directly from the PHP project, although some distributions and long-term-support vendors provide backported fixes. Administrators should confirm the status of their particular package rather than relying on the version number alone. Where suitable security support is unavailable, upgrading to a supported PHP branch should be prioritized.

Three professionals—a woman and two men—gather around a conference table in an office environment to analyze security documents. Spread across the table are printouts showing snippets of source code alongside formal technical reports. The document closest to the foreground features the text, "CVE-2026-109619: STALE GLOBAL STATE."

3. Apply the additional session upload progress mitigation

The PHP team’s 23 October advisory recommends setting the following configuration directive to 0 until the next regular bug-fix release:

session.upload_progress.enabled=0

This setting disables PHP’s session upload progress feature. It is an additional mitigation for CVE-2026-115560 and was also recommended as a mitigation for one of the initial PHP2Shell vulnerabilities.

Administrators should apply configuration changes through the appropriate server, PHP-FPM pool or hosting configuration and confirm that the setting takes effect in the running environment. They should consult their hosting provider or systems administrator if they do not control PHP configuration directly.

Because disabling the feature may affect applications that depend on native session upload-progress reporting, administrators should assess that operational impact. The PHP advisory states that applications which do not change the session serialization handler at runtime can keep the feature enabled for this specific third vulnerability.

4. Do not rely on WordPress or plugin updates alone

Updating WordPress core, themes and plugins is good security practice but those updates do not necessarily patch the PHP runtime.

Website owners should verify both layers independently. A fully updated WordPress installation can still depend on an outdated PHP build supplied by its host. Conversely, updating PHP does not eliminate vulnerabilities in outdated plugins, themes or application code. The same principle applies to other PHP-based platforms: application updates and runtime updates address different parts of the technology stack.

A man wearing a black polo shirt and a light blue surgical face mask stands inside a modern data center or server room. He is typing on a keyboard mounted to an open equipment rack. To his left, several tall server enclosures fill the space, glowing with numerous blue and green indicator status lights.

5. Ask the hosting provider for confirmation

If you use managed hosting or shared hosting, ask the provider to confirm:

  • Which PHP version or vendor package runs your website.
  • Whether the fixes for CVE-2026-109618 and CVE-2026-109619 have been applied.
  • Whether the recommended mitigation for CVE-2026-115560 is in place.
  • Whether the provider has identified suspicious activity involving affected systems.
  • What steps are required if evidence of compromise is found.

A provider’s general statement that its platform is secure is less useful than confirmation of the specific runtime, package and mitigation status.

6. Investigate possible compromise not just the patch status

Installing a security update reduces exposure to the vulnerabilities it fixes. It does not establish whether an attacker accessed the system before the update was installed.

Administrators should review available web server, application, authentication and endpoint logs for suspicious activity. They should also investigate unexpected processes, unfamiliar files, unauthorized accounts, unusual outbound connections and changes to application code or server configuration.

Where compromise is suspected, preserve relevant logs and evidence, involve qualified incident-response personnel and follow a structured containment and recovery process. Depending on the findings, this may include isolating affected systems, removing unauthorized access, rotating credentials and secrets, restoring verified clean files and checking connected systems for further signs of access.

Do not treat a successful version upgrade as proof that a previously exposed server is clean.

A person clad in a dark hoodie is seen from behind, working on a laptop in a darkly lit environment. A secondary reddish holographic overlay or display on the wall beside them shows a list of three critical security flaw numbers: CVE-2026-109618, CVE-2026-109619, and CVE-2026-115560.

What Should Ordinary Internet Users Know?

Most visitors do not need to change anything on their devices simply because they have heard about PHP2Shell. The issue primarily concerns the servers running affected PHP installations.

However, users should continue following ordinary online security practices. Use unique passwords, enable multifactor authentication where available and be cautious about unexpected password-reset requests or messages claiming that an account has been compromised.

If a website or online service you use announces a security incident, follow its official guidance. If you manage a business website, contact the hosting provider or technical team rather than assuming that the issue is irrelevant because the site appears to be working.

For businesses that depend on online sales, customer portals or digital services, a server-level vulnerability can become an operational concern. Maintaining a reliable update process, keeping backups and knowing who is responsible for the production environment can make a significant difference during a security incident.

An IT professional stands inside a long, narrow server room corridor lined with rows of tall black equipment racks. He is examining server cables. Multiple bright orange tags marked with the word "QUARANTINE" are hung visibly across a section of network cabling on the left rack to mark isolated or compromised hardware.

What Does PHP2Shell Tell Us About Website Security?

PHP2Shell highlights the importance of securing the software layers beneath a website’s visible interface.

Website security is sometimes approached mainly through content management system updates, strong passwords and plugin management. These remain necessary, but they are only part of the picture. The server runtime, operating system, hosting configuration, dependencies and deployment process also affect security.

The incident also demonstrates why organisations need a clear inventory of their technology. Businesses cannot reliably patch software they do not know they are running. PHP may be installed directly on a server, included in a container or supplied as part of a managed platform. Each deployment can have a different update process.

AI-assisted security research has also become part of the broader conversation around vulnerability discovery. However, claims about how a particular vulnerability was discovered or exploited should be grounded in verifiable evidence. Regardless of the research method, organizations should base their response on official advisories, validated technical findings and guidance from the vendors responsible for the affected software.

For smaller businesses, the practical lesson is straightforward: identify who manages each layer of the website, know how security updates are applied and have a process for responding when a critical vulnerability is announced.

A side profile of a man intently staring at a large computer monitor in a dimly lit room. The screen displays a code editor containing lines of PHP code, specifically highlighting a file named unserialize.php. Sections of the code are highlighted in pink and red blocks to denote security issues, and a comment blocks within the text reference vulnerability codes such as CVE-2016-7124.

Tech Takeaway

PHP2Shell is a serious reminder that a website’s security depends on more than its content management system or application code. The two vulnerabilities disclosed on 21 October 2026 can allow unauthenticated remote code execution on affected PHP installations, making prompt remediation essential.

The PHP project released fixed versions for CVE-2026-109618 and CVE-2026-109619. It subsequently published guidance for CVE-2026-115560, an additional vulnerability that requires an unusual configuration and application-code combination until the next regular bug-fix release addresses that issue.

Website owners should verify the PHP runtime, apply the appropriate vendor updates, confirm the additional mitigation and investigate possible signs of earlier compromise. Updating is essential but it is only one part of a complete response.

Official Guidance and Further Reading:

PHP 2026 Security Announcements

Canadian Centre for Cyber Security: PHP2Shell vulnerability advisory

Red Hat: PHP2Shell security advisory

Samic Tech Hub

Leave a comment

Your email address will not be published. Required fields are marked *