Web Development

PHP2Shell: What the Critical PHP Vulnerability Means for Your WordPress Website

On 21 October 2026 the PHP project released emergency fixes for two critical flaws nicknamed php2shell. What was announced, why WordPress itself needs no update, how to check your PHP version, why the version number alone may not settle it, and what to ask your hosting company this week.

zabil

6 min read
A black rack-mounted server pulled partly out of a rack, with green status lights on the units beside it

On 21 October 2026 the PHP project released emergency security updates for two critical flaws that have been nicknamed “php2shell”. WordPress runs on PHP, so every WordPress website is part of the question, even though the fix is not a WordPress update. This guide explains what was announced, who has to act and what a business owner can check this week. It reflects what the primary sources said as of 10 November 2026, and it is not a substitute for advice from your hosting company or a security professional.

What was announced

PHP is the programming language WordPress is written in. The PHP project’s advisory, titled “Critical remote code execution vulnerabilities, update now”, covers two flaws: CVE-2026-109618 and CVE-2026-109619. PHP says they are fixed in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and that they “can allow unauthenticated remote code execution”.

In plain English, remote code execution means someone on the internet may be able to make your server run their instructions, and unauthenticated means they do not need a password first. PHP’s advance notice the day before rated both flaws 9.2 on the CVSS v4.0 scale. On 26 October 2026 the US agency CISA added both to its Known Exploited Vulnerabilities (KEV) Catalog.

Who is affected

PHP says the risk applies to “all PHP installations serving web requests”, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. WordPress.org’s own post says the vulnerabilities “are not specific to WordPress and affect any server that hosts a PHP application”. So the weak point is the PHP engine on the server, not a particular plugin or theme.

Why updating WordPress does not fix it

The same WordPress.org post says “No WordPress update is required or planned for these issues.” Keeping WordPress, plugins and themes up to date is still good practice, but it does not change the PHP version underneath. On shared hosting, the hosting company installs and patches PHP on the server, although you can often choose which installed version your site uses in the control panel.

WordPress.org adds: “Your web host may already be working to update PHP and put web application firewall (WAF) rules in place to mitigate the vulnerabilities, but you should still check for updates from your web host and, if necessary, update PHP as soon as possible.”

If your host uses cPanel, its release notes say EasyApache 4 25.91, dated 21 October 2026, “fixes two critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619) in ea-php74 through ea-php85”. A separate cPanel and WHM update covers cPanel’s own internal PHP. Only the server administrator can install these. WordPress.com says sites hosted on its own platform were already protected.

How to check your PHP version

WordPress.org says you can see which version of PHP your site runs under Tools > Site Health > Info > Server, and “Many web hosts provide this information in your web hosting administration panel too.”

Why the version number alone may not settle it

Compare what you see with 8.2.35, 8.3.36, 8.4.27 or 8.5.12. But PHP’s advisory also says “Some distributions and LTS vendors provide backported fixes, so contact your vendor for details, or upgrade to a supported version.” cPanel’s follow-up release, EasyApache 4 25.92, rebuilt its ea-php74, ea-php80 and ea-php81 packages so that “their change log lists the CVE-2026-109618 and CVE-2026-109619 backport”.

That means a host can run a version number lower than 8.2.35 and still carry the fix. The number on your screen is a reason to ask your host, not the final answer. A short, specific message works well:

  • Please confirm in writing that the fix for CVE-2026-109618 and CVE-2026-109619 is applied to the PHP version used by our website.
  • Please tell us which PHP version and package build that is.
  • If it is not applied yet, please tell us when it will be.

If your site runs PHP 8.1 or older

PHP says “PHP 8.1 and older no longer receive updates from the PHP project.” CISA’s alert says organisations that “continue to use PHP 8.1 or earlier unsupported versions, should take PHP-based systems offline until they can be patched or updated”. WordPress.org gives similar advice to people who “manage your own web hosting”.

For a business on managed shared hosting, the practical route is usually to ask whether the host provides a backported fix and, if not, to move to a supported PHP version in the control panel after taking a backup and checking the site afterwards. Our guide to checking and updating your WordPress PHP version walks through that. If you decide to take the site offline while you work, how you do it matters for Google, which we cover in taking a website offline without hurting your rankings.

If you cannot update straight away

PHP’s release posts say “There are no complete mitigations, updating is the only safe choice.” Its advisory lists settings that “reduce exposure to specific attack paths but do not make an installation safe”, and says “only an update is a complete solution”. Examples include a low post_max_size and switching off session upload progress.

Those settings are for the person who runs the server. For the session setting, PHP says “Do not rely on ini_set() or FPM .user.ini”, which is one more reason to leave it to your host. CISA says “A web application firewall may provide some protection until systems are updated or patched”, and no more than that.

What to watch for afterwards

CISA tells defenders to “Monitor for suspicious activity, including PHP worker processes launching shells or downloading tools.” On shared hosting you cannot see server processes, so ask your host whether it monitors for this. What you can watch is your own site: new admin users you did not create, unfamiliar files, strange redirects or a Google security warning. If you see any of them, start with our guide to what to do first when a WordPress site is hacked and our WordPress security checklist.

A checklist for this week

  1. Open Site Health and note your PHP version.
  2. Send your host the message above and keep the reply.
  3. If you are on PHP 8.1 or older, or the host cannot confirm a fix, plan a move to a supported version, with a backup first.
  4. Note that PHP 8.2 “reaches end of life on 31 December 2026 and will receive no further security fixes after that date”, so choose 8.3 or newer when you plan.
  5. Check that you hold the hosting login, using our domain, hosting and login checklist.
  6. Keep a plain 503 maintenance page ready in case you do need to go offline.

If you are not sure who looks after your hosting or PHP, you can tell us about your business and we will help you work out who to ask and what to ask them.

Sources, all read on 10 November 2026: PHP.net news archive (security advisory and release announcements, 21 October 2026); CISA alert (issued 21 October 2026, last revised 26 October 2026); WordPress.org, Critical PHP Security Release (October 2026); cPanel release notes (21 October 2026); WordPress.com support page (reviewed 21 October 2026).

Related work

Where this has been applied.

Kalimporo - SodraTech

Institutions & Organisations

Desa Kalimporo

Desa Kalimporo

A village profile platform presenting governance structure, population data, local potential and village programmes to a wider audience.

View Project

Tourism, Hospitality & Rental

Sarfaraz Rent Car Makassar

Sarfaraz Rental Mobil Makassar

A car rental company website presenting the fleet, rates and rental terms, with contact details customers can reach easily from any device.

View Project

Institutions & Organisations

LSP MaKu

LSP MaKu

A professional certification body website covering certification schemes, schedules and participant guidance.

View Project

Keep reading

Related articles.

Leave a comment

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