For all customers in Dubai, you become visible online well before the actual purchase, meeting, or phone call. Your website acts as an online shop front for your company, serving enquiries day and night, proving legitimacy for potential clients, and generating some portion of revenues for many companies. So, when you read about some vulnerabilities that took offline government websites across three continents, the first thought in your mind is quite normal: “Is my site safe?”
Right now, your concern is absolutely justified. As of 21 October 2026, the PHP project published emergency patches for two critical vulnerabilities, nicknamed PHP2Shell. Given that every self-hosted WordPress website is built using PHP, PHP2Shell WordPress vulnerability became one of the most relevant issues for Dubai website owners in recent years. In this article, we explain how the event took place, what it means for local businesses, and what to do next.
What Is PHP2Shell?
In general, PHP2Shell is a common name for two bugs in the PHP engine itself, described by CVE-2026-109618 and CVE-2026-109619. CVE-2026-109618 is a corruption of memory if PHP does not have enough memory to read the request. At the same time, CVE-2026-109619 leaves request data in use after the memory allocation for it is freed. The first known version of affected software is PHP 5.4.0.
Both vulnerabilities have CVSS 4.0 score of 9.2 – that is, they are critical. Exploiting the PHP2Shell vulnerability allows running arbitrary code on the web server, without authorization, clicks, or user actions. All it needs is one specially crafted request to the web server. Moreover, one of the vulnerabilities can lead to disclosure of live memory on the server that may contain sensitive information such as passwords or API keys.
The process was pretty fast. In late August 2026, researchers from Calif detected PHP2Shell vulnerabilities in the course of an AI-assisted audit of PHP codebase. The details were then publicly disclosed on 20 October, one day before planned disclosure date, forcing PHP project to publish patches earlier. The same day, the US National Security Agency published an advisory regarding this issue saying that exploiting this bug is very likely to become a reality in near future and that organizations should take down affected systems until patches are installed. This decision led to temporary shut down of some government portals in Netherlands and Canada and online banks in Japan.
As of 23 October, millions of exploitations have been detected, but there is no reported case of a successful exploit of a website. This is your opportunity to do something about it.
Do not confuse PHP2Shell with wp2shell. While in July 2026, a flaw in WordPress core dubbed wp2shell was making news headlines, PHP2Shell is a different threat. It exists in PHP, which powers WordPress, and not in the application itself. Even if you patched wp2shell in the summer, now it is time to fix another vulnerability.
Why WordPress Websites Are Especially Exposed
PHP powers around 69% of the Internet’s servers that utilize the known language to work. And the vast majority of these languages power WordPress-powered sites. Hence, the vulnerability represents a massive threat to WordPress because the automated attack scans search the Internet for websites running unpatched servers.
The uniqueness of this situation is the location of the vulnerability. This bug is executed when PHP starts processing the request, and therefore WordPress, a theme, and a security plugin do not have any effect on it. Usually, WordPress security threats emerge from an out-of-date plugin or a theme or weak password. PHP2Shell bypasses all the mentioned issues and makes even a secure website vulnerable if the PHP beneath is outdated. Updating WordPress core and plugins will not solve the problem.
Besides WordPress, this security flaw impacts the following applications: Joomla, Drupal, Magento, other custom PHP apps, cPanel and Plesk hosting control panels.
The biggest threat lies with legacy servers. Of the 1.1 million servers sharing their PHP version with the world, around 758,000 run outdated branches that no longer receive any security patches. If your server has PHP 7.x, 8.0, or 8.1, no patch will help you out in this situation. The only solution would be to upgrade your system.
The UAE is not too far away from this danger either. According to the 2025 report of the UAE Cyber Security Council, over 223,800 assets located within the UAE are open to attacks with half of all critical vulnerabilities not being addressed for over five years. Many SMEs in Dubai have sites built several years ago in shared hosting, and they use the same legacy PHP versions targeted by this vulnerability.
Check this video for more: The Massive PHP Flaw Crashing
What Is Really at Stake for Your Business
Remote code execution means the attackers get full control of your server. Once they achieve this, they can:
- Steal customer data, forms, and order information
- Install backdoor malware that remains even after updates
- inject spam links or redirects which harm your Google rankings
- install malware, causing Google and other browsers to block your domain
- use your web server as a point of entry to further penetrate your network
The external impact on your business is relatively easy to imagine: lost revenue while you’re site is down, unexpected development expenses, loss of search rankings which might take many months to restore, and uncomfortable phone calls to customers whose data could have been compromised, not to mention damage to your hard-won reputation.
Here, in the UAE, the cost of the problem tends to be even more pronounced. In addition to being the location of that 2021 study, the UAE also boasts of second-highest data breach costs in the world. Additionally, under the UAE’s Personal Data Protection Law (Federal Decree-Law No. 45 of 2021) and regulations specific to the free zones like DIFC and ADGM, businesses are required to protect their customers’ data.
But the internal impact tends to be greater. Most owners consider a website hit by hackers a personal insult, having invested time and resources, as well as branding and reputation, into it. The fact that a user was redirected to a scam website via your own web address will undermine both confidence and control. In the highly competitive Dubai market, where reputation is a key factor, such an impact will be felt very quickly, and there will be little you can do about it. Most business owners would like to use a website as a tool for marketing purposes rather than being a server administrator on the side.
And thus, the task at hand is not merely securing the server from external threats. It is making your website an asset to be proud of once again, and not the thing that makes you concerned every night.
Check this video for more: Urgent PHP Security Flaw
Is Your Website Vulnerable? A Quick Check
All versions of PHP that are prior to the one used for patching in their branch are considered to be insecure.
| PHP branch | Safe from this version | Notes |
| 8.5 | 8.5.12 | Recommended |
| 8.4 | 8.4.27 | Recommended |
| 8.3 | 8.3.36 | Supported |
| 8.2 | 8.2.35 | Security support ends 31 December 2026 |
| 8.1 and older (including 7.x and 5.x) | No patch | Upgrade required |
To find your version:
- Navigate to Tools – Site Health – Info – Server in your WordPress admin panel.
- Alternatively, you may check your hosting provider’s control panel, such as PHP version in cPanel or Plesk.
- Make sure in writing that PHP2Shell patches have been installed. In some Linux distributions, the PHP software is patched while the version remains the same, making it impossible to verify via updates.
How to Fix PHP2Shell on Your WordPress Website
If you are asking how to fix this, proceed as follows:
- Update PHP to a patched version. The versions to consider include 8.5.12, 8.4.27, and 8.3.36. The PHP 8.2.35 is patched but will lose its support by the end of December, hence just a temporary option.
- Do tests prior to making any changes. Old themes and plugins may not work with new versions of PHP software. It is important to test the changes on a staging site first before going live.
- Install a web application firewall as a mitigation measure. Web application firewall providers like Cloudflare implemented additional rules blocking known malicious attack vectors. While firewall protects your site, it does not substitute for patches.
- Remove the site if it is still vulnerable. Exactly this step is recommended by the NSA. Several hours of downtime would cost much less than an intrusion.
- Look for indications of the intrusion. The patch closes the way into the system but does not remove the attacker that may have got in there. Check for unknown administrator accounts, unknown plugins or PHP scripts in wp-content directory, suspiciously scheduled tasks and unexpected redirects.
- Reset all passwords and keys. As it was said above, once the flaw gets exposed, the entire server memory becomes vulnerable to the intrusion, hence you need to change passwords to the WordPress admin account, hosting account, database, as well as any API keys saved in the server memory.
- Save a backup of your site without vulnerabilities. Keep it out of the reach of the server to be able to quickly restore your website in case of future problems.
Every company is not always able to perform the upgrade and testing of PHP manually, and this is where Redberries comes to rescue. Being a professional PHP website development company and WordPress website development company, Redberries is ready to provide PHP upgrades, WordPress maintenance, malicious software removal and website recovery services for all UAE-based companies. If you are unsure about the safety of your website or it has already been hacked, this company can check and clean it, and then recover it to its initial state.
Building Long-Term Protection
This won’t be the last serious vulnerability. Experts believe there will be more such flaws discovered with the help of artificial intelligence in core web applications, and the time window for exploitation of such vulnerabilities will only get shorter. Here are some actions which ensure that you are prepared for the next vulnerability.
- Upgrade to a supported PHP version in advance. Do not do this only in case of emergencies – plan for it a year in advance.
- Create regular offsite backups automatically. This makes a disaster a minor problem, as you can restore the site within a day.
- Monitor uptime and files. It allows identifying a problem before it becomes an attack.
- Schedule maintenance. Doing monthly updates and quarterly security checks will save you much money on cleanup.
- Have an expert ready to help. Knowing who to turn to during times of trouble means that your crisis becomes a phone call away from resolution.
This is what you need to do to not only keep your site secure, but your rankings, revenue and sanity.
Frequently Asked Questions
What is PHP2Shell in simple terms?
These are two important vulnerabilities in the software called PHP, which powers WordPress and much of the Internet. These allow an attacker to gain complete control of the server with a single request, bypassing the login procedure.
Does updating WordPress fix PHP2Shell?
Not exactly. It’s in PHP, not WordPress. While keeping your core, theme and plugin up-to-date is recommended, you need to ensure that you update your PHP version as well.
Which PHP versions are safe?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 or newer in their respective lines. PHP 8.1 and below will not get an update and must be updated.
Can a security plugin protect my site?
Only when used in combination with some other protection. In fact, an attacker exploits this vulnerability before any scripts load, and this way they remain invisible for WordPress plugins.
My website looks normal. Do I still need to act?
Yes. Hackers use backdoors to access the website again later on. Just because everything appears to work fine does not mean that the website has not been compromised.
I am on shared hosting. Who is responsible?
Your web host usually controls PHP version on your website. Contact them directly and ask if the patches have been installed, also consider changing your PHP version through the control panel if you have the ability to do so.
Is PHP2Shell the same as wp2shell?
No. wp2shell refers to a security vulnerability within WordPress core and was patched in July 2026. php2shell is related to the security vulnerability of PHP and was patched in October 2026. You should handle both issues.
Can a Dubai business get local help fixing PHP2Shell?
Yes. Your local team will have the same time zone as you, be able to contact the hosting provider directly and act fast to shut down the website if needed. Redberries is a company located in Dubai offering PHP upgrades and WordPress website recovery for the UAE businesses.
Final Thoughts: Act Now, Then Breathe Easier
PHP2Shell may sound very serious, but the good news is that it is fixable. Make sure you know what version of PHP your server is running and then upgrade your software with a new patch right away. You should also be checking if anybody else has gotten there first.
If you don’t feel like doing this yourself, the Redberries will check your website and patch your PHP software for you. They can also help you restore your site from backup in case the damage is done.

