On October 21, 2026, CISA (the U.S. Cybersecurity and Infrastructure Security Agency) urged organizations to immediately patch two critical PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, known as “php2shell.” On October 26 CISA added both to its Known Exploited Vulnerabilities catalog, which means attackers are already using them.

What php2shell means for a growing business
PHP is the programming language behind WordPress and many customer portals, intranets and line-of-business apps. CISA says php2shell allows unauthenticated remote code execution. In plain terms, someone on the internet can make your web server run their own commands without a username or password.
Once an attacker can run code on a web server, they can change pages, plant malicious files, take data stored on the site or use the server to reach other systems. That is why this PHP vulnerability is rated critical and why CISA wants it patched immediately, not at the next maintenance window.
CVE-2026-109618 and CVE-2026-109619 in plain language
The PHP project’s own security advisory on php.net describes two separate bugs. Both sit deep inside PHP itself, not in WordPress or any one plugin, which is why so many sites are in scope at once.
CVE-2026-109618 is described as “RCE via OOM corruption.” When PHP runs out of memory at the wrong moment, internal request data can be left only partly set up, and cleanup code may then treat that broken data as valid.
CVE-2026-109619 is described as “RCE via stale global state.” Some internal state can outlive the memory behind it, and a later request handled by the same worker may use that stale state before it is reset.
According to the PHP Foundation’s post on the release, both issues live in memory management and error handling, parts of PHP that nearly every request touches. That central position is what made them serious and hard to fix.
Who is affected by php2shell
According to CISA, php2shell affects all PHP installations serving web requests, including Apache with mod_php, PHP-FPM, php-cgi, FrankenPHP and LiteSpeed. PHP itself considers Apache with mod_php the highest risk. If your website or a web app your team relies on runs PHP, it is in scope until it is patched.
PHP says the mod_php risk is highest because of a demonstrated exploit where an unauthenticated request can trigger the attack before any application code runs. In other words, your site’s own code does not need to be badly written for this to work.
PHP is also often a component of other software, so you may be running it without knowing. That is why CISA’s first step is an inventory.
How to check your PHP version
The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Older releases on those branches still need the update. CISA notes that PHP 8.1 and earlier are unsupported versions, so they will not get this fix at all.

On a WordPress site, an administrator can usually see the PHP version under Tools, Site Health, Info, Server. For other web apps, ask whoever manages the server to confirm the exact version number, not just “we’re up to date.”
PHP’s advisory adds that Linux distributions and long-term support vendors received the patches in advance, so servers that get PHP from a vendor should check that vendor for updated packages. PHP’s supported versions page shows which branches still receive security fixes.
For PHP 8.1 and older, PHP says some distributions and support vendors offer backported fixes. Contact your vendor, or upgrade to a supported version. PHP also published minimal source backports for 7.4, 8.0 and 8.1 for people who build PHP themselves.
Your php2shell patch checklist

- List every website, portal and web app your business uses, including ones a hosting company or past web designer set up.
- Confirm the PHP version on each one against the fixed releases: 8.5.12, 8.4.27, 8.3.36 or 8.2.35.
- Patch internet-facing systems first, as CISA advises.
- If a system runs PHP 8.1 or older, or cannot be updated right away, CISA advises taking it offline until it can be patched or updated.
- Treat a web application firewall as a stopgap. CISA says it may provide some protection until systems are updated, but it is not a fix.
- Ask whoever manages the server to watch for warning signs CISA lists, such as PHP worker processes launching shells or downloading tools.
- Make sure you have a working, tested backup of the site before and after updates.
If you cannot patch php2shell today
PHP is clear that only an update is a complete solution. Its advisory lists temporary settings that reduce exposure to specific attack paths, but it says they do not make an installation safe. Treat them as a bridge of hours or days, not a plan.
For CVE-2026-109619, PHP suggests setting session.upload_progress.enabled=0 in php.ini or server configuration and restarting every worker. For CVE-2026-109618, it describes memory and request-size limits. Your server administrator should follow the full advisory rather than a summary.
Signs of the php2shell post-exploitation flow
After a break-in, attackers usually want a way to run commands at will. CISA’s warning signs fit that php2shell post-exploitation flow: PHP worker processes launching shells or downloading tools. A website normally serves pages; it rarely needs to open a command shell.
That is why monitoring should look at every process execution the web server spawns. If the web server spawns a shell or a download tool, someone should investigate right away. CISA has published a SIGMA detection rule in its SIGMA rules repository to help spot this activity in logs.
If you find signs of compromise, patching alone may not be enough, because changes made before the patch can stay behind. That is where a clean, tested backup and a careful review of the server matter.
Questions to ask your web host or past web designer
If someone else manages your site, you still need clear answers. Ask which PHP version each of your sites runs today, when it was moved to a fixed release, and whether anything still runs PHP 8.1 or older.
Also ask whether they monitor for the suspicious activity CISA describes, for example with CISA’s published SIGMA detection rule. If the answers are vague, treat the site as unpatched until someone confirms otherwise.
WordPress website security after the patch
Patching PHP closes this hole, but WordPress website security also depends on everything running on top of it. Once the PHP version is confirmed, update WordPress core, themes and plugins, and remove plugins nobody uses. Review administrator accounts and remove any you do not recognize.
A short set of habits helps here too. Our guide to an IT security baseline covers the basics that keep small problems from turning into incidents.
Why a tested backup matters
Updates can break an older theme or plugin, and a server compromised before patching may need restoring to a clean point. A backup only helps if it actually restores. Test it before you patch, so you can roll back with confidence if something goes wrong.
If you are reviewing how your business protects its data more broadly, see our page on data backup solutions.
php2shell FAQ
Is anyone still using PHP?
Yes. PHP is the language behind WordPress, and it is often built into other software too. CISA warns that PHP’s prevalence “may not be directly observable,” which is why it asks organizations to inventory every system running any version of PHP.
What exactly is PHP used for?
PHP is a programming language that runs on a web server. When someone visits a page, PHP builds that page, often pulling content from a database. It powers content management systems such as WordPress, plus forms, customer portals and many internal business apps.
How do I run a shell command in PHP?
PHP has built-in functions such as exec(), shell_exec() and system() that let a script run commands on the server, as described in the PHP manual for exec(). Legitimate apps use them sparingly. With php2shell, the danger is an attacker making the server run commands it never should.
Who leaked the PHP flaw?
Nothing in the public sources says it was leaked. The PHP Foundation says it found early signs of the memory problem itself in 2024, and that researchers at the security firm Calif, along with OpenAI and Wiz, later reported attack paths. PHP then released fixes on October 21, 2026.
How TANET helps
TANET is a local managed IT services provider serving Greater Puget Sound, the Portland metro and the Treasure Valley. Our flat-rate plans include a 24/7 helpdesk and local technicians, and you work directly with the engineers, not a sales team.
If you are not sure which of your systems run PHP or whether they are patched, our cybersecurity assessment is a good place to start. Our post on backups versus ransomware recovery covers the recovery side.
Not sure which PHP version your sites are running? Ask TANET to check your PHP versions and talk with a local engineer about where php2shell may still need a patch.
Source: CISA alert on critical PHP vulnerabilities (opens in new tab). Also see the CISA Known Exploited Vulnerabilities catalog.
Table of Contents