1. Red
  2. Learn
  3. PHP2Shell

PHP2Shell for Small Business: A 10-Minute Plain Plan

PHP2Shell is a flaw in PHP, the software behind most websites. Ten minutes, one question for your host, and what the answer means. No jargon.

By Alexander Gusev, run.cloudPublished 23 October 20264 min readHow we check facts
On this page
  1. Minute 1 to 2: Does your site use PHP?
  2. Minute 3 to 4: Who runs your server?
  3. Minute 5 to 6: Send the one question
  4. Minute 7 to 8: What does the answer mean?
  5. Minute 9: What should you do while you wait?
  6. What does updating WordPress do about it?
  7. Minute 10: When should you call someone?

PHP2Shell is a pair of flaws in PHP, the software that runs most websites, including every WordPress and WooCommerce site. The PHP project disclosed them on 21 October 2026. You cannot fix PHP from your dashboard. Your host or server admin does. Your job takes ten minutes: find out if you use PHP, find out who runs it, and send them one question.

FactDetailSource
NamesCVE-2026-109618 and CVE-2026-109619PHP notice
Disclosed21 October 2026PHP notice
Fixed PHP versions8.5.12, 8.4.27, 8.3.36, 8.2.35PHP 8 changelog
Older PHP (8.1 and below)No new release from php.net. Some hosts fix it in their own buildPHP notice
DetailsThe two official advisoriesCVE-2026-109618, CVE-2026-109619

Checked on 23 October 2026. The full background on PHP2Shell has the rest of the story.

Minute 1 to 2: Does your site use PHP?

PHP is the language many sites are built in. If your site runs on WordPress or WooCommerce, it uses PHP. There are no exceptions. How the flaw touches a WordPress site has its own page.

For any other site, use this short list:

  • Shopify, Wix, Squarespace and Webflow do not run your PHP. The company runs their software for you.
  • A site built by an agency or a freelancer may use PHP. Ask them.
  • Web addresses ending in .php are a strong hint.
  • In WordPress, open Tools, then Site Health, then Info, then Server. It shows the PHP version.

Not sure? Treat it as yes until someone tells you otherwise. Asking costs nothing.

Minute 3 to 4: Who runs your server?

Someone looks after the computer that holds your site. It is one of three people:

  1. Your host. You pay a company monthly for hosting. This is the most common case. The host patches PHP.
  2. Your agency or freelancer. They manage the server for you. They patch PHP.
  3. You. You rented a server (a VPS) and set it up yourself. You patch PHP.

Check your hosting invoice or ask whoever built the site. If it says "managed", someone else handles updates. If it says "VPS" or "cloud server" with no "managed" label, assume it is you. WordPress.org explains that your host controls the PHP version.

Minute 5 to 6: Send the one question

Copy this into an email or a support chat. Put in your own domain.

For [your domain], is the PHP that serves my website patched for CVE-2026-109618 and CVE-2026-109619? Please tell me the fixed PHP version or build name. Please confirm the PHP processes were restarted after the update. Do I need to do anything on my side?

Send it now. Save the reply with its date. If you run the server yourself, the runtime patching steps are on their own page.

Minute 7 to 8: What does the answer mean?

Replies fall into three groups. Sort yours into one.

Am I affected? Where you stand right now

A scan from outside can only guess at your PHP version. Only your host or server can prove it.

  1. Detected Your PHP is older than the fixed versions in the table. Treat the site as exposed. Ask your host to update it today, or update it yourself.
  2. Unknown You have no reply yet, or the reply is vague, such as "no action needed". This is the most common state. Ask again. Name the two CVE numbers and ask for the build name and the restart.
  3. Confirmed by owner evidence You hold a written reply with a fixed version or build name, and a restart after it. The PHP is patched. Keep the reply.

No scan, ours included, moves you from "unknown" to "confirmed".

Minute 9: What should you do while you wait?

Not much. Some of the usual panic moves cause damage.

  • Do not take the site offline unless your host or a security professional tells you to. It costs you sales and fixes nothing.
  • Do not restore an old backup and call it done. A backup brings back old files. It does not update the PHP on the server. You may also lose recent orders.
  • Keep the reply. Save the email or chat transcript with its date. It is your proof.
  • Keep working as usual. Check your orders and admin users for anything odd. AWS reported attempts against its test systems from 17 October, four days before the public notice (vendor-claimed, AWS). Neither CVE was in CISA's exploited list at our 22 October check.

What does updating WordPress do about it?

Updating WordPress is still a good habit. It does not fix this flaw.

The flaw is in PHP, the engine under WordPress. A WordPress update changes WordPress, not PHP. Plugin updates are the same. The fix is a patched PHP on the server, plus a restart. That is the host's or admin's job.

Some hosts let you pick a PHP version in your control panel. Picking "8.3" there does not prove you got the fix. The label shows the branch, not the exact build. Ask for the build name. The shared hosting page has more.

Minute 10: When should you call someone?

Call a person, not a chat bot, if any of these is true:

  • Your host will not answer after two tries, or only says "you are fine".
  • You run a store and take card payments.
  • You see a new admin user, or files you do not recognise.
  • Your site changed after a host update and now shows errors.
  • You run the server yourself and do not know how to update PHP.

Call your host's phone line, your agency, or a freelance system admin. Show them the question and the reply. If you already see signs of a break-in, the first 24 hours checklist is the next step. Store owners can also read the WooCommerce patching steps.

The wider security to-do list for this week covers more than PHP. What the two CVEs actually do and the rest of the PHP2Shell guides go deeper.

Questions people ask

Does my host patch PHP, or do I?

On shared and managed hosting, the host usually does. On a VPS or your own server, you do. Ask your host in writing which one applies to you. If the answer is vague, ask again and name the two CVE numbers.

Is WordPress vulnerable to the new PHP exploit?

WordPress runs on PHP, so a site on WordPress uses the affected software. The flaw is in PHP, not in WordPress. The fix is a patched PHP on the server, and your host or server admin applies it.

How do I know if my website uses PHP?

WordPress and WooCommerce always use PHP. In WordPress, open Tools, then Site Health, then Info, then Server to see the PHP version. For any other site, ask whoever built it or hosts it. Shopify, Wix and Squarespace sites do not run your PHP.

Do I need to take my website offline as a precaution?

Not by default. Taking a store offline costs you sales and does not fix anything. Take it offline only if your host or a security professional tells you to. Send the one question first and keep the answer.

I am on shared hosting and cannot patch it myself. What now?

That is normal. You cannot patch it, and you do not need to. Your host does. Your job is to ask for a written answer about your domain, keep it, and ask again if it is vague.

Sources

  1. PHP security notice, 21 October 2026 (php.net)Names both CVEs and the fixed releases. Says every PHP installation serving web requests is in scope.
  2. GHSA-w8hw-w9fx-j79w: CVE-2026-109618 (php/php-src advisory)
  3. GHSA-6wmf-4rv5-p3rp: CVE-2026-109619 (php/php-src advisory)
  4. PHP 8 changelog (php.net)The 8.5.12 entry dated 22 October lists both advisories.
  5. Amazon Threat Intelligence: PHP2Shell attempts seen in MadPot honeypots before disclosure (AWS Security Blog)Vendor telemetry. AWS says it is unclear whether the early attempts would have worked on real systems.
  6. Update PHP (WordPress.org)WordPress's own page on PHP versions and how to ask a host to change them.
  7. CISA Known Exploited Vulnerabilities catalogNeither CVE was in the catalog at our 22 October check. Re-check before relying on this.

Facts on this page are dated and point at the primary source next to them. If a vendor status changes after the date shown, the vendor's page wins; tell us at support@run.cloud and we will update it.