← Think BIG NEWS
Enterprise Security Notes · Issue 012 THINKBIGTW.COM

THINK BIG

NEWS
ENTERPRISE SECURITY NOTES

PHP2Shell · Enterprise Security · Patch Management

AI Joins the Bug Hunt, and the Patch Window Shrinks — What PHP2Shell Means for Enterprise IT

PHP fixed two critical flaws on October 21 that could let an unauthenticated attacker run code on a server. The first job is straightforward: find every system running PHP, move it to a fixed release, and confirm the update took effect.


Our Issue 10, "AI Is Being Used to Automate Attacks," covered the attacker's side: AI speeding up existing attack workflows. This issue covers the defender's side. The same kind of tools are helping find bugs, reports are piling up, patches are arriving faster, and patch processes need to keep pace.

One.What Happened: Two Critical Flaws Affecting Every Web-Facing PHP Install

On October 21, 2026, the PHP project released 8.5.12, 8.4.27, 8.3.36, and 8.2.35 to fix two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, that can allow unauthenticated remote code execution, and urged all PHP users to update immediately.[1] Both are rated 9.2 under CVSS v4.0.[2][6][7]

According to the advisory, every PHP installation that serves web requests is at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. PHP rates mod_php as highest risk, with a demonstrated exploit in which an unauthenticated request triggers the attack before any application code runs.[1]

The US Cybersecurity and Infrastructure Security Agency (CISA) issued an alert the same day, referring to the vulnerabilities as "php2shell." It urged organizations to patch immediately, starting with internet-facing systems, and said that systems which cannot be updated right away, or which still run unsupported PHP 8.1 or earlier, should be taken offline until patched.[4] CISA also noted that PHP is often a component of other software, so where it runs may not be obvious.[4]

On October 23, PHP published a follow-up: under an unusual combination of configuration and application code, a low-likelihood remote execution path remains. It is tracked as CVE-2026-115560, with a full advisory due alongside the next regular bugfix release. Until then, PHP recommends setting session.upload_progress.enabled to 0.[3]

Two.Perspectives: AI Brings More Reports, but People Still Make the Calls

The PHP Foundation: tools find bugs faster, for both sides.

In a post published on release day, the PHP Foundation explained that early signs of the root cause surfaced in 2024 during follow-up work on an external audit, and that several outside research groups later reported its full impact.[8] The Foundation also said AI-assisted research has sharply increased the volume of reports: the team has published 15 CVEs since July 1 and worked through more than 100 reports that proved invalid, duplicate, or not reproducible. AI helps validate reports and group those that share a root cause, but a person makes every call and works on every patch.[8] In the Foundation's words, tools now find bugs faster than ever, for defenders and attackers alike.[8]

PHP: the disclosure schedule was pulled forward.

The Foundation explained that around 15:00 UTC on October 20, the two CVE IDs began circulating on forums and social media, along with a wrong release time and a wrong score of 10.0. No technical details leaked. PHP brought its pre-announcement forward and moved the release up a day, from October 22 to October 21 at 14:00 UTC.[8]

CISA: patch now, or take it offline.

CISA's alert says it had not observed successful exploitation as of publication, but unpatched systems remain at risk; a web application firewall may provide some protection until updates are applied.[4] When we checked CISA's Known Exploited Vulnerabilities (KEV) catalog on October 24 (catalog version 2026.10.23), neither CVE was listed.[5] Our reading: not being listed means CISA hasn't added it, not that nobody has been attacked.

Bugs are being found and made public faster. Patching has to speed up to match.

◆ First-Hand Lessons

Three. What We've Learned in Practice

These observations come from our work on systems and AI tool deployments. They are not industry statistics and don't describe any particular client.

1. "AI found the bug, so who fixes it?" is a common question. Finding and fixing are different jobs. Someone has to schedule the patch, restart services, and confirm the site still works. AI can help organize that work, but the responsibility has to sit with a named person.

2. "We don't use PHP" is often wrong. PHP commonly sits inside a website's admin panel, a form plugin, or the management screen of an internal system, and the owner doesn't know it. It's the same point CISA makes about PHP being a component of other software.[4]

3. Check the full package version. PHP says Linux distributions and LTS vendors received the patches in advance and that you should check with your vendor for updated packages.[1] A situation we see often: a distribution backports fixes into an older version line, so reading just the first three digits can mislead you. Verify against the full version listed in the vendor's notice.

4. Restart every worker after a configuration change. PHP's interim guidance says settings such as session.upload_progress.enabled=0 must apply before request parsing, require restarting every worker, and can't rely on ini_set() in code.[1] We list "recheck version and settings after restart" as an acceptance item.

Four.Our Recommendations: Three Things First

1. Inventory every place PHP runs. Include public websites, internal systems, and PHP bundled inside plugins and packages. For each, record the execution mode (FPM, mod_php, and so on), full version, package source, and owner. Internet-facing systems go first.[4]

2. Update to 8.5.12, 8.4.27, 8.3.36, or 8.2.35. If you use distribution packages, confirm the corresponding fixed version with your vendor.[1] PHP no longer ships updates for 8.1 and older, so look for a vendor backport or move to a supported version;[1] CISA advises taking systems offline if they can't be dealt with yet.[4] The interim measures PHP lists reduce exposure to specific paths but do not make an installation safe.[1]

3. Write event-driven patching into your process. Agree in advance who assesses a critical advisory, who approves downtime, how quickly it must be done, and how the fix is verified. Waiting for next month's maintenance window may be too late. Also keep an eye on CVE-2026-115560, due to be addressed in PHP's next regular release.[3]

CISA also recommends monitoring for suspicious activity, such as PHP worker processes launching shells or downloading tools.[4] If you suspect a compromise, preserve logs and hand the matter to authorized responders.

◆ Editor's Note · How Think BIG Approaches This: Make Patching Verifiable

Inventory sheet, acceptance evidence, emergency patch agreement — built into every deployment.

(The following is Think BIG's own practice, kept separate from the reporting above.)

When we deploy AI agents and the systems around them, the patch process ships with the deployment: an inventory sheet — site, runtime, package source, full version, owner, maintenance window, and backup and recovery method; acceptance evidence — version and configuration checks captured after updating and restarting, handed to the owner; an emergency patch agreement — contacts, approvers, and order of actions for critical advisories, documented in advance.

Our position: AI can help find problems and organize information, but decisions about patching, and responsibility for them, have to sit clearly with people.

Frequently Asked Questions

Q1: What is PHP2Shell?
It's CISA's name for two critical PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, both of which can allow unauthenticated remote code execution.[4][1]
Q2: Which versions need updating, and to what?
The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35, and every installation serving web requests is in scope.[1] If you use operating-system packages, confirm the matching version with your vendor.[1]
Q3: What if we're still on PHP 8.1 or older?
PHP no longer updates 8.1 and earlier; some distributions and LTS vendors provide backports, so contact your vendor or upgrade.[1] CISA advises taking systems offline if they can't be updated right away.[4]
Q4: Has anyone been attacked yet?
CISA had not observed successful exploitation when its alert was published.[4] When we checked the KEV catalog on October 24 (version 2026.10.23), neither CVE was listed.[5] That doesn't mean there's no risk; patch promptly.
Q5: Is there a workaround if we can't update right now?
PHP lists settings that reduce exposure to specific attack paths, but states plainly that only an update is a complete solution and that these measures don't make an installation safe.[1] CISA notes a WAF may offer some protection in the meantime.[4]
Q6: What role did AI play here?
The PHP Foundation says AI-assisted research has driven a large increase in reports, and AI is also used to validate reports and group those with a shared root cause, while people make every decision and write every patch.[8] Our Issue 10 covered how attackers use AI; this issue covers the defense.
Sources Fact-checked on October 24, 2026.
[1] PHP, "Security advisory: Critical remote code execution vulnerabilities, update now," October 21, 2026: php.net  ·  [2] PHP, "Upcoming Critical PHP Security Release," October 20, 2026: php.net  ·  [3] PHP, "Informational advisory: Session upload progress," October 23, 2026: php.net  ·  [4] CISA, "Critical Vulnerabilities in PHP Require Immediate Patching," October 21, 2026 (updated October 23, 2026): cisa.gov  ·  [5] CISA, "Known Exploited Vulnerabilities Catalog," version 2026.10.23; accessed October 24, 2026: cisa.gov  ·  [6] NIST NVD, "CVE-2026-109618," October 21, 2026: nvd.nist.gov  ·  [7] NIST NVD, "CVE-2026-109619," October 21, 2026: nvd.nist.gov  ·  [8] The PHP Foundation, "Today's PHP Security Release, and How We're Strengthening PHP Security," October 21, 2026: thephp.foundation

This article presents Think BIG's industry observations and first-hand practice notes, with citations for all sourced claims. First-hand lessons, recommendations, and the editor's note reflect Think BIG's practical views and do not constitute industry statistics or evidence of customer outcomes.

THINK BIG NEWS  ·  Enterprise Security Notes Think BIG, Make it Real!