Skip to content
RCE Write-up Advanced

PHP Patches 7 Critical Flaws, Including Session and PHP-FPM Remote Code Execution (CVE-2026-115560, CVE-2026-129289)

PHP's session upload progress feature could write client-controlled data in one serialization format and later read it in another, allowing attacker-supplied bytes to be treated as serialized objects and, with a gadget chain, execute code. A separate PHP-FPM flaw left unread request body bytes on persistent FastCGI connections, letting an attacker forge a backend request and run attacker-controlled PHP code unauthenticated.

The Orca Research Pod Follow

Published on orca.security

On November 19, 2026, the PHP project released PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13, fixing 17 vulnerabilities. Seven are rated critical by the PHP project (CVSS 4.0 9.2), including CVE-2026-115560, a session serializer mismatch that can lead to remote code execution, and CVE-2026-129289, a PHP-FPM request smuggling…

The Orca Research Pod, on orca.security

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a mismatch between session serialization formats when writing and reading upload progress data, and PHP-FPM failing to discard unread request body bytes on reused FastCGI connections.

Impact

An attacker could execute code with the privileges of the PHP worker, but the session flaw needs a suitable gadget chain and the FPM flaw needs a front end that reuses backend connections and knowledge of an existing script path.

What the attacker needed

Session upload progress enabled; mismatched session serializers; a suitable gadget chain; front end reuses FastCGI connections

The fix

The flaws were fixed in PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0, which turn session upload progress off by default and block runtime changes while it is enabled; administrators should also disable FastCGI connection reuse.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

PHP is a programming language used by many websites. One bug let a file upload's progress data be saved in one format and later read in another, so an attacker could sneak in data that the server mistakenly treats as instructions. Another bug let an attacker hide a fake request inside an unfinished upload, and the PHP process manager would run it as if the web server had sent it.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by The Orca Research Pod

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.