Security advisory · Think AI Insights
Two critical flaws in the software behind most of the web are being targeted. Here’s a calm, plain-English action plan you can forward to your IT team or web host today.
By the Think AI team · Last updated:
This is a fast-moving situation, and guidance from PHP, CISA, the FBI and vendors may change. Check the linked official sources before acting.
What happened
On October 21, 2026, the PHP project released emergency security updates for two critical vulnerabilities nicknamed “PHP2Shell” (PHP security advisory). PHP is the engine behind roughly 7 in 10 websites whose technology can be identified (W3Techs), including every WordPress site. The flaws can let an attacker take over a web server with a crafted web request, without any password, and can also leak sensitive data held in the server’s memory (Wiz Research).
The flawed code had been in PHP for more than a decade. Researchers at Calif, working with OpenAI, and at Wiz each found it independently using AI models. Details leaked before the planned release, and Amazon recorded an exploit attempt as early as October 17 (AWS Security Blog). The US Cybersecurity and Infrastructure Security Agency (CISA) and the FBI have both urged immediate patching. Cloudflare’s CEO reported attack attempts in the millions shortly after the fixes were announced. Confirmed break-ins reported so far appear limited, but patching is urgent.
Does this affect you?
Assume yes if you have any of the following, until your web host or IT team confirms otherwise:
- A public website or blog (especially WordPress, Drupal, Joomla or Magento)
- A customer, patient, supplier or dealer portal
- A web application built with Laravel, Symfony or plain PHP
- Vendor appliances or software with a web-based admin page (PHP is often bundled inside other products)
- PHP websites hosted on Azure App Service, Azure virtual machines, AWS or another cloud
What isn’t affected: Microsoft Fabric, Power BI and other Microsoft-run cloud services. They don’t run your PHP code.
Am I exposed?
Start at the top and follow your answers.
Text version of this flowchart
- Start: Do you run any website, portal or web app? No: not affected. Yes: go to 2.
- Is it only Microsoft Fabric, Power BI or other Microsoft-run cloud services? Yes: not affected. No: go to 3.
- Who manages PHP for it? A managed host (WP Engine, Kinsta, WordPress.com, etc.): get written confirmation the October 21 fix is applied, then go to 6. You or your IT team (VPS, Azure VM, container, your own server): go to 4.
- Which PHP version? 8.2 to 8.5: update to 8.2.35, 8.3.36, 8.4.27 or 8.5.12 (or a vendor build with the fix), restart PHP and set
session., then go to 6. 8.1 or older: get a backported patch or upgrade, and take the site offline until then (CISA), then go to 6.upload_progress. enabled = 0 - Can’t patch today? Put it behind a web firewall (such as Cloudflare) or take the site offline.
- Was it online and unpatched any time since October 17? Yes: check for signs of a break-in and report compromises at ic3.gov. No: go to 7.
- End: confirm backups work and are stored off the server.
What to do this week
Forward this section to your IT team or web host.
Find every PHP site. List all websites, portals and web apps, and who hosts each one.
-
Confirm the fix is applied. Ask:
Is every PHP runtime serving our sites on PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or on a vendor build that includes the October 21 fix?
Linux distributions and hosts sometimes patch without changing the version number, so ask for confirmation, not just a number.
Update and restart. Update PHP itself, then restart PHP and the web server. Updating WordPress or plugins is not enough (Cloudflare). Rebuild any container images.
Handle old versions. PHP 8.1 and older no longer get regular releases. PHP published source-code backports, and some hosts and vendors ship patched builds. Ask your host for one, or upgrade to a supported version. Until then, CISA advises taking those sites offline.
-
Apply PHP’s extra precaution. Set
session.in php.ini or the server/PHP-FPM configuration, not in website code, and restart PHP. PHP suggests this until its next regular release closes a related, unlikely issue that also affects patched versions (PHP, October 23). Normal file uploads keep working; only upload progress bars that rely on this feature stop.upload_progress. enabled = 0 php.ini or PHP-FPM settingsession.upload_progress. enabled = 0 If you can’t patch today, put the site behind a web application firewall such as Cloudflare. Cloudflare’s protections are on by default for Free plans, and paid plans should confirm the Managed Ruleset is in block mode. If that isn’t possible, take the site offline. A firewall buys time; it isn’t a fix.
Check your backups. Make sure they work and are stored somewhere other than the web server.
How to know if you’ve already been hit
If a site was online and unpatched at any point since October 17, ask your IT team or host to check for:
- New admin or user accounts you don’t recognize
- New or modified .php files in the website folders
- New scheduled tasks (cron jobs)
- PHP processes launching command shells or downloading files
- Bursts of “memory limit” errors and repeated server (HTTP 500) errors
- Unusually large or garbled session cookies (PHPSESSID)
Patching stops new attacks but doesn’t remove an attacker who is already in. Because these flaws can leak passwords and API keys from memory, rotate credentials used by exposed sites. If you find signs of compromise, the FBI asks you to isolate the system, preserve web server and PHP logs, and report it to your local FBI field office or ic3.gov.
Patch timeline
August to October 23, 2026
Text version of this timeline
- August 2026: Researchers at Calif (working with OpenAI) and Wiz independently find the flaws using AI models and report them to PHP.
- October 17: First known exploit attempt, recorded by Amazon.
- October 20: Details leak. PHP announces the release date.
- October 21: Cloudflare firewall rules on by default (03:02 UTC). PHP releases fixes (about 14:00 UTC). CISA, NSA and FBI warnings. Azure App Service on Linux patched.
- October 21–22: Exploit attempts climb into the millions, according to Cloudflare’s CEO.
- October 23: PHP recommends turning off session upload progress. FBI public service announcement.
Check for break-ins on anything unpatched from October 17 onward.
Notes for your sector
Manufacturing
Check supplier and dealer portals, product catalogs and vendor equipment with web dashboards. A compromised portal can expose credentials that connect to ERP or other business systems.
Healthcare
Check appointment and intake forms, patient portals and practice websites. If patient information may have been accessed, the HIPAA Breach Notification Rule may apply, with notice due no later than 60 days after discovery. Involve your privacy officer and counsel early, and preserve logs.
Public sector
CISA’s alert is the baseline for state and local agencies: patch immediately, and take unsupported PHP offline. As of October 23 the flaws aren’t on CISA’s Known Exploited Vulnerabilities list, so no federal patch deadline has been set. Watch for that to change.
What this tells us about AI and security
CNBC reports that some in the industry are calling this “Black October.” AI helped researchers find flaws that had sat in plain sight for years, and attackers have access to similar tools. The lesson isn’t panic; it’s pace. The window between discovery and attack is shrinking. Organizations that know what they run, have a named owner for every system and can patch within days will handle the next one far better.
The same AI that speeds up attackers also helps defenders inventory systems, triage alerts and automate routine fixes, and that’s work we help clients build responsibly.
Frequently asked questions
Is my Microsoft Fabric or Power BI environment at risk?
No. These are Microsoft-run cloud services that don’t run your PHP code. PHP websites you host on Azure App Service or Azure VMs do need checking. Microsoft has patched the built-in PHP on App Service for Linux, but PHP on App Service for Windows is end-of-life and won’t be patched (Azure App Service team).
I use a managed WordPress host. Do I need to do anything?
Probably not for the patch itself. Automattic, Kinsta, WP Engine, Pantheon and SiteGround report their platforms are patched or protected. Ask your host to confirm in writing, and still check for signs of compromise if you have doubts.
We updated WordPress and all plugins. Are we safe?
Not necessarily. The flaw is in PHP, which sits underneath WordPress. Only a PHP update fixes it.
Our IT team says we’re on PHP 8.3.6. Is that vulnerable?
Possibly not. Some Linux distributions backport the fix without changing the version number. Ask whether the package includes the October 21 fix for CVE-2026-109618 and CVE-2026-109619.
Is a firewall enough?
No. It reduces risk while you patch. PHP says updating is the only complete fix.
How bad is it, really?
PHP rates both flaws 9.2 out of 10. Attempts are widespread, but confirmed break-ins reported so far are limited. Patch now and check your logs, but there’s no need to panic.
How Think AI can help
Web hosting and security aren’t what we do day to day, but we work with trusted partners who do. If you’d like a second set of eyes, contact us. We’ll connect you with a partner who can check your exposure and patch it, usually within a day. And if this week has you thinking about where AI fits in your own operations and defenses, we’re happy to talk that through too.
Request an exposure checkOfficial guidance
- php.netPHP security advisory (October 21, 2026)
- php.netPHP follow-up notice on session upload progress (October 23, 2026)
- cisa.govCISA alert: Critical vulnerabilities in PHP require immediate patching
- ic3.govFBI public service announcement I-102326-PSA
- blog.cloudflare.comCloudflare: WAF protections against PHP2Shell
- azure.github.ioMicrosoft Azure App Service: PHP critical security release
Disclaimer: This article is general information, not legal or security advice. It reflects publicly available guidance as of October 23, 2026, which may change. Follow official guidance from PHP, CISA, the FBI and your vendors.