How to Set Up a WordPress Staging Site and Push Changes Live Safely
A staging site lets you test updates on a copy before customers see them. Learn how to create one, lock it down…
Two critical PHP flaws, nicknamed PHP2Shell, are a reminder that security lives on your server too. Learn what they are, how to check your PHP version and what to ask your host.
PHP2Shell is the nickname used for two critical security flaws in PHP, the programming language that runs WordPress. The PHP project announced fixes on October 21, 2026, and urged everyone to update. If your website runs on WordPress, this matters to you, even though the flaws are not in WordPress itself. This guide explains what was reported, how to check your PHP version, what to ask your hosting provider, and why website security is a regular part of owning a website, not a one-time job. We try to inform, not frighten: most site owners need to ask one clear question and then keep up good habits.
PHP2Shell refers to CVE-2026-109618 and CVE-2026-109619. According to the PHP project’s own security advisory, they can allow unauthenticated remote code execution, which means someone could run commands on the server without logging in. PHP rated both 9.2 (critical) on the CVSS v4.0 scale. Fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Updating WordPress, themes or plugins does not change the PHP that your host runs. Your host controls that, so the practical step is to ask your hosting provider to confirm in writing that the fix is installed, then keep your own website maintenance up to date.
How this guide was prepared: it is research-based. We read the PHP project’s advisory and the two GitHub security advisories linked under Sources, plus official WordPress documentation and reporting from security organizations. Information was checked on October 22, 2026, and this story is moving fast, so confirm the details on php.net before you act. We did not test the vulnerabilities, we did not investigate any client website for them, and we publish no exploit details.
WordPress is software written in PHP. Every time someone opens a page on your site, the server runs PHP to build that page. PHP is installed and managed by your hosting provider, and a version number such as 8.3 tells you which release is running. This is why PHP security is different from plugin security: you cannot fix PHP from your WordPress dashboard. Only your host, or you if you manage your own server, can update it.
The PHP project published two advisories on October 21, 2026, after announcing a scheduled release the day before. In plain language, they describe this:
A CVE is simply an official ID number for a publicly known security flaw, so people can talk about the same issue. “RCE” means remote code execution. According to the advisory, the risk is highest on servers that run PHP as an Apache module (mod_php), where an unauthenticated request could trigger the attack before any website code runs. The detailed advisory for the first flaw says unauthenticated code execution was validated over HTTP against mod_php with default settings, and that PHP-FPM, another common setup, is considered susceptible from source analysis, although no complete FPM exploit was demonstrated in that advisory. The names “PHP2Shell” and the leak of details before the planned release come from news coverage, not from php.net.
What is still changing: security companies and agencies disagree about how much real-world exploitation they have seen so far, and some figures differ between sources. We do not repeat unconfirmed numbers here. Check the PHP advisory and your host’s notices for the latest.
A website is often the first thing a customer sees and the place where leads, orders and messages arrive. Security is what keeps that dependable. Good security practice helps you:
No measure gives complete protection. Security reduces risk; it does not remove it. Still, the habits are simple and most of them are free.
Website security is not only a technical responsibility; it is also a business responsibility. Every website owner should make security updates, backups, monitoring, and access control part of regular website maintenance.
Website size does not remove risk, because automated scanning does not care whether a site is large or small. Pay attention if you are:

Log in to your WordPress dashboard and open Tools → Site Health, then choose the Info tab and expand the Server section. WordPress documents this screen, and you will find the PHP version listed there. Menu labels can differ slightly between WordPress versions. Treat the number as a starting point only. A hosting provider may install a security fix without changing the visible version (this is called a backport), so the number alone cannot prove your site is safe or unsafe. WordPress.org currently recommends PHP 8.3 or greater, which is a recommendation for general health, not a statement about this flaw.
Write to your host and ask: “Has the fix for CVE-2026-109618 and CVE-2026-109619 been installed on my server, and which PHP version and build am I running?” Keep their reply. Many hosts update PHP centrally, and Linux distributions and long-term-support vendors received patches ahead of the public release, according to reporting by Help Net Security. If you run your own server, check php.net for the fixed release for your branch.
Before any PHP change, take a full backup of files and database, and confirm it can be restored. If you have never tested a restore, read is your WordPress backup really safe first.
The PHP project says updating is the only complete fix. The fixed releases are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older no longer receive official updates; the project published minimal source backports for 7.4, 8.0 and 8.1, and some vendors provide their own. PHP 8.2 reaches end of life on December 31, 2026, so plan to move beyond it. Check that your theme and plugins support the PHP version you move to, and use a staging copy when you can. If an update is not possible right away, the advisory lists temporary measures (for example, settings such as session.upload_progress.enabled and memory_limit). They only reduce exposure and are not complete fixes, and they are server settings that your host should apply. Do not experiment on a live site without help.
If the fix is not available for your setup, contact your host promptly and follow their mitigation advice. The UK National Cyber Security Centre advises taking a system offline until it is mitigated if it can neither be updated nor protected by the temporary measures. For a small business site, that is a decision to make with your host or developer.
Open the home page, a few inner pages, the admin dashboard, contact forms, logins, any integrations, and a full test checkout if you sell online. Also check the Site Health screen for new warnings. Our guide to updating WordPress plugins safely uses the same test routine.
Check for admin users you do not recognise, files or plugins you did not add, unexpected redirects, spam pages, unusual emails, or odd entries in your hosting logs. A security plugin or scanner can help, but it cannot replace updating PHP, and a clean scan does not prove a site is clean. If you suspect a compromise, change passwords, tell your host, keep a copy of the logs, and ask a qualified professional to investigate before you restore anything.
PHP2Shell is one example. The same habits protect you against many other problems:
Security is not a box you tick once. Software changes, new flaws are found, and people come and go. Treat it like servicing a vehicle: small regular checks cost far less than an emergency. A simple routine helps: review updates weekly, read your host’s security notices, confirm backups and uptime are working, review who has access, look into unexpected changes, and test a restore now and then. Preventing a problem, patching on time and investigating early are usually better than waiting for an incident, but none of these steps removes every threat. If you would rather not do this yourself, a WordPress maintenance routine can cover most of the list.
It is the nickname for two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619, which the PHP project says can allow unauthenticated remote code execution on unpatched servers.
No. PHP is installed on the server by your host, so only a PHP update or a host-applied patch addresses a PHP flaw.
Go to Tools → Site Health → Info → Server in your WordPress dashboard. The version shown does not prove whether your host has applied a backported fix, so also ask your host.
The PHP project strongly encourages all users to update immediately. Make a tested backup first, check compatibility, and let your host handle it where possible.
No. A plugin runs on top of PHP and cannot repair a flaw in PHP itself. It can still help with other protections.
Treat it as a routine: check updates and backups weekly or as your site needs, and act the same day on serious security notices from PHP, WordPress or your host.
Contact your host, change passwords, keep logs, avoid restoring until you know the cause, and get qualified help to investigate and clean the site.
Yes. Every WordPress site runs on PHP and uses plugins and themes, so every site needs updates, backups and access control, whatever its size.
Related guide: WordPress Redirecting to Spam Sites: First Steps for a Redirect Hack
Check your PHP version, send your host the question above and make sure you have a restorable backup. If you would like help planning WordPress maintenance and updates, wpallsolution can help you understand what your site needs and plan the next steps. See our WordPress maintenance packages or contact us. We are not a cybersecurity firm and we cannot guarantee that a site will never be attacked.
A staging site lets you test updates on a copy before customers see them. Learn how to create one, lock it down…
Most break-ins start at the login screen. Use this practical checklist for passwords, two-step login, admin accounts, attempt limits and HTTPS.
Care plans give agencies steady work after launch. See how white label WordPress maintenance works, what to include and what to agree…
Black FridayCyber Monday sale
Before you go,
Our biggest discount of the year on the first payment of every maintenance plan.
BF2026 at checkout