Skip to content
NewA calmer, faster ZeroHour

PHP patches seven critical RCE flaws, including phpAfterShell

Original title: phpAfterShell and Critical PHP RCE Vulnerabilities: Everything You Need To Know

Wiz Blogby Merav Bar ()4 min read1
AI summary · x-ai/grok-4.7Summaries by Vani AI

Wiz reports no observed exploitation; PHP 8.1 and earlier receive no official fixes.

On November 19, 2026, the PHP group patched 17 vulnerabilities in supported branches, including seven rated critical at CVSS 9.2 with paths to unauthenticated remote code execution. phpAfterShell, CVE-2026-126714, abuses non-atomic file-based session writes during upload progress. A separate PHP-FPM flaw can smuggle a second FastCGI request when connections are reused. October’s PHP2Shell mitigations do not cover every new vector.

Unconfirmed: Successful code execution depends on configuration and gadget chains; Wiz has not observed exploitation.

Key facts
  • Fixed releases are PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36.
  • PHP 8.2 is in security-only support through December 2026.
  • phpAfterShell needs file-based sessions and an application gadget chain.
  • Most other critical bugs need non-default or uncommon configurations.
  • Teams can disable upload progress and FastCGI connection reuse if patching is delayed.
Security assessment · AI, from the articleNo known exploitation

Impact: Unauthenticated remote code execution on exposed PHP deployments

ProductAffectedFixed in
PHP Group PHP8.5 before 8.5.13, 8.4 before 8.4.28, 8.3 before 8.3.37, 8.2 before 8.2.36; 8.1 and earlier unfixed8.5.13, 8.4.28, 8.3.37, 8.2.36
What to do
  1. 1.Upgrade to PHP 8.5.13, 8.4.28, 8.3.37, or 8.2.36 and restart PHP-FPM.
  2. 2.Set session.upload_progress.enabled to 0 if upload-progress tracking is unnecessary.
  3. 3.Disable FastCGI connection reuse on Nginx or Apache until patched.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-115560
+4 related CVEs
Session serializer mismatch RCE in PHP
9.2—PoC ×11
CVE-2026-126714
Partial session-file overwrite RCE in PHP
9.2—
CVE-2026-129496
Timezone cache use-after-free can lead to remote code execution
9.2—

From the original article

4 min read at wiz.io

Detect and mitigate phpAfterShell, and additional critical vulnerabilities from PHP's November release that may enable remote code execution.

Wiz Blog

By Merav Bar · wiz.io

Read the full article at Wiz Blog

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.