CVE-2026-115560: PHP Session Serializer Mismatch Object Injection and RCE
- Vendor
- PHP Group
CVE-2026-115560 is a configuration-dependent deserialization vulnerability in PHP's session extension. With session upload progress enabled, multipart uploads can place attacker-controlled bytes in session keys serialized using php_binary or php_serialize. If the same session data is subsequently decoded using the php serializer, bytes within those keys can be interpreted as serialized objects. Serializer mismatches can arise from runtime changes to session.serialize_handler or from separate applications or PHP-FPM pools sharing session storage with incompatible configurations. Successful exploitation can cause session corruption or denial of service, and can enable remote code execution when the reading application contains a suitable deserialization gadget chain. Affected supported branches are 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. Older unsupported releases may also be affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Unauthenticated remote attackers can inject objects into a vulnerable application's session deserialization path. A suitable application gadget chain can turn object injection into arbitrary code execution with PHP worker privileges, potentially allowing access to application data and modification of files accessible to that account. Exploitation can also corrupt session state or cause denial of service without achieving code execution. Applications and PHP-FPM pools sharing session storage can expose one another when their serializers differ. Elevated operating-system privileges are not an inherent outcome.
Mitigation
If you can’t patch tonight, do this now.
Administratively set session.upload_progress.enabled=0 in every PHP configuration capable of writing to the affected session store, then restart PHP workers. Apply this before request input processing; application-level ini_set() is too late. If upload progress is required, enforce the same session.serialize_handler across every reader and writer, or isolate storage for applications using different serializers. Review effective PHP, pool, virtual-host, application-override, and command-line settings. Migrate or expire existing session records when changing serialization formats, and do not rely on upload-progress cleanup to prevent concurrent reads. AWS WAF PHP Managed Rule Group version 2.6 includes PHPUploadProgressSerializedObject_BODY as supplementary protection; validate matches before switching from Count to Block, and account for parsing and inspection limits.
Remediation
Patch, then assume compromise.
Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, or a later fixed release for the deployed branch; alternatively, install the corresponding vendor-supported security backport. Migrate unsupported upstream branches to a supported release unless a maintained distributor fix is available. Restart PHP-serving processes after updating. The fix disables session upload progress by default and rejects runtime changes to session settings, including session.serialize_handler, while upload progress is enabled. Audit explicit settings that re-enable upload progress: they override the new default. Even after patching, all readers and writers sharing session data must use compatible serializers because the fix does not enforce consistency across separate configurations.
Exploits
10 exploits validated by Mallory's analysis. Hidden: 38 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-115560 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-115560?
- Yes. Mallory tracks 10 public exploits or proofs of concept for CVE-2026-115560, the earliest disclosed Oct 21, 2026.
- Is there a patch for CVE-2026-115560?
- Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, or a later fixed release for the deployed branch; alternatively, install the corresponding vendor-supported security backport. Migrate unsupported upstream branches to a supported release unless a maintained distributor fix is available.
- What products are affected by CVE-2026-115560?
- PHP Group Php.
- How severe is CVE-2026-115560?
- CVE-2026-115560 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 86.6% (100th percentile) as of Nov 28, 2026.
Recent activity
556 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.