PHP Warns of New Code Execution Flaw (CVE‑2026‑115560) Targeting Session Upload Progress
What It Is — The PHP project disclosed a new remote code execution (RCE) vulnerability, CVE‑2026‑115560, on 23 October 2026. The flaw is not a generic engine bug; it only manifests when a very specific configuration chain is present. An application must (1) set session.serialize_handler to php_binary or php_serialize in its ini file, (2) later switch that setting to php at runtime via ini_set() before invoking session_start(), and (3) keep the session.upload_progress.enabled directive turned on. When those three conditions coincide, an attacker can craft a request that triggers arbitrary code execution within the PHP process.
The advisory stresses that this configuration is “unlikely to be used in practice,” but the risk is real for any codebase that dynamically changes the serialization handler while relying on the upload‑progress feature. The vulnerability is not covered by the emergency patches released on 21 October for the earlier PHP2Shell bugs (CVE‑2026‑109618 / CVE‑2026‑109619). Those patches addressed a separate, high‑severity RCE path that affected all PHP versions handling web requests.
PHP’s response is to recommend a temporary mitigation: set session.upload_progress.enabled=0 in php.ini (or via your configuration management tool) until the next regular release incorporates a fix. Administrators who already applied this mitigation for the earlier PHP2Shell issue are automatically protected against CVE‑2026‑115560. The project has not yet assigned a CVSS score, identified affected versions, or disclosed a timeline for the official fix.
The advisory notes that the vulnerable code path resides in the PHP engine itself, not in user‑land applications, meaning the exploit does not rely on a particular web framework or CMS. However, the attack surface is limited to the narrow configuration window described above. No public exploits or successful attacks have been reported to date, and the PHP team has not linked this flaw to the same root cause as the PHP2Shell vulnerabilities.
Affected Products — PHP core (all supported branches) when configured with the described session serialization and upload‑progress settings. Specific versions are not yet enumerated.
Why It Matters for Trust & Control Assurance — The issue highlights the importance of configuration control and continuous evidence that security‑relevant settings remain within approved baselines.
Recommended Actions
- Review your PHP
php.ini(or equivalent) to verify the value ofsession.upload_progress.enabled. - If the directive is enabled, confirm that your application does not alter
session.serialize_handlerat runtime. - Apply the temporary mitigation: set
session.upload_progress.enabled=0until an official patch is released. - Document the configuration state in your change‑management system and capture a screenshot or automated audit log as evidence of compliance.
- Monitor PHP release notes for the forthcoming fix and plan a patch‑management window accordingly.
Source: SecurityAffairs – PHP Warns of New Code Execution Flaw Days After PHP2Shell Patches