PHP patches seven critical flaws that can lead to code execution
Original title: PHP Fixes 7 Critical Flaws, Including Bugs That Could Allow Remote Code Execution
Fixes are in PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0; several bugs need specific application conditions.
The PHP Foundation released updates for multiple flaws rated CVSS 9.2 that can lead to remote code execution, file modification, session corruption or denial of service, plus an 8.8 local privilege-escalation bug. Depthfirst said CVE-2026-126714, which it calls phpAfterShell, can become remote code execution through a malformed session file and a deserialization gadget. Several issues require particular front ends, session handling or application behavior. Users on supported 8.2 through 8.5 branches are told to update.
Unconfirmed: The article does not say whether any of the PHP flaws are being exploited.
- CVE-2026-115560 is improper input validation fixed across 8.2.36 through 8.6.0.
- CVE-2026-129182 and CVE-2026-129474 are fixed only in 8.5.13 and 8.6.0.
- CVE-2026-129289 needs a front end that keeps backend connections and a partial php://input read.
- If CVE-2026-126714 cannot be patched immediately, turn off session upload progress.
- CVE-2026-129291 needs local code execution in an FPM worker with catch_workers_output enabled.
Impact: Remote code execution as the PHP worker on affected deployments
| Product | Affected | Fixed in |
|---|---|---|
| PHP Foundation PHP | Affected 8.2.x, 8.3.x, 8.4.x and 8.5.x releases; some bugs limited to 8.5 and later or from 8.3 | 8.2.36, 8.3.37, 8.4.28, 8.5.13, 8.6.0 |
- 1.Update existing 8.2.x, 8.3.x, 8.4.x and 8.5.x installs to the listed fixed releases.
- 2.If CVE-2026-126714 cannot be patched immediately, turn off session upload progress.
- CVEs
- CVE-2026-115560CVE-2026-129182CVE-2026-126714CVE-2026-129289CVE-2026-129474CVE-2026-129481CVE-2026-129496CVE-2026-129291
- Vendors
- PHP Foundation
- Products
- PHP
- Organizations
- Depthfirst
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-115560 | Session serializer mismatch RCE in PHP | 9.2 group max | — | 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
3 min read at thehackernews.com
The PHP Foundation has released security updates to address multiple critical security flaws that could be exploited to achieve remote code execution on affected deployments, including CVE-2026-115560. The list of vulnerabilities is as follows - CVE-2026-115560 (CVSS score: 9. 2) - An improper input validation vulnerability that could result in remote code execution, file modification,
thehackernews.com
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.