PHP2Shell · CVE-2026-109618 & CVE-2026-109619

PHP2Shell emergency patch service for small business websites

Patch PHP2Shell on your WordPress, WooCommerce, Laravel or custom PHP site: PHP upgrade, compromise check, hardening and a plain-English report.

Starting atCustom quote
Mahmudul Hossain, PHP security engineerI patch it myself, no outsourcing

What is PHP2Shell?

PHP2Shell is the name for two critical vulnerabilities in the PHP engine itself, CVE-2026-109618 and CVE-2026-109619, disclosed by the PHP project on 21 October 2026. CISA and the PHP project describe them as allowing unauthenticated remote code execution: a crafted HTTP request can be enough to run code on the server, without any login.

Because the flaw is in PHP rather than in a plugin or theme, updating WordPress, WooCommerce or your plugins does not fix it. Datadog Security Labs found the malicious request is processed before application code runs, so security plugins and login screens cannot block it. Public exploits are available and exploitation attempts have been reported.

How to check if your website is vulnerable to PHP2Shell

If your site runs PHP and serves web requests through PHP-FPM, Apache mod_php, php-cgi, FrankenPHP or LiteSpeed, assume it is in scope until proven otherwise. Vercel's bulletin notes PHP 5.4 and later are affected in default configurations, including WordPress, Drupal, Laravel and Magento sites.

The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older are end-of-life and only have minimal source backports, so most sites on those versions need to move to a supported branch. In WordPress, check Tools → Site Health → Info → Server; on shared hosting such as Hostinger, cPanel or Plesk, confirm with your host that the build serving your domain includes the fix.

PHP2Shell fix for WordPress sites

A PHP2Shell fix for WordPress is a server-side job: the PHP version that runs WordPress has to change, not WordPress itself. Updating core, themes or plugins is still good practice, but it does not close CVE-2026-109618 or CVE-2026-109619.

When I patch a WordPress or WooCommerce site, I take a full backup, switch the site to a patched PHP release, restart PHP workers, then test the theme, plugins, checkout and forms. After that I look for signs of compromise such as unknown admin users, recently modified PHP files in wp-content and unexpected cron jobs.

Step-by-step guide: how to check and fix your PHP version for PHP2Shell →

PHP2Shell patch on shared hosting (cPanel, Plesk, Hostinger)

On shared hosting you usually cannot install PHP yourself. The PHP builds are provided by the host, and you choose a version per domain in the control panel: MultiPHP Manager or Select PHP Version in cPanel, PHP Settings in Plesk, or the PHP configuration page in Hostinger hPanel.

Picking a newer branch in the panel only helps if the host's build of that branch includes the PHP2Shell fixes. I check the version actually serving each domain, ask the host to confirm the patched build where needed, and test the site after the switch so nothing breaks quietly.

Hire a developer to fix PHP2Shell

If you run a small business, agency or online shop in the US, UK, EU or Canada and don't have a developer on call, you can hire me to fix PHP2Shell for you. I do the work myself, explain each step in plain English and leave you with a short written report.

Every site is different, so pricing is a custom quote based on how many sites you have and how they are hosted.

Request a PHP2Shell emergency patch quote →

Sources

Read the full guide: PHP2Shell: how to check and fix your PHP version.

What's included

  • Exposure check: which PHP version and SAPI actually serve each of your domains (not just php -v)
  • PHP upgrade to a patched release (8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer) and worker restart, or a planned move off PHP 8.1 and older
  • Compatibility testing of theme, plugins, checkout, forms and key pages before and after the switch
  • Compromise check: malware/file scan, recently changed PHP files, rogue admin accounts, cron jobs and log review
  • Temporary WAF rules or maintenance mode if an immediate upgrade is not possible
  • Hardening: unused plugins removed, file permissions, config files, credential rotation advice
  • Short plain-English report of what was found, what changed and what to do next

Ideal for

  • WordPress and WooCommerce site owners in the US, UK, EU and Canada
  • Sites on shared or managed hosting (Hostinger, cPanel, Plesk) and VPS servers
  • Laravel, Drupal, Magento and custom PHP applications
  • Agencies with many client sites on one or more hosting accounts

How I work

 process.log
01
Triage✓You send the site URL and hosting access. I confirm the PHP version serving the site and how exposed it is.
02
Backup & patch✓Full backup, then PHP is upgraded to a patched release on staging or in a short maintenance window, and workers are restarted.
03
Test & scan✓I test the site end to end and check files, users, cron jobs and logs for signs of compromise.
04
Harden & report✓Hardening changes are applied and you get a written report you can share with your team, clients or insurer.

Frequently asked questions

How do I fix PHP2Shell?

Update the PHP runtime serving your site to 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later (or a vendor backport), restart PHP-FPM or the web server, then check the site for signs of compromise. Updating WordPress or plugins alone does not fix it.

Is my WordPress site affected by PHP2Shell?

Very likely, unless your host has already patched PHP. WordPress runs on PHP and PHP2Shell is in the PHP engine. Check Tools → Site Health → Info → Server for the PHP version and compare it with the fixed releases.

Which PHP versions are vulnerable to PHP2Shell?

Per public advisories, PHP 5.4 and later are affected in default configurations. Fixed upstream releases are 8.2.35, 8.3.36, 8.4.27 and 8.5.12. PHP 8.1 and older are end-of-life and need a vendor backport or an upgrade.

Does a firewall or security plugin protect me?

Not fully. A WAF can block known exploit patterns for a while, but the attack happens before WordPress code runs, and patching PHP is the only permanent fix.

I'm on Hostinger or other shared hosting. What should I do?

Select a supported PHP branch in your hosting panel and ask your host to confirm their build includes the CVE-2026-109618 and CVE-2026-109619 fixes. I can handle this and the compromise check for you.

How do I check if my website is vulnerable to PHP2Shell?

Find the PHP version that actually serves your site (in WordPress: Tools → Site Health → Info → Server, or your hosting panel's PHP settings) and compare it with the fixed releases 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Anything older, including PHP 8.1 and below, should be treated as vulnerable until your host confirms a backported fix.

Can you fix PHP2Shell on cPanel or Hostinger shared hosting?

Yes. On shared hosting the fix is done through the hosting panel and, when needed, by confirming with the host that their PHP build is patched. I switch the version, test the site and check it for signs of compromise.

Can I hire you to fix PHP2Shell for my small business website?

Yes. Send your site URL through the contact form and I'll reply with a scope and a custom quote. I work with small businesses and agencies in the US, UK, EU and Canada.

How much does a PHP2Shell patch cost?

It depends on the number of sites and how they are hosted. Send me your site list through the contact form and I'll reply with a clear scope and quote.

Let's talk

Let's talk about php2shell emergency patch & security audit

Tell me where you are today and where you want to be. I'll reply with an honest scope and quote for php2shell emergency patch & security audit.