PHP’s session upload progress feature writes attacker-chosen bytes into the session store, as the name of an upload field, whenever a multipart upload arrives. It writes them with whatever session serializer is configured. If something later reads that same session with a different serializer, the php one, the bytes that were a harmless string under one format can be parsed as serialized objects under the other, and PHP unserialises them: object injection, and remote code execution wherever the reading application has a gadget chain. The PHP Group reproduced it with Guzzle and Monolog gadgets on every current branch. The mismatch can come from an application changing session.serialize_handler at runtime, or from two applications, pools, vhosts or CLI processes sharing one session store with different settings. Upgrade to PHP 8.5.13, 8.4.28, 8.3.37 or 8.2.36 and restart PHP-FPM or Apache; the fix turns session upload progress off by default. If you cannot today, set session.upload_progress.enabled=0 in the server-wide configuration. It has been there since the feature arrived in PHP 5.4.
CVE-2026-115560 at a glance.
| Component | PHP, the session extension (ext/session): session upload progress together with the php_binary and php_serialize serializers; every distribution php package |
| Affected versions | PHP 8.2 before 8.2.36, 8.3 before 8.3.37, 8.4 before 8.4.28 and 8.5 before 8.5.13; the feature dates from PHP 5.4.0, so every unsupported branch is affected too. Only when session.upload_progress.enabled is on (the old default) and the store can be written with one serializer and read with the php one |
| Fixed in | PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36, released 19 November 2026 as a security release; distribution packages below. 8.2 leaves security support on 31 December 2026, so 8.2.36 is one of its last releases. The fix disables session upload progress by default and refuses runtime changes to session settings, including the serializer, while upload progress is enabled |
| Severity | CVSS 4.0 9.2 Critical (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) from the PHP Group, repeated by NVD. Red Hat Critical, CVSS 3.1 8.1 (CWE-502); Ubuntu medium. CWE-20 and CWE-502 deserialisation of untrusted data. AC:H and AT:P: the serializer mismatch and a gadget chain are both needed |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026; CISA’s SSVC says no known exploitation, not automatable. EPSS: no score yet as of 29 November 2026. The CVE record links to a public proof-of-concept, which this page does not reproduce |
| Who is exposed | Any PHP site that accepts file uploads, has upload progress on (the default before this release) and reads sessions with the php serializer somewhere: an application that switches session.serialize_handler before session_start(), two applications on one host sharing /var/lib/php/sessions, an FPM pool and a cron job with different INI files. Separate FPM pools do not separate session storage unless session.save_path differs. With the files handler the writer and reader also need the same session ID and permissions that allow both |
| Published | CVE record and GHSA-658j-r8rw-q6mx, 19 November 2026 (credits Dvir Sasson of ZEST Security, Frédéric Le Roch, Carlos Perez of Lazarus Technology, HarukaKaya, nvr0x5, Katika Mohaseen, Jackson Tai and Crain); this page built 30 November 2026, last updated 30 November 2026 |
What it is
Session upload progress exists so that a page can show a progress bar: while a multipart upload with a field named PHP_SESSION_UPLOAD_PROGRESS is in flight, PHP stores the upload’s state in the session under a key that includes the value of that field. The value is attacker-chosen, and the write goes through whichever session serializer is configured, php, php_binary or php_serialize.
The three formats are not interchangeable. Under php_binary or php_serialize, the attacker’s bytes are an ordinary string inside a key. Under the php format, which separates variables with |, those same bytes can be read as the boundary of a variable followed by a serialized payload. So a session written by one and read by the other is a serialized-object injection: the reader calls unserialize() on bytes the attacker chose, and if the application has a class whose destructor or wakeup method does something useful, that is code execution. The PHP Group says it reproduced that with a Guzzle gadget on 8.2.35, 8.3.36, 8.4.27 and 8.5.12, and with a Monolog 2.11.1 gadget for the php_serialize writer case. Short of a gadget chain, the result is session corruption or denial of service. It is one of seven CVEs fixed in the PHP security release of 19 November 2026, which produced 8.5.13, 8.4.28, 8.3.37 and 8.2.36; all seven carry the same CVSS 4.0 score of 9.2 from the PHP Group, and this site covers each on its own page and lists the siblings under Related reading.
Two things in the fix matter for operators. Upload progress is now off by default; an explicit session.upload_progress.enabled=1 still turns it on. And while it is on, PHP now rejects runtime changes to session settings, including session.serialize_handler, so the single-application mismatch is closed. The multi-application mismatch, two writers and readers with different fixed settings sharing a store, is still the operator’s to avoid: the advisory says every reader and writer of a shared store must use the same serializer. Red Hat notes that its PHP 8.0 and older packages had already disabled upload progress when fixing CVE-2026-109618 and CVE-2026-109619 in October, and marks those not affected.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. Ubuntu’s notice says this one “only affected Ubuntu 26.10, Ubuntu 26.04 LTS, and Ubuntu 24.04 LTS”, though its per-release rows were still at needs-triage.
| Distribution | Status | Fixed package |
|---|---|---|
| Debian bookworm, trixie, forky | Fixed | bookworm php8.2 8.2.36-1~deb12u1 (DLA-4916-1); trixie php8.4 8.4.28-1~deb13u1 (DSA-6641-1); forky and sid php8.4 8.4.28-3 |
| Ubuntu 20.04 to 26.04 and ESM | Fixed on 24.04, 26.04, 26.10 (priority medium, USN-9185-1, 23 November 2026); rows at needs-triage | noble php8.3 8.3.6-0ubuntu0.24.04.14, resolute php8.5 8.5.4-0ubuntu1.6, stonking php8.5 8.5.9-0ubuntu2.2; the CVE page itself still listed every release as needs-triage, so the USN text is the better guide |
| RHEL, Rocky, Alma | Fixed (rated Critical, 8.1); 8.0 and older not affected | RHEL 10.3 php8.4-8.4.28-1.el10_3 (RHSA-2026:100821) and php-8.3.37-1.el10_3 (RHSA-2026:102300); RHEL 9 php:8.2, php:8.3, php:8.4 (RHSA-2026:102261, 102226, 102255); RHEL 8 php:8.2 (RHSA-2026:101276); EUS/E4S errata of 21 to 24 November; Hardened Images php-main-8.5.13. RHEL 7, 8 php:7.4 and 9 php 8.0 not affected because upload progress was already disabled in October |
| Fedora, openSUSE, Arch, Alpine | Not consulted | trackers not read for this page; SUSE lists SUSE-SU-2026:5389-1 and later errata for the batch |
php.net tarballs, Docker php images, Remi and Sury repositories, anything you built yourself | Affected below the fixed versions | php.net 8.5.13 / 8.4.28 / 8.3.37 / 8.2.36; Docker php image tags of the same names; unsupported branches (8.1 and older) carry the bug and get no fix |
How to check
Three questions: is the running PHP older than the fix, is upload progress enabled, and is there any way one session store gets read with a different serializer from the one it was written with. The second question is the quick one, and the workaround is the same setting.
# 1. the versions that are installed and running (CLI and FPM can differ)
php -v | head -1
php-fpm8.4 -v 2>/dev/null || php-fpm -v 2>/dev/null | head -1
dpkg -l 'php8*' 2>/dev/null | grep '^ii' | awk '{print $2, $3}' ; rpm -qa 'php*' 2>/dev/null | head
ps -o pid,lstart,args -C php-fpm8.4 -C php-fpm -C php-fpm8.3 | head -3
# fixed: 8.5.13, 8.4.28, 8.3.37, 8.2.36 (distribution builds: compare with the table above)
# 2. is session upload progress on? (default was 1 before this release)
php-fpm8.4 -i 2>/dev/null | grep -E 'session\.upload_progress\.enabled|session\.serialize_handler|session\.save_path'
php -i | grep -E 'session\.upload_progress\.enabled|session\.serialize_handler|session\.save_path'
# 3. serializer settings anywhere, and applications that change them at runtime
grep -rnE 'serialize_handler' /etc/php/ /etc/php.ini /etc/php.d/ /etc/php-fpm.d/ 2>/dev/null
grep -rnE "ini_set\s*\(\s*['\"]session\.serialize_handler" /var/www /srv --include='*.php' 2>/dev/null | head
# who shares the session directory?
ls -ld /var/lib/php/sessions /var/lib/php/session 2>/dev/null ; grep -rn 'save_path' /etc/php-fpm.d/ /etc/php/*/fpm/pool.d/ 2>/dev/nullA fixed version in step 1 with worker start times after the upgrade means you are done, and step 2 should then show upload_progress.enabled => Off unless you set it on. Before the upgrade, On with a php_binary or php_serialize handler anywhere, or an ini_set() that changes the handler, is the precondition; On with the php handler everywhere and no runtime change is not the mismatch the advisory describes, but it is still a feature you probably do not use, writing attacker bytes into your session store.
How to fix it
Upgrade PHP and restart the workers; the fix changes a default, so after the upgrade confirm that upload progress is off unless an application needs it. All three major distributions had packages by 23 November.
# Debian / Ubuntu (the package name carries the branch: php8.2, php8.3, php8.4, php8.5)
apt update && apt install --only-upgrade 'php8.*'
# RHEL family (module streams: dnf module update php, or dnf update php8.4 on RHEL 10)
dnf update 'php*'
# Alpine
apk upgrade 'php8*'
# php.net tarballs, Docker images: 8.5.13 / 8.4.28 / 8.3.37 / 8.2.36 (or the image tags of the same names)
# a new build is not running until every worker is replaced
systemctl restart php8.4-fpm # or php-fpm, php8.3-fpm ... ; mod_php: systemctl restart apache2 / httpd
php -v # the CLI binary, must print the fixed version
php-fpm8.4 -v 2>/dev/null || php-fpm -v # the FPM binary, same
ps -o pid,lstart,args -C php-fpm8.4 -C php-fpm | head -3 # start times must be after the upgradeThe workaround is the new default applied by hand: turn upload progress off in every configuration that can write the session store, administratively, before request input is processed. An ini_set() in the application is too late, because the progress entry is written while the request body is being parsed. If an application must keep it, make every reader and writer of that store use the same session.serialize_handler.
# server-wide php.ini for FPM and Apache, and any CLI php.ini that touches the same store
session.upload_progress.enabled = 0
systemctl restart php8.4-fpm # and/or apache2 / httpd
php-fpm8.4 -i 2>/dev/null | grep 'upload_progress.enabled' # must show OffDo not assume two FPM pools are isolated from each other: unless their session.save_path differs, they write and read the same files, and a pool running a low-value application with php_serialize can poison the sessions of a high-value one on the same host. Do not leave the serializer mismatch in place because the upgrade “fixed it”: the upgrade blocks runtime changes, not two configurations that disagree.
Sources
- CVE-2026-115560 at CVE.org — the PHP Group CNA record (19 November 2026): the full technical description, affected ranges, CVSS 4.0 vector, CWEs and credits
- GHSA-658j-r8rw-q6mx — the php-src security advisory the record cites, with the preconditions, the demonstrated impact and the workarounds
- NVD entry — Awaiting Analysis; the PHP Group’s 9.2 is the only score
- PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 release announcements — “This is a security release”; the PHP 8 ChangeLog carries the per-release entries; supported versions for the branch dates
- PHP manual: session upload progress — what the feature writes into the session and the
session.upload_progress.*directives - PHP manual: session configuration —
session.serialize_handlerand the three formats - Distribution trackers: Debian · Ubuntu · RHEL · SUSE; USN-9185-1, DSA-6641-1, DLA-4916-1
- EPSS — no score had been published for this CVE as of 29 November 2026
Related reading
- CVE-2026-126714: PHP partially overwritten session files allow object injection (forthcoming if the link is not yet live) — the other session-file object-injection bug in this release, through an interrupted write to the session file
- CVE-2026-129289: PHP-FPM request smuggling through an unread request body (forthcoming if the link is not yet live) — the PHP-FPM request smuggling bug, the most exposed of the seven
- CVE-2026-129481: PHP interrupted session shutdown leaves a stale pointer (forthcoming if the link is not yet live) — the session-shutdown stale pointer from the same release
- CVE-2026-109618: PHP out-of-memory handling leaves request memory uninitialized, allowing remote code execution — the October advisory whose fix led distributions to disable upload progress early, which is why Red Hat’s older packages are not affected here
- CVE-2026-109619: PHP global state points at freed request memory, allowing remote code execution — the second October PHP advisory, on global state that outlives a request
- Hardening a Public-Facing Service Beyond the Basics — where PHP-FPM sits behind nginx or Apache, and what the socket between them should and should not be able to do
- The Half of Patching That Happens After the Patch is Installed — an upgraded PHP package is still the old PHP until every FPM worker and every Apache child has been replaced
This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

