· 3:36

PHP's 'Patch Now' Moment: The php2shell Bug

Two critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619, nicknamed php2shell) are rated 9.2 and let an attacker run code on a server. They affect PHP back to 5.4; only 8.2 through 8.5 get an official fix, shipping 21 October 2026. Until then, set session.upload_progress.enabled=Off in php.ini and restart. PHP runs about 69% of sites with a known back end.

Key numbers

Which PHP versions are affected?

Reporting points to every version from PHP 5.4 (2012) onward. Official fixes cover the supported branches, PHP 8.2, 8.3, 8.4 and 8.5; 8.1, 8.0, 7.x and 5.x are end-of-life and will not receive a patch.

How do I protect my site before patching?

As an interim step, set session.upload_progress.enabled = Off in php.ini (or .htaccess) and restart PHP-FPM or your web server. Do this only if your app does not rely on upload-progress bars, and test first. It reduces risk; installing the official update is the real fix.

How serious is it?

Both flaws are rated CVSS 9.2 and, per public reporting, allow remote code execution, full control of the server. PHP runs roughly 69% of sites with a known server-side language, so the exposure is very wide.

Chapters

  1. 0:00 Red Alert
  2. 0:31 What Broke
  3. 1:25 Who's Exposed
  4. 2:06 Patch It Today
  5. 2:49 Your Move

How we checked this

  • Every number in this episode is sourced in our research notes, and the 13 sources it relies on are linked below. We go to primary sources (company filings, official statistics, court and regulator documents) wherever they exist, and say so when a figure comes from news reports.
  • Where a figure is our own arithmetic on cited data, we say so: it is marked [calc] or “our calculation”.
  • Figures as of 21 October 2026. Words like “this week” and “this year” in the narration refer to that date.
  • Spotted a mistake? Email support@goldthesis.com and we will correct it on this page. How we work: sources, AI use and corrections.

Footage & credits

  • Reporting: PHP.net, watchTowr, Sansec, Huntress, Flatt Security, Phoenix Security, runZero, W3Techs.

Some visuals are AI-generated illustrations; the narration is a synthetic voice.

Sources

  1. PHP.net: Upcoming Critical PHP Security Release (advisory) (opens in a new tab) (php.net)
  2. PHP.net: Session Upload Progress (opens in a new tab) (php.net)
  3. PHP.net: Session configuration (`session.upload_progress.enabled`) (opens in a new tab) (php.net)
  4. PHP.net: Supported Versions (opens in a new tab) (php.net)
  5. PHP.net: PHP 5.4.0 release (opens in a new tab) (php.net)
  6. watchTowr: PHP RCE FAQ: CVE-2026-109618 & -109619 (opens in a new tab) (watchtowr.com)
  7. Sansec: Critical PHP RCE (php2shell) (opens in a new tab) (sansec.io)
  8. Huntress: php2shell: leaked critical PHP vulnerabilities (opens in a new tab) (huntress.com)
  9. Flatt Security: php2shell overview & mitigation (opens in a new tab) (blog.flatt.tech)
  10. Phoenix Security: PHP Core RCE CVE-2026-109618/109619 (opens in a new tab) (phoenix.security)
  11. runZero: Critical RCE in PHP: find impacted assets (opens in a new tab) (runzero.com)
  12. W3Techs: Usage statistics of PHP (opens in a new tab) (w3techs.com)
  13. Eric Taylor (Barricade Cyber): Demo video (footage) (opens in a new tab) (x.com)

Full transcript

Read the transcript (399 words)

Red Alert

The software that quietly runs most of the internet just got an emergency patch-now warning. Two freshly-found holes let an attacker take over a PHP server from the outside. Both score nine-point-two out of 10. The fix ships today. Here's what actually happened.

What Broke

First, the scale. P-H-P is the language behind most of the web's back end. Nearly 70% of all sites with a known server language run on it. Underneath WordPress, Drupal, Joomla, Magento, Laravel... it's all PHP. The weak spot is a built-in feature that tracks how far a file upload has got.

On a normal install, it's switched on without you ever asking for it. PHP's own manual already warns: those upload names aren't checked, and may contain PHP code. Chain that together, and the server can be made to run an attacker's own code.

In plain terms: a stranger could turn your website into their computer. Two tracking IDs, one feature. Researchers are calling it php2shell.

Who's Exposed

Here's the scary part. The flaw reaches every PHP version since 2012. Only the supported branches get a fix: PHP 8. 2 through 8. 5. Roughly 700,000 exposed servers run versions that will never be patched. And you could be exposed having never touched this feature yourself.

The details leaked before disclosure, so PHP pulled the fix forward to today. And a patch is also a map. Once it's public, scanning for weak servers starts within minutes. Security firms have already reproduced it. The clock is running.

Patch It Today

So here is your checklist for the next few hours. Not sure what you're running? On the server, type php dash v. Until the patch is installed, turn the feature off in your P-H-P settings. One caveat: only if your app doesn't show upload bars. Test it first.

This lowers the risk. It isn't the cure. The real fix is the update. When your version lands... 8. 2 through 8. 5... install it, then restart again. Still on an end-of-life version? Upgrade, firewall it off, or take it offline. Then watch your logs for anything the server shouldn't be doing.

Your Move

Now, why does a web-server bug belong on a money channel? Because your website is infrastructure. And infrastructure is risk. Every platform you rent sits on code someone else maintains. Patch speed isn't a chore. It's how you protect revenue and trust. So check your PHP version today, and patch before tonight.

More episodes