CVE Index中文
L5 · ShitstormPHP · RCE · leaked earlyphp2shell

PHP2Shell: the patch and the exploit flushed at the same time

PHP2Shell: two critical PHP core RCEs leak a day before the patch, and nearly every PHP back to 5.4 is in the bowl

CVE-2026-109618 and CVE-2026-109619 (both CVSS 9.2) give remote code execution in PHP itself. A proof-of-concept video leaked the evening before release, so the patch and the exploit arrived together.

Disclosed
Oct 21, 2026
Updated Nov 26, 2026
Severity
CVSS 9.2 × 2
4 CVEs tracked here
Splash zone
PHP-FPM, mod_php, php-cgi, FrankenPHP, LiteSpeed: nearly every PHP back to 5.4
php
In the wild
Yes
CISA lists both PHP CVEs. Palo Alto and Check Point report exploitation.

The one-sentence version

Make PHP run out of memory at exactly the wrong moment, or poke a worker that still holds a previous request's freed state (session.upload_progress is the confirmed way in), and the next thing PHP executes is your bytes.

What happened

Two bugs in PHP’s own engine, not in some framework or plugin. Nearly every PHP release back to 5.4 is affected by at least one of them. Apache mod_php is the highest-risk setup, but PHP-FPM, php-cgi, FrankenPHP and LiteSpeed are all in scope.

The disclosure was planned for October 22. On the evening of October 20 a proof-of-concept video from Calif, one of the reporting teams, went public by accident, and PHP pushed its releases out on October 21 at 14:00 UTC. So for once, defenders and attackers started the race at the same time.

Earlier reporting: Patchstack’s partners and watchTowr saw real attack attempts within hours. Cloudflare saw early attempts too. Sophos had no reports of exploitation, and nobody had confirmed a successful break-in at the time of writing. We grade by the worst credible case: public PoC + default configuration + basically the whole web = L5.

Common misreading

Turning off session.upload_progress is not a fix. It only cuts the confirmed path to CVE-2026-109619. The out-of-memory bug, CVE-2026-109618, does not need it.

Update, October 22: AWS now reports broad exploitation and retrospectively identifies a MadPot attempt on October 17, before public disclosure. The previous disputed status is superseded by this first-hand report. AWS does not establish that the earlier attempts succeeded against real systems. Investigate from at least October 17; the L5 assessment remains unchanged.

Update, October 23: Sophos’s October 22 correction supersedes its 16:18 UTC claim of a successful customer compromise. Its 21:21 UTC update says the attempts failed and the Potassium payload was blocked. This revises Sophos’s observed outcome, not AWS’s separate MadPot report. Observed exploit activity remains confirmed and the assessment stays L5, without asserting successful customer infection. Correlate indicators with process, request and file evidence before drawing that conclusion.

ClearPass, October 22: HPE confirms these same two CVEs in ClearPass Policy Manager. Versions 6.14.0 / 6.11.15 and earlier are fully affected; 6.14.1 / 6.11.16 provide only partial mitigation, requiring authenticated cluster-admin privileges for the remaining attack. October 23 correction: HPE revision 2 released complete hotfixes for 6.14.1 and 6.11.16. Install the matching PHP hotfix in addition to the base release. Restrict CLI and web management to a dedicated segment and firewall policy, and remove public guest portals until patched. The PHP runtime version table and checker above do not assess ClearPass appliance remediation.

PHP also published a separate, narrowly configured upload-progress RCE warning on October 23: CVE-2026-115560. It is not covered by the October 21 runtime fixes.

Tenable, October 23: TNS-2026-30 and TNS-2026-31 cover these same two PHP CVEs. Security Center 6.9.1 and earlier and Enclave Security 1.9.1 and earlier are affected. Apply the product-specific SC-202610.2 patch: packages cover Security Center 6.6.0 / 6.7.2 / 6.8.0 / 6.9.1 and Enclave Security 1.7.0 / 1.8.0 / 1.9.1, updating embedded PHP to 8.2.35. Updating a separate system PHP does not patch a bundled copy. The runtime checker above covers PHP itself; it cannot verify installation of these appliance patches. No additional exploited-customer count is established.

Standalone patch packages target Oracle Linux 8+ or RHEL 8+. For Enclave, the supported pairings are Security Center 6.7.5 on Enclave 1.7.0, Security Center 6.8.0 on Enclave 1.8.0, and Security Center 6.9.1 on Enclave 1.9.1. Follow the matching standalone or in-pod installation instructions.

Update, October 26: Adel Karimi reports 35 shell starts across three PHP 8.4.26, single-worker Apache mod_php honeypots with a 128 MiB memory limit on October 24. This confirms execution on decoys, not 35 business victims. The evidence supports CVE-2026-109618 but does not establish a distinct CVE-2026-109619 path; reliability elsewhere is unmeasured. No downloaded second stage was observed. Patch versions and L5 remain unchanged.

Separately, Unit 42 withdrew its October 23 attribution of a European government compromise to PHP2Shell on October 25: it cannot confirm these CVEs were the initial-access vector. That correction does not invalidate Karimi’s separate honeypot evidence or AWS’s earlier observations.

Update, October 28: CISA added both PHP2Shell CVEs to KEV on October 26. Both carry an October 29 federal remediation deadline and a forensic-triage requirement under the applicable CISA guidance; ransomware campaign use remains unknown. These catalog entries confirm exploitation of both CVEs without identifying a victim population or demonstrating that Karimi’s observed chain used both. The Unit 42 retraction remains relevant and is not reversed by a KEV listing.

Earlier October 28 account: Dream’s then-unnamed firewall-platform report described a tailored PHP2Shell-to-Fragnesia chain: 24 Internet-facing firewalls and one internal manager. See the subsequent October 29 revision and vendor validation below. Its recovered artifacts establish credential extraction and directory enumeration in its account, but not the outcome of password spraying, backdoor-account creation or SAML-key extraction. The earlier version did not identify a vendor; the subsequent revision supersedes that omission. There is still no direct evidence that AI authored the exploit.

Palo Alto’s earlier separate bulletin confirmed attacks on exposed PAN-OS management interfaces. Dream’s October 29 revision then explicitly named PAN-OS, and Unit 42’s same-day update says it independently verified the same attacker’s tooling and reported results; the platform should no longer be described as unnamed. Retain the earlier European government-case retraction as history rather than treating it as the same conclusion as the later validated chain. The PHP checker does not assess appliance hotfixes or kernel remediation. CISA added CVE-2026-46300 on October 28 with an October 31 federal deadline and forensic triage required; ransomware use remains unknown. The two PHP deadlines remain October 29.

Earlier update, October 29 (superseded below): Palo Alto had released the first five hotfixes while 11.1.7-h12 still carried an October 30 estimate at our earlier check. Choose the target for the installed maintenance branch; the PHP-only 11.2.10-h16 / PHP-plus-Brotli h17 distinction and management-plane restrictions still apply.

Correction, November 1 (UTC): The vendor’s October 29 history now confirms that 11.1.7-h12 has been released and removes its ETA. This supersedes the estimate retained in our earlier update. Choose the fixed build for your maintenance branch from the vendor matrix; management-interface restrictions and the PHP-only versus PHP-plus-Brotli hotfix distinction above remain applicable.

Synology package guidance, added November 2: The vendor’s October 28 statement extends updates to older DSM releases. Patch through Package Center using the DSM-specific build; the generic PHP version checker above does not validate Synology backports. The statement’s October 29 ETA for DSM 6.2 is not release confirmation. This is a previously omitted deployment path, not a newly disclosed PHP vulnerability or evidence of a Synology-wide compromise.

November 4 follow-up of Synology’s October 29/31 revisions: SA-26:14 now confirms DSM-specific older-package fixes, superseding the earlier statement’s unconfirmed DSM 6.2 ETA. The checklist gives each exact vendor build; a newer generic PHP version is not a substitute for a matching DSM package. These are previously missing remediation paths, not a new PHP disclosure or evidence of a Synology-wide compromise. The upstream PHP checker does not validate Synology backports.

Check Point appliance hotfixes

CSIRT Italia reports PHP2Shell exposure on Firewall, Cloud Firewall and Security Gateway branches R81.20, R82, R82.10 and R82.20, and on Spark R81.10.x and R82.00.x. An exposed web interface must use Mobile Access Portal, Remote Access VPN with SSL Network Extender or SAML Realm, Identity Awareness Captive Portal, UserCheck Portal, or Zero Phishing. Mobile Access Portal and SSL Network Extender do not apply to Spark. Security Management Server and Log Server are outside scope, and Check Point Portal and SaaS were already updated. End-of-support branches R80, R80.10, R80.20, R80.30, R80.40, R81 and R81.10, plus Spark R77.20.x and R80.20.x, may lack hotfixes.

Use the product-specific package in Check Point SK1000302 and restart afterward. Before applying it, revert prior vendor-prescribed manual mitigation edits to $CPDIR/web/Apache/conf/cp-httpd.conf if you made them. If the update must wait, use the vendor’s temporary mitigation. The built-in PHP RCE IPS protection on R82.20 works without HTTPS Inspection or explicit IPS enablement according to the alert. Apply the hotfix even with that protection. The November 9 CSIRT Italia advisory did not establish active exploitation. Check Point subsequently published the investigation below.

November 12 update. Check Point subsequently confirmed that from October 30 attackers entered unpatched gateways through PHP2Shell on Mobile Access Portal and then used CVE-2026-123039 in Gaia DynamicCLI to escalate. Its investigation found TSGA, TSProxy and a pivot to VMware ESXi over SSH using the vpxuser service account, followed by the destroy_v6 wiper. A second wave on November 2 reached multiple countries and sectors. Researchers found no destructive activity in that wave. Check Point reports roughly a couple of dozen compromised unpatched systems in one region. It did not establish a worldwide count or attribute the operation with high confidence.

The Gaia flaw is a separate step from the PHP entry point. The vendor’s CVE record lists Quantum Security Gateway and Quantum Security Management at R82.20 Take 10, R82.10 Take 50, R82 Take 130 and R81.20 Take 173 or below on each branch. Follow the vendor’s November Jumbo Hotfix guidance. The October 23 PHP2Shell hotfix addresses the initial entry point. CISA listed the Gaia issue on November 13 and set a November 16 federal civilian deadline with forensic triage.

Xerox embedded PHP

The November 6 and November 13 versions of XRX26-016 list firmware with PHP 8.2.35 for AltaLink 82xx, AltaLink 81xx and EC81xx (123.xxx.006.29800), and VersaLink C/B415, C/B625 and C/B620 (123.xxx.006.30100). Match the full build to the model using Xerox’s bulletin. Xerox fixed its Worldwide Ticketing Tool and removed the vulnerable PHP component from Supplies Tracker. Xerox lists both services as requiring no customer action.

On the older models below, PHP is reachable through certain Embedded Web Server pages. Upgrade to the required Service Pack first if needed. Install the ZIP using its included instructions, or apply the DLM via the Embedded Web Server software-upgrade procedure. These patches reduce exposure. Keep HTTP/HTTPS access limited to trusted networks or hosts and install firmware with an updated PHP component when released. Only disable HTTP/HTTPS where the device is managed locally and has no authentication, authorization and accounting (AAA) dependency. Disabling those protocols also stops the Embedded Web Server and features that use it. Restoring them requires local access to each device.

Model Required Service Pack Mitigation patch
AltaLink B8045/B8055/B8065/B8075/B8090 103.008.026.27100 1088115v1.zip
AltaLink C8030/C8035 103.001.026.27100 1088115v1.zip
AltaLink C8045/C8055 103.002.026.27100 1088115v1.zip
AltaLink C8070 103.003.026.27100 1088115v1.zip
EC8036 103.022.026.27100 1088115v2.zip
EC8056 103.023.026.27100 1088115v2.zip
EC7836 075.050.006.05200 1088114v1.dlm
EC7856 075.020.006.05200 1088114v1.dlm
WorkCentre 3655/3655i 075.060.006.05200 1088114v1.dlm

For Fiery DFE, Xerox lists target dates for both standard and Pro variants. FS500, FS600, FS700 and FS800 target November 9, FS300/350/400 target November 16, and FS200 targets November 23. Confirm availability and the exact patch for your controller with Fiery. A scheduled date alone does not establish that a package shipped.

November 19 incomplete-fix update: PHP published two additional stale-state advisories in the November security batch. CVE-2026-129182 can recreate the fatal-error backtrace after shutdown in PHP 8.5; CVE-2026-129481 can retain a request-owned session script filename in PHP 8.3–8.5. Their specific paths demonstrate UAF/crashes, not code execution or a newly confirmed attack campaign. Apply 8.5.13 / 8.4.28 / 8.3.37 as applicable, or 8.6.0; the original October version table describes the earlier CVEs and is not clearance for these later paths. PHP 8.2 lacks both affected fields. Embedded products require their vendor’s corresponding guidance. Existing exploitation evidence and appliance-specific remediation for the October incident remain applicable.

November 26 follow-up: PAN-OS kernel fixes are separate from PHP fixes. Palo Alto’s PAN-SA-2026-0015 lists 20 maintenance-build targets for CVE-2026-46300, reproduced in the checklist. Its header gives November 25 as publication and November 24 as update; the history also says initial publication November 24. Retain that date discrepancy rather than infer when individual builds shipped. The vendor confirms that all observed Fragnesia exploitation targeted internet-exposed PAN-OS management interfaces and that its only known path first requires PHP2Shell access. It explicitly says devices on the earlier PHP advisory’s fixed releases are protected against that known path, while still recommending the applicable kernel fix at the next maintenance interval. Internet-reachable management interfaces require immediate upgrading and access restrictions.

The new matrix does not establish failure of the earlier PHP fixes or provide a new victim inventory. Dream’s PAN-OS identification and Unit 42’s subsequent verification are separately dated evidence described above. Retain the separate PHP-runtime, appliance-PHP and Brotli requirements; this page’s PHP checker does not inspect appliance kernels. Upgrading also does not replace investigation of persistence, exposed credentials and restoration of trust.

What’s in the bowl

Half-built request on out-of-memory

If PHP runs out of memory at the wrong moment, it can bail out while internal request data is only partly initialised. This path does not need session.upload_progress.

In plain poop: the toilet gets installed with only half its bolts, and someone sits down anyway.

Stale request state used after free

Request-owned global state survives after its memory is released, and a later request on the same worker uses it. session.upload_progress is the confirmed trigger.

In plain poop: you flushed it, but it came back up in the next person's stall, and now it runs your server.

Fragnesia — related Linux local privilege escalation

An already disclosed kernel flaw can modify page-cache-backed data; Dream reports chaining it after PHP code execution on specific firewall builds. It is not a third PHP bug, and PHP updates do not patch the kernel.

Gaia DynamicCLI local privilege escalation

An authenticated local user can send commands to a Gaia socket that the DynamicCLI daemon runs as root. Check Point observed this step after initial gateway access.

Are you standing in it?

Run php -v on each box, then type the version or pick the closest match.

Fixed versions (Oct 21, 2026)
BranchSafe fromStatus
PHP 8.58.5.12Supported, patched
PHP 8.48.4.27Supported, patched
PHP 8.38.3.36Security fixes only, patched
PHP 8.28.2.35Security fixes only, patched. EOL Dec 31, 2026
PHP 8.1 and oldernoneEnd of life. Distro / LTS vendors and source backports for 7.4–8.1 only

Can’t patch tonight? Plug the hole

php.ini
; PHP2Shell interim hardening (partial!)
; blocks the confirmed CVE-2026-109619 session path only
session.upload_progress.enabled = Off

Then reload PHP-FPM / Apache. php.net is clear that upgrading is the only complete fix: this does nothing for CVE-2026-109618. Capping request body size at your proxy also raises the bar.

Crime-scene timeline

  1. Oct 17, 2026

    Earliest attempt identified retrospectively in AWS MadPot

    Reported by AWS on Oct 21; success against real systems remains unclear.

  2. Oct 20, 2026

    The details escape the bathroom

    A Hacker News post says disclosure is due Oct 22. Around 20:00 UTC Calif accidentally publishes a proof-of-concept video. PHP posts an advance notice the same day.

  3. Oct 21, 03:02 UTC

    Cloudflare switches on default WAF rules

  4. Oct 21, 07:34 UTC

    Patchstack hosting partners report exploitation incidents

    Its 13:57 UTC telemetry update shows probing, with no hard evidence of breaches.

  5. Oct 21, 14:00 UTC

    PHP ships 8.5.12, 8.4.27, 8.3.36 and 8.2.35

    Linux distributions and LTS vendors got the patches in advance.

  6. Oct 21, 14:19 UTC

    watchTowr sees active exploitation attempts

    watchTowr also reproduces CVE-2026-109618. Sophos says no in-the-wild exploitation has been reported.

  7. Oct 21, 2026

    AWS reports broad exploitation after release

    Multiple actors targeted MadPot, including before the patch was public.

  8. Oct 22, 16:18 UTC

    Sophos initially reports a successful customer compromise

    This assessment was retracted later the same day.

  9. Oct 22, 21:21 UTC

    Sophos corrects its assessment to failed attempts

    Countermeasures blocked the attempted Potassium payload delivery; no successful compromise was established in its telemetry.

  10. Oct 22, 2026

    HPE confirms ClearPass exposure and partial mitigation

    ClearPass 6.14.1 and 6.11.16 reduce exposure to authenticated cluster-admin attacks; complete fixes were still in development at that point.

  11. Oct 23, 2026

    HPE releases complete ClearPass PHP hotfixes

    Install the named PHP hotfix for 6.14.1 or 6.11.16; the base release alone is insufficient.

  12. Oct 23, 2026

    Tenable publishes PHP patches for Security Center and Enclave Security

    SC-202610.2 upgrades the embedded PHP to 8.2.35; base product versions alone do not establish remediation.

  13. Oct 24, 2026

    Karimi records 35 shells across three honeypots

    Packet and process evidence supports CVE-2026-109618; it does not establish a distinct CVE-2026-109619 path.

  14. Oct 25, 2026

    Unit 42 retracts a government-case attribution

    Initial access cannot be linked to the PHP2Shell CVEs; its October 23 assessment is withdrawn.

  15. Oct 26, 2026

    CISA adds both PHP2Shell CVEs to KEV

    Both entries have an October 29 federal due date and require forensic triage under applicable CISA guidance; ransomware use is unknown.

  16. Oct 26, 2026

    Dream reports a tailored firewall exploit chain

    The vendor and affected builds are undisclosed; reported server totals are not independently verified.

  17. Oct 28, 2026

    Palo Alto confirms management-interface attacks; CISA adds Fragnesia

    Kernel KEV has an October 31 federal deadline and forensic-triage requirement, separate from the PHP deadline.

  18. Oct 28, 2026

    Synology extends PHP package updates to older DSM releases

    The vendor adds released updates for DSM 7.1 and 7.0; its notice still describes the DSM 6.2 patch as scheduled for October 29, not confirmed released.

  19. Oct 29, 2026

    Synology lists older-DSM PHP package builds

    SA-26:14 lists PHP 7.4 for DSM 6.2/7.0/7.1 and PHP 8.0 for DSM 7.0/7.1, superseding the earlier release-availability uncertainty.

  20. Oct 29, 2026

    Palo Alto releases five previously scheduled hotfixes

    10.2.7-h39, 10.2.10-h42, 11.2.4-h23, 12.1.4-h13 and 12.1.10-h3 are released.

  21. Oct 29, 2026

    Final PAN-OS hotfix is also released

    The vendor history confirms 11.1.7-h12 is released and removes its earlier October 30 ETA.

  22. Oct 29, 2026

    Dream identifies PAN-OS and Unit 42 verifies the tooling and results

    Dream’s revised report names PAN-OS; Unit 42’s same-day update says it independently verified the same attacker’s tooling and reported results. Dream’s 25-server count is not a new separate vendor victim inventory; unknown password-spray, backdoor-account and SAML-key outcomes remain unknown.

  23. Oct 31, 2026

    Synology adds Calendar and Mail Station fixes for older DSM

    SA-26:14 now lists separate DSM 6.2 and DSM 7.0–7.1 builds; the earlier generic build numbers do not cover every DSM release.

  24. Nov 9, 2026

    CSIRT Italia confirms Check Point appliance hotfixes

    The alert identifies exposed features, supported and end-of-support branches, and the vendor’s hotfix and restart procedure.

  25. Nov 12, 2026

    Check Point confirms gateway exploitation and destructive lateral movement

    Attackers entered through PHP2Shell on Mobile Access Portal and used Gaia local privilege escalation before installing backdoors. The investigation found an SSH pivot to ESXi and execution of a wiper.

  26. Nov 13, 2026

    CISA adds the Gaia privilege escalation to KEV

    The federal civilian remediation deadline is November 16 and the entry flags forensic triage.

  27. Nov 13, 2026

    Xerox completes its PHP2Shell product review

    Xerox confirms it fixed Worldwide Ticketing Tool and removed the vulnerable PHP component from Supplies Tracker. The firmware and mitigation instructions remain model-specific.

  28. Nov 19, 2026

    PHP fixes additional incomplete stale-state paths

    CVE-2026-129182 affects PHP 8.5 and CVE-2026-129481 affects PHP 8.3–8.5. The November releases fix them; the demonstrated paths establish UAF/crashes, not RCE or in-the-wild exploitation.

  29. Nov 25, 2026

    Palo Alto bulletin lists separate Fragnesia kernel fixes

    PAN-SA-2026-0015 confirms exploitation against internet-exposed management interfaces and lists 20 maintenance-build targets. The vendor says the earlier PHP2Shell fixes block its only known attack chain; the kernel fixes are a separate remediation layer, not evidence that the PHP fixes failed.

Who said what

We list each claim and who made it. Primary sources (the vendor, the researcher, the registry) are marked. Where reports disagree, we grade by the worst credible case.