Skip to content
Cyber Security

PHP2Shell: what the critical PHP flaws mean for your website

PHP2Shell is two critical PHP flaws that let attackers run code on web servers without logging in. The versions that fix them and what to check now.

Geidi Security Operations Team6 min read

In brief

What it is
PHP2Shell is two critical flaws in PHP (CVE-2026-109618 and CVE-2026-109619) that can let someone run their own code on a web server without logging in.
Who it affects
Any organisation with a website or web application running on PHP, which includes most WordPress sites, whether you host it yourself or a provider does.
What to do
Find out which PHP version every site runs, get it on PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, and ask your host or developer to confirm it in writing.
On this page
  1. What PHP2Shell is
  2. Is it being exploited?
  3. Are you affected?
  4. How to fix it
  5. If you think it already happened
  6. Where Geidi fits
  7. Sources

More on Cyber Security

One partner for the whole environment.

Tell us about your existing IT. We would be pleased to review your current system and give you an overview as to how Geidi may be able to deliver and enhance your IT operations.