PHP2Shell Explained: What the Critical PHP Vulnerabilities Mean for You

Last updated 22 October 2026. Based on research by Martin Warmer and Bas van den Berg, Eye Research.

Two serious vulnerabilities in PHP, the software that runs more than half of the world’s websites, were fixed this week. Rated 9.2 out of 10, they could allow a threat actor to run code on a vulnerable server without logging in, under certain conditions. The issue is in PHP itself, not only in a website’s content management system or plugins. If your organisation has a website, web shop or web application, it is worth to take five minutes to find out whether it is affected. Most organisations only need to do one thing: make sure their PHP software has been updated.

For a detailed technical breakdown, read the article on Eye Research.

PHP2Shell checker: the first step to check your website in one click

Eye Security has developed a free tool to make the first step easier. The PHP2Shell checker is a browser extension for Chrome and Edge that gives you a quick, read-only check of the PHP version a website shows to visitors. It is available on the Chrome Web Store.

  • Click Scan, and the extension reads the version shown in the site’s response headers and compares it with the versions affected by PHP2Shell.
  • It also shows which technologies the site appears to use.
  • The scan runs in your browser, and only when you start it. It does not send an exploit or probe to the site, and there is no server-side backend.

One limit to keep in mind: some websites hide their PHP version, and a version check alone is not a full vulnerability assessment. Always confirm the PHP version and patch status with your server administrator or hosting provider.

Get the PHP2Shell Checker from the Chrome Web Store

What to do now?

Install the official PHP update on internet-facing systems and confirm that the web-facing service is running the fixed version. Updating WordPress, another CMS or its plugins does not update PHP itself.

If an appliance or other PHP-based system cannot be updated yet, restrict access until the vendor provides a fix. If a system was exposed before patching, review available logs and security alerts for signs of attempted or successful exploitation.

1. Find out where you run PHP. Think about your website, web shop, customer portal and any internal tools that can be reached from the internet. If you are unsure, ask your IT team or provider.

2. Update to a fixed version. The PHP project has released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Updating WordPress or another content management system does not update PHP, because PHP is the software underneath. The update has to be applied to PHP itself.

Who does that depends on how you run your website:

  • Your own servers: your IT team can check the PHP version and install the update from your operating system vendor.
  • Externally hosted websites: contact your hosting provider. Most have already updated or are updating now, but ask for confirmation.
  • SaaS platforms: the vendor is responsible and has most likely updated already.
  • Appliances that use PHP: these are the hardest case. Updates often take longer, and they usually cannot run security software such as EDR. Until the vendor releases an update, we recommend limiting access to these devices to your internal network.
  • PHP 8.1 or older: the PHP project no longer releases updates for these versions. Ask your vendor whether they provide a backported fix, or plan an upgrade to a supported version.

3. Restart and confirm. After updating, PHP and any long-running processes must be restarted, or the old code keeps running. Ask for confirmation that the website is running the new version.

4. If you cannot update immediately, restrict access to the affected system or take it offline until you can. A web application firewall in front of the site is a useful interim measure but does not replace the update. The PHP project itself states that there is no complete workaround, and that updating is the only safe choice. Its security advisory lists the settings that reduce exposure in the meantime.

The background story: what happened, in plain terms

PHP is the programming language behind a large part of the web. The two vulnerabilities, CVE-2026-109618 and CVE-2026-109619, sit in PHP itself, not in a particular website, plugin or framework. This means that any website running an unpatched version of PHP is potentially exposed, whichever system it was built with.

Under the right conditions, a threat actor could use them to run their own commands on the server behind the website, without needing to log in. Security specialists call this remote code execution. The PHP project rates both vulnerabilities 9.2 out of 10 for severity.

The PHP project released fixes on 21 October 2026, one day earlier than planned. The identifiers of the vulnerabilities leaked online on 20 October 2026, while the coordinated disclosure was still underway. According to the PHP Foundation, a security firm that had reported the issues, then accidentally published a video of a working demonstration, which accelerated work on exploits. As a precaution, many organisations took websites offline until the fix was public.

The PHP project says it saw no functional public exploits before it released the fix. Amazon reported seeing exploitation attempts earlier. We have not verified that claim.

How worried should you be?

On the morning of the release, the warnings from developers and security specialists were dire, and we took the possibility of a generic, push-button exploit seriously. As more information surfaced during the day, our assessment changed.

Our current view:

  • The vulnerabilities are serious, and taking websites offline while the fix was not yet public was justified.
  • A generic exploit that works against any website is very unlikely. An attacker needs more information about the target, such as the operating system and PHP version.
  • We have indications that code execution is achievable under certain conditions. So while mass exploitation is unlikely, we expect targeted attacks in the near future.

The practical conclusion is the same either way: update as soon as you can.

Other findings since the release

In the hours after the leak, many researchers started looking for these bugs, and some found other vulnerabilities in PHP. According to the PHP developers, their impact is low. We agree that, based on the information that is public, they look limited compared with PHP2Shell.

  • One researcher claims a separate issue works against versions that already contain the PHP2Shell fix. It involves a feature that PHP itself warns is unsafe with untrusted input and that most projects avoid, so it would affect only a small share of websites.
  • A security expert has claimed that a bug very similar to the original is still exploitable. No details are public, so we cannot yet judge the impact.

As the situation developed, Eye Security informed customers about the risk and supported them in identifying potentially exposed PHP applications and deciding what action to take, including restricting access or temporarily taking systems offline where appropriate.

We will keep watching these developments and update this article when we know more.

For your IT team: signs of attempted exploitation

Attempts to exploit PHP2Shell are easiest to spot in a web application firewall or intrusion detection system, because the requests look very different from normal traffic. For example:

  • file upload requests containing unusual PHP session names or PHP code in the file name
  • abnormally long file names in uploads
  • abnormally sized session cookies (normally 32 characters)

Seeing these only shows an attempt. It does not show that the attack worked. If you need to investigate a server, look in the error logs for PHP processes crashing unexpectedly (for example messages mentioning SIGABRT), unexpected crash dump files, and messages about session objects failing to decode.

Where these logs are kept depends on your web server and PHP setup, so check your vendor’s documentation. Our full list of indicators and the forensic findings from our controlled testing are in the technical write-up on Eye Research.

Why “assume breach” still matters

Eye Security’s “assume breach” principle does not mean assuming that every organisation has been compromised. It means recognising that a patch closes a vulnerability but cannot, by itself, prove that no one exploited it beforehand. Patching and investigating possible prior activity are separate steps.

This principle is built into how Eye Security supports customers. Our security platform provides detection, backed by human-led monitoring, investigation, and incident response. When suspicious activity appears, our experts help assess what happened and guide customers through containment and recovery. In a situation like PHP2Shell, this means going beyond “Is it patched?” to ask “Was it exposed, and do we see signs of earlier activity?”

Need help?

If you are an Eye Security customer and have questions about your exposure, contact our support team at support@eye.security. If you suspect a system has been compromised, call our incident response team, available around the clock, via the incident hotline.

Further reading

Read our full PHP2Shell assessment, including detailed patching and detection guidance.

Blog Categories

Research and Technical

Threats and Vulnerabilities

About the author

Eye Security

Eye Security delivers Europe’s fastest-growing cybersecurity platform, Eye Cyber Guard, built for the mid-market. Blending Managed Detection and Response (MDR) with a 24/7 European SOC, expert-led incident response, and cyber insurance into one cohesive solution, Eye protects more than 1,000 mid-market organisations across Europe.

Recent Blogs

Inside Our AI vs. AI Cyber Battle: The New Speed and What to Do About It

AI threat actors no longer wait for you to think. Is your incident response ready for this? When a swarm of autonomous AI agents hit a European e-commerce company, stolen credentials were used within minutes. Every newly created obstacle was adapted to. The security teams that cope best will not be the ones with the […]

How Much Does a Cyberattack Cost a Mid-Sized Business?

IBM’s 2026 Cost of a Data Breach Report puts the global average cost of a data breach at $4.99 million*, up 12% year on year. AI-enabled malicious breaches cost even more, averaging around $6 million. A UK data breach cost was £3.13 million, while the Benelux figure stands at €6.35 million. 

How Much Should a Mid-Sized Business Spend on Cybersecurity? 

Even cybersecurity has to compete for budget. Invest too little, and you leave gaps that can become expensive. Spend heavily without knowing where the money is going, and you build an impressive security stack without materially reducing risk. So what are other businesses spending? And is there evidence that greater investment pays off?