October 26, 2026
PHP2Shell: What Small-Business Website Owners Need to Know
Two critical PHP flaws, nicknamed PHP2Shell, can affect WordPress and other PHP-based sites. Who's affected, and the two-minute check to do today.
Last verified: October 27, 2026. Updated October 27 with quotes from CISA, the FBI, the NSA and WordPress.org, plus three questions to ask your host. We'll update this page if the facts change.
Short answer
If your website runs on PHP, which includes WordPress and many other website platforms, it is probably affected until it's updated. On October 21, 2026, PHP released fixed versions: 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Ask your host which PHP version your site runs. If it's older than the fixed version for its release line, or older than PHP 8.2, it needs attention. CISA now lists both flaws as exploited, so it's worth checking this week.
What happened
On October 21, 2026, the PHP project released emergency updates for two critical flaws, CVE-2026-109618 and CVE-2026-109619. Together they're known as "PHP2Shell." Each is rated 9.2 out of 10 on the CVSS v4.0 severity scale.
PHP is the software that runs underneath WordPress, Drupal, Joomla and many small-business websites. The flaws can let an attacker run their own code on a web server without logging in. In some setups the attack works before the website's own code even starts. The PHP team says the risk is highest on servers using Apache with mod_php.
How it was found
The researchers were from Calif, working with OpenAI and Wiz. They found the flaws during an AI-assisted security review of PHP, done as part of OpenAI's "Patch the Planet" initiative with the PHP Foundation. According to Calif's write-up, researcher Ryan Austin started from a type of bug first described back in 2004. A related issue was reported in 2020 and noted again in a 2024 audit, but no one had proven it could be exploited.
Calif reports finding the first working path on August 1, 2026, and reporting it to PHP on August 11. Fixes came out on October 21, 2026, a day after PHP gave public notice that a critical release was coming.
News reports say some details leaked before the release. Amazon says it saw a related attack attempt on one of its decoy servers ("honeypots") on October 17, four days before the patch.
Who is affected
- Any website running PHP, on every common server setup: Apache mod_php, PHP-FPM, php-cgi, FrankenPHP and LiteSpeed.
- Every PHP version from 5.4 onward, according to the researchers, up to the patched releases.
- PHP 8.1 and older no longer get official updates. PHP published minimal source patches for 7.4, 8.0 and 8.1, and some hosts and Linux vendors offer their own fixes. For most sites, though, the real fix is moving to a supported version.
Is it being exploited? CISA lists both flaws as exploited. On October 26 it added them to its Known Exploited Vulnerabilities list and set October 29 as the deadline for federal agencies to fix them. Attackers were probing for the flaws before the patch. Amazon saw an attempt on October 17, and on October 24 a researcher reported working attacks on honeypot servers set up to be easy targets. We have no information about any specific business being hit. If your site runs PHP, this is worth checking this week, not someday.
The fix: what to do today
- Do the two-minute check. Ask your host or web person one question: "What PHP version is my site running, and does it include the October 21 security update?"
- If it's 8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer in its branch, you have the PHP2Shell fix. That covers these two flaws, not everything else a site can be exposed to.
- If it's an older 8.2–8.5 release, ask your host to update it now. Most managed hosts handle this for you.
- If it's 8.1 or older, it no longer gets security updates. CISA says sites in this situation should be taken offline until they can be patched or updated. Ask your host to upgrade you to 8.3 or newer, and test your site after the switch. Also, 8.2 reaches end of life on December 31, 2026, so 8.3 or newer is the better target.
- Can't update right away? CISA, the FBI and the NSA all say to take PHP-based systems offline until they can be patched or updated. PHP's published temporary settings or a web application firewall rule "may provide some protection," in CISA's words, but they are not a substitute for updating. PHP's October 23 advisory also suggests turning off the `session.upload_progress.enabled` setting until the next release. That's a partial measure, not a fix.
- Keep WordPress, themes and plugins up to date as usual. It doesn't fix this flaw, but it closes other doors.
Update, October 27: what the government and WordPress say
Since we first posted, a few primary sources are worth quoting directly.
WordPress updates won't fix this. WordPress.org says these flaws "are not specific to WordPress and affect any server that hosts a PHP application. No WordPress update is required or planned for these issues." The fix has to happen in PHP, on the server.
Check your version in WordPress. Per WordPress.org: "Within WordPress, you can see which version of PHP your site runs under Tools > Site Health > Info > Server." Many hosts also show it in the hosting control panel.
If it can't be updated, take it offline. CISA says organizations "should immediately update to PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35," and that those "that cannot update immediately, or that continue to use PHP 8.1 or earlier unsupported versions, should take PHP-based systems offline until they can be patched or updated." The NSA gives the same advice: "If an immediate update is not feasible, it is recommended that organizations take the system offline until it can be fully mitigated." The FBI's alert uses the same sentence.
3 questions to ask your host today
- Which PHP version is my site on, and does it include the fixes for CVE-2026-109618 and CVE-2026-109619?
- When was PHP updated on my server? The fixes came out October 21.
- Who is responsible for PHP updates on my plan, you or me? Can you confirm in writing that my site is patched?
Keep the reply.
What High Power can do
We can do a one-time check of which PHP version your site runs and tell you whether it has the October 21 fix. If it doesn't, we'll help you get it updated with your host, or get a straight answer from them about when it will be.
Not sure where you stand?
Call or text (757) 869-4742, or email contact@highpower.tech. We'll help you find out which PHP version your site runs and what to do next.
Sources
- PHP.net security advisory and release notes, Oct 20–26, 2026: https://www.php.net/archive/2026.php
- Calif Research, "PHP2Shell": https://calif.io/php2shell/
- Amazon Threat Intelligence, Oct 21, 2026: https://aws.amazon.com/blogs/security/amazon-threat-intelligence-identifies-php2shell-exploitation-prior-to-public-disclosure-in-madpot/
- SecurityWeek, Oct 26, 2026: https://www.securityweek.com/php2shell-exploitation-moves-from-probes-to-working-shells/
- CSA Singapore AL-2026-151: https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2026-151/
- CISA alert, revised Oct 26, 2026: https://www.cisa.gov/news-events/alerts/2026/10/21/critical-vulnerabilities-php-require-immediate-patching
- CISA KEV addition, Oct 26, 2026: https://www.cisa.gov/news-events/alerts/2026/10/26/cisa-adds-two-known-exploited-vulnerabilities-catalog
- FBI / IC3 PSA I-102326-PSA, Oct 23, 2026: https://www.ic3.gov/PSA/2026/PSA261023
- NSA advisory, Oct 21, 2026: https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4630238/nsa-advisory-critical-patches-recommended-for-php-vulnerabilities/
- WordPress.org News, "Critical PHP Security Release," Oct 21, 2026: https://wordpress.org/news/2026/10/critical-php-security-release/