CISA Confirms Active Exploitation of PHP2Shell Flaws: What Website Owners Must Do Now

 

CISA confirms PHP2Shell flaws are actively exploited, putting millions of PHP websites at risk of remote code execution

CISA Confirms Active Exploitation of PHP2Shell Flaws: What Website Owners Must Do Now

On October 26, 2026, the United States Cybersecurity and Infrastructure Security Agency (CISA) confirmed that two critical PHP vulnerabilities, known together as PHP2Shell, are being actively exploited. CISA added both flaws to its Known Exploited Vulnerabilities (KEV) catalog, a step the agency takes only when it has evidence that attackers are using a vulnerability in real attacks. The two flaws, tracked as CVE-2026-109618 and CVE-2026-109619, both carry a severity score of 9.2 out of 10 and can allow an attacker with no account to run code on a vulnerable web server.

PHP is the server-side language behind roughly 70 percent of all websites on the internet, according to web technology survey data. Patches have been available since October 21, 2026, yet estimates shared by the internet scanning firm Censys indicate that more than 32.51 million PHP services are still running an affected version. Federal agencies have until October 29, 2026, to apply the fixes, and CISA has told organizations that cannot patch right away to take their PHP-based systems offline until they can.

What Is PHP2Shell?

PHP2Shell is the name given to two critical vulnerabilities in PHP, the open-source scripting language used to build and serve a large share of the websites on the internet. Both flaws were disclosed and patched on October 21, 2026, when the PHP Group released fixed versions of the language. Both can lead to unauthenticated remote code execution, which means an attacker can send a crafted web request to a vulnerable server and run their own code on it, without logging in and without any interaction from the website owner or a visitor.

CVE-2026-109618: Out-of-Memory Corruption

CVE-2026-109618 is an out-of-memory corruption vulnerability in PHP. When PHP runs out of memory while handling a request, it can fail to set up part of its internal memory correctly. An attacker who understands this behavior can send a specially crafted request that causes PHP to mishandle that memory in a way that leads to code execution. The flaw is rated 9.2 on the CVSS scoring system, which places it in the critical range.

CVE-2026-109619: Stale Internal Request State

CVE-2026-109619 is a stale internal request-state vulnerability in PHP. Internal data from one request can survive in memory after it should have been cleared away. When the next request is handled, PHP may reuse that leftover state in an unsafe way. An attacker can exploit this by sending requests that manipulate the leftover data and eventually gain the ability to run code on the server. If your PHP version is affected by one, it is affected by both, and the same update fixes both.

How the Flaws Work

When someone visits a PHP website, the web server hands the request to a PHP worker, a process that runs the PHP code for that page and returns the result. The worker uses memory to keep track of variables, request data, and internal state while it works. When the request is finished, the worker is supposed to clean up that memory so the next request starts fresh. Both PHP2Shell flaws break that process in different ways.

CVE-2026-109618 breaks it at the point where PHP runs out of memory. Instead of failing safely, PHP can leave memory partly set up, with some areas containing stale or attacker-influenced data. An attacker who can trigger this condition repeatedly can shape that memory and redirect the program to run code of the attacker's choosing. CVE-2026-109619 works differently but reaches a similar result: internal request state that should be discarded after a request finishes can persist in memory, and the next request handled by the same worker can be influenced in ways the developer never intended.

Both flaws depend on the server's configuration. Attack complexity is high, so exploitation is not as simple as sending a single request and gaining access. Success depends on the worker setup and memory configuration of the target server. The highest-risk setup is Apache with the mod_php module, where PHP runs directly inside the web server process. Other affected setups include PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed. The confirmed exploitation so far was demonstrated against a single-worker mod_php profile, a deliberately favorable setup for the attacker.

The Timeline: From Disclosure to Confirmed Exploitation

The PHP2Shell story moved fast. Within about a week, it went from a quiet security fix to a confirmed, actively exploited threat with a federal patching deadline. Here is how the events unfolded.

DateEvent
October 17, 2026Amazon Threat Intelligence observes an exploitation attempt against the PHP flaws, before the public disclosure.
October 21, 2026The PHP Group releases fixed versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35. CISA issues an alert titled Critical Vulnerabilities in PHP Require Immediate Patching.
October 24, 2026A security researcher confirms successful remote code execution against honeypot systems.
October 26, 2026CISA adds CVE-2026-109618 and CVE-2026-109619 to the KEV catalog, confirming active exploitation, and updates its PHP alert. The PHP Foundation also releases updated Windows builds to address a related Brotli flaw.
October 29, 2026Federal deadline for United States federal civilian agencies to remediate the two flaws.

Three details in this timeline deserve attention. First, exploitation attempts began before the public disclosure, which means attackers knew about the flaws while most defenders did not. Second, the PHP Group released the fixes on October 21, the same day the flaws were publicly disclosed, so there was no gap between the announcement and the availability of patches. Third, working remote code execution was confirmed on October 24, only three days after the patches were released. Vendors around the world issued their own advisories to customers whose products include PHP. PHP is not only a website technology. It is embedded in printers, network equipment, storage devices, industrial systems, and business software.

Why the CISA KEV Listing Changes the Risk

Before October 26, website owners knew the PHP flaws were critical and that patches were available. After October 26, they know something more important: attackers are actively using these flaws against real systems. That is the difference the KEV listing makes. The KEV catalog is a list maintained by CISA of vulnerabilities that are known to be exploited in the wild. CISA adds a vulnerability to the catalog only when it has evidence of active exploitation. The listing is not a prediction or a warning about a theoretical risk. It is a statement of fact based on observed attacks. When a vulnerability enters the KEV catalog, security teams treat it as a top priority, because the window between disclosure and exploitation has already closed.

The October 29 Federal Deadline

CISA assigned the two PHP flaws a remediation due date of October 29, 2026, for United States federal civilian agencies. The deadline comes under Binding Operational Directive 26-04, which requires federal agencies to fix KEV-listed flaws on publicly exposed assets that grant total control after exploitation. The October 29 deadline applies directly only to federal agencies. Private businesses, hosting providers, and individual website owners are not legally bound by it. Even so, the deadline is a useful signal for everyone else. CISA gives federal agencies only three days from the KEV listing to the deadline, which is a very short window by the standards of government patching timelines.

The Take-It-Offline Guidance

Organizations that cannot update right away, or that run versions of PHP that no longer receive patches, are told to take their PHP-based systems offline until they can be patched. PHP versions 8.1 and earlier receive no further project patches, which means websites running those versions cannot be fixed by a simple update. Their owners need to upgrade to a supported version, migrate to a different setup, or take the affected systems offline. For a website that handles customer data, payment information, or login credentials, the risk of a compromise is usually worse than the cost of a short outage while the system is upgraded.

How Widespread Is the Exposure?

PHP runs a large share of the web. Web technology survey data puts its share at roughly 70 percent of all websites, from personal blogs and small business sites to large online stores and government portals. Many of those sites run on shared hosting, where the hosting provider manages the PHP version, and many run on servers that are updated infrequently. The scale of the remaining exposure is striking. According to estimates shared by Censys, an internet scanning company, more than 32.51 million PHP services are still running an affected version. Millions of systems that could be patched have not been patched yet, days after the fixes were released.

The exposure is not limited to websites. Because PHP is embedded in many products, the flaws also affect network devices, printers, storage systems, and industrial equipment that include a PHP component. Vendors have been publishing advisories for these products throughout the week, and owners of affected devices need to check with their vendors for firmware or software updates. Scanning activity related to the flaws has also been reported: at least one security firm has linked early low-volume scanning to a suspected North Korea-linked operator.

Are You Affected? How to Check

The first step for any website owner is to find out whether the site runs on PHP and, if it does, which version. This check takes only a few minutes, and it determines everything that follows.

Check Your PHP Version

If you manage your own server or virtual private server, you can check the PHP version from the command line by running the command php -v, which prints the installed version. If you use a hosting control panel such as cPanel or Plesk, the PHP version is usually shown in the panel's PHP settings or PHP version manager. If you use a content management system such as WordPress, the version is shown in the Site Health information screen, which you can find under Tools and then Site Health, in the Info tab, under the Server section.

The fixed versions are 8.5.12, 8.4.27, 8.3.36, and 8.2.35. If your version matches one of those numbers or is newer, your PHP installation includes the fixes for both flaws. If your version is lower than the fixed release for your branch, for example 8.4.26 or 8.2.34, you need to update. If your version is 8.1 or earlier, you are running a version that no longer receives project patches at all, and you need to upgrade to a supported branch. If you use shared hosting, you may not be able to update PHP yourself. In that case, contact your hosting provider and ask which PHP version your account uses and when the provider plans to apply the fixes.

Identify Your Server Setup

Knowing your PHP version is the most important check, but it also helps to know how PHP is deployed on your server. Apache with the mod_php module is considered the highest-risk configuration for these flaws, because PHP runs directly inside the web server process. PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed are also affected, so a different setup does not mean you are safe. It also helps to know where PHP is used in your environment beyond the main website. Many businesses run internal tools, dashboards, or customer portals on PHP without realizing it. A quick inventory of web-facing services, including subdomains, staging sites, and test servers, can reveal forgotten installations that are still exposed to the internet.

What to Do Now: Patch, Verify, and Hunt for Compromise

If your PHP installation is affected, the response has three parts: update to a fixed version, check whether the system was already compromised, and plan for the systems you cannot update right away. The order matters. Patching stops new attacks, but it does not remove an attacker who is already inside.

Step 1: Update PHP to a Fixed Version

Update PHP to version 8.5.12, 8.4.27, 8.3.36, or 8.2.35, depending on which branch you run. Most Linux distributions and hosting providers supply the fixed versions through their normal package repositories or control panels. After updating, restart the web server or the PHP-FPM service so the new version takes effect, then verify the version again with the same check described above. Before updating a production website, take a backup of the site files and the database. PHP updates within the same minor branch are generally safe, but a backup protects you if a plugin, theme, or custom application has a compatibility problem with the new version.

Step 2: Check for Signs of Compromise

Because exploitation attempts were observed before the public disclosure, it is possible that a vulnerable server was attacked before its owner knew the flaws existed. After patching, review the server for signs of compromise. Look at web server access logs for unusual requests, especially requests that return large responses or that target unusual URLs. Look for new files, modified files, or scheduled tasks that you did not create. Check for new user accounts, changed passwords, or unfamiliar processes running on the server. If you find evidence of compromise, assume the attacker may have gained full access to the server. In that case, restoring from a known clean backup, changing all credentials and secrets, and reviewing the incident with a security professional is the safer course than trying to clean a single file. A patch closes the door, but it does not evict an intruder who already came through it.

Step 3: If You Cannot Patch Yet

Some systems cannot be updated immediately. A legacy application may depend on an old PHP version, a vendor may not have released a fixed firmware yet, or a maintenance window may be days away. In those cases, reduce the exposure while you work toward a fix. Restrict access to the affected system so it is not reachable from the public internet if that is possible. A web application firewall can block malicious requests, though it is not a substitute for patching. Disable or remove PHP applications that are not needed. If the system runs PHP 8.1 or earlier, plan an upgrade to a supported version as a priority, because no patch will ever arrive for the version you are running. If the system cannot be upgraded or isolated, follow CISA's guidance and take it offline until it can be fixed.

The Related Brotli Flaw: CVE-2026-111497

PHP2Shell is not the only flaw website owners need to know about this week. A related vulnerability, CVE-2026-111497, affects the Brotli compression library, a widely used piece of software that compresses data for faster transfer over the web. The flaw is an out-of-bounds write in the Brotli decoder that could also result in privilege escalation and unauthenticated remote code execution. The Brotli flaw affects Brotli versions 1.0.3 through 1.0.9, 1.1.0, and 1.2.0. It has been patched in versions 1.0.10, 1.1.1, and 1.2.1. The flaw also affects other projects that include the Brotli C library, including Node.js, Bun, Envoy Proxy, Istio, .NET, and Python. On October 26, the PHP Foundation released updated Windows builds, versions 8.5.12-1, 8.4.27-1, 8.3.36-1, and 8.2.35-1, to address this flaw in PHP for Windows. In PHP Windows builds, the vulnerable decoder can be reached through the cURL extension when automatic HTTP response decompression is enabled. Unlike the two PHP2Shell flaws, the Brotli flaw has not been added to the KEV catalog, which means CISA has not confirmed active exploitation of it.

What PHP2Shell Teaches Website Owners

The PHP2Shell incident holds several lessons for website owners of every size. The first is that patching speed matters more than ever. The flaws were disclosed and patched on October 21. Working exploitation was confirmed on October 24. CISA confirmed active exploitation on October 26. That is a five-day path from disclosure to confirmed exploitation, and exploitation attempts were observed even before disclosure. The second lesson is that knowing what software you run is a prerequisite for security. Many website owners do not know which version of PHP their site uses, or whether their hosting provider has applied a critical update. The third lesson is that supply chains matter. PHP is not only a language for websites. It is embedded in devices, appliances, and business software from dozens of vendors. Finally, confirmation of exploitation changes the decision. Before October 26, patching PHP2Shell was important. After October 26, it is urgent, because the question is no longer whether attackers will use these flaws but whether they already have.

Frequently Asked Questions

What is PHP2Shell?

PHP2Shell is the name given to two critical vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 on the CVSS severity scale, and both were patched in PHP versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35, released on October 21, 2026. CISA confirmed active exploitation of both flaws on October 26, 2026, by adding them to its Known Exploited Vulnerabilities catalog.

Is my website affected by PHP2Shell?

Your website is affected if it runs on PHP and the PHP version is lower than the fixed release for its branch, or if it runs PHP 8.1 or earlier, which no longer receives patches. You can check the version from the command line with php -v, in your hosting control panel, or in the Site Health screen of a content management system such as WordPress.

What should I do first if my PHP version is vulnerable?

Update PHP to a fixed version right away: 8.5.12, 8.4.27, 8.3.36, or 8.2.35, depending on your branch. Take a backup of your website files and database before updating, then restart the web server or PHP-FPM service and verify the new version. If you cannot update immediately, restrict public access to the system or take it offline until you can.

What is the October 29 deadline for PHP2Shell?

October 29, 2026, is the remediation deadline CISA set for United States federal civilian agencies under Binding Operational Directive 26-04. Federal agencies must apply the fixes by that date and check whether their systems were compromised. The deadline does not legally apply to private businesses or individual website owners, but it signals how urgently CISA views the risk.

Does PHP2Shell affect WordPress websites?

WordPress itself is built on PHP, so a WordPress website runs on PHP and can be affected if the server's PHP version is vulnerable. Updating WordPress alone does not fix the problem, because the flaw is in PHP, not in WordPress. The fix is to update PHP on the server, which is usually done by the hosting provider or the server administrator. WordPress site owners should confirm with their hosting provider that the server runs a fixed PHP version.

Conclusion

CISA's decision to add the PHP2Shell flaws to the Known Exploited Vulnerabilities catalog on October 26, 2026, turned a serious warning into an urgent one. Two critical vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619, are now confirmed to be actively exploited, and more than 32 million PHP services were still running an affected version when that confirmation arrived.

For website owners, the action is straightforward. Check your PHP version, update to a fixed release, verify the update, and look for signs that the server was already compromised. If your site runs PHP 8.1 or earlier, plan an upgrade to a supported version now, because no patch will ever arrive for the version you are running. If you use shared hosting, confirm with your provider that the fix is in place. The patches are available, the risk is confirmed, and the time to act is now.

Post a Comment

0 Comments