Skip to content
Cisent Message us on WhatsAppMessage us

Blog & news

Threat researchCisent

PHP fixes seven critical flaws, and two close cases left open by the PHP2Shell fix

PHP released patches for its four supported branches, with seven critical flaws that require uncommon configurations; two close cases left open by the PHP2Shell fix.

On November 19, PHP released versions 8.5.13, 8.4.28, 8.3.37 and 8.2.36, all of them security releases.1 The notes for 8.5.13 list 17 security fixes.2 According to the project’s advisories, seven are critical, scoring 9.2 out of 10 on the CVSS 4.0 scale; four are high and six are medium.3 The day before, the PHP team had warned that the critical ones require non-default configurations or uncommon setups.4

What was fixed

  • The broadest one is in PHP-FPM, the process manager many web servers use to run PHP. If the connection between the web server and PHP-FPM (or LSAPI) is reused, an attacker without an account can slip in a request of their own and run PHP code with the process’s permissions. For that, the application has to open the request body without reading it to the end.5
  • Two others allow code execution when a tampered session is opened, if the application has a usable object chain at hand.6 One of them affects file-based session handling, which is PHP’s default.7
  • Two complete the fix for CVE-2026-109619, one of the two PHP2Shell flaws we reported on October 21.8 PHP found more cases in which leftovers from one request survive and are used by the next.9

PHP2Shell is already used in attacks

  • Hunt.io reviewed 616 PHP2Shell-related files on open servers. According to its October 30 report, there is still no evidence of mass attacks that work reliably, but it has already been used to take over internet-facing Palo Alto firewalls: the first confirmed compromises outside a lab.10
  • The operators stage these tools against hand-picked targets: a finance ministry, a national bank, a government e-invoicing platform, telecom companies and universities.10

What to do

  • Update to PHP 8.5.13, 8.4.28, 8.3.37 or 8.2.36. PHP 8.1 and earlier did not get these fixes.1
  • Updating WordPress or its plugins does not update PHP. The PHP version is handled by the server or the hosting provider: the first question is who maintains it.

Where Cisent comes in

Hunt.io saw one of those operators write their own exploit and carry a tool to wipe their traces from the logs.10

Sentinel Defense detects, assesses and blocks attacks in real time alongside the EDR, the firewall and every connected source. A scan or a password campaign shows up while it’s happening, not months later. It acts on its own only where an action can be undone, such as blocking an attacking IP or an intrusive connection, and asks before anything with impact, such as isolating a machine.

Explore Sentinel Defense

Sources

  1. PHP, release announcements for PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36, November 19, 2026. https://www.php.net/archive/2026.php↩︎

  2. PHP, “PHP 8 ChangeLog”, version 8.5.13, November 19, 2026. https://www.php.net/ChangeLog-8.php↩︎

  3. PHP, security advisories of the php-src repository on GitHub, published on November 18 and 19, 2026. https://github.com/php/php-src/security/advisories↩︎

  4. PHP, “Upcoming Critical PHP Security Release”, November 18, 2026. https://www.php.net/archive/2026.php#2026-11-18-1↩︎

  5. PHP, “PHP-FPM request smuggling through an unread HTTP request body” (GHSA-qc49-hpvq-g2w6, CVE-2026-129289). https://github.com/php/php-src/security/advisories/GHSA-qc49-hpvq-g2w6↩︎

  6. PHP, “Session serializer mismatch can lead to remote code execution” (GHSA-658j-r8rw-q6mx, CVE-2026-115560). https://github.com/php/php-src/security/advisories/GHSA-658j-r8rw-q6mx↩︎

  7. PHP, “Partially overwritten session files can lead to remote code execution” (GHSA-fm2m-fjf5-v3cp, CVE-2026-126714). https://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp↩︎

  8. PHP, “Use-after-free after interrupted session shutdown” (GHSA-g3vh-838c-65v7, CVE-2026-129481). https://github.com/php/php-src/security/advisories/GHSA-g3vh-838c-65v7↩︎

  9. PHP, “Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown” (GHSA-2fjv-p558-g82m, CVE-2026-129182). https://github.com/php/php-src/security/advisories/GHSA-2fjv-p558-g82m↩︎

  10. Hunt.io, “PHP2Shell One Week Later: Honeypot Shells on the Web, a Path to Root on Palo Alto Firewalls”, October 30, 2026. https://hunt.io/blog/php2shell-honeypot-shells-root-palo-alto-firewalls↩︎