PHP patches seven critical RCE flaws, including phpAfterShell
Original title: phpAfterShell and Critical PHP RCE Vulnerabilities: Everything You Need To Know
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.
- 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.
Impact: Unauthenticated remote code execution on exposed PHP deployments
| Product | Affected | Fixed in |
|---|---|---|
| PHP Group PHP | 8.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 unfixed | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
- 1.Upgrade to PHP 8.5.13, 8.4.28, 8.3.37, or 8.2.36 and restart PHP-FPM.
- 2.Set session.upload_progress.enabled to 0 if upload-progress tracking is unnecessary.
- 3.Disable FastCGI connection reuse on Nginx or Apache until patched.
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
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.
By Merav Bar · wiz.io
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.