PHP patches multiple RCE vulnerabilities
Multiple PHP vulnerabilities, including several use-after-free flaws, could allow unauthenticated remote code execution; no in-the-wild exploitation reported.
Sourcecisecurity.org — open the original
What to check
- Applies to
- The 8 CVEs named below. Whether you run an affected version is not assessed: check the versions the source lists.
- Exploitation
- No exploitation in the wild and no public exploit is recorded for the CVEs named.
CIS/MS-ISAC issued an advisory covering multiple vulnerabilities in PHP, the widely used server-side scripting language, affecting versions prior to 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0. The most severe issues could allow unauthenticated remote code execution in the context of the affected service account, potentially enabling an attacker to install programs, modify or delete data, or create accounts with full user rights depending on the privileges of the compromised service account.
The advisory lists eight CVEs spanning several vulnerability classes: improper input validation, multiple use-after-free conditions, a TOCTOU race condition, an inconsistent HTTP request interpretation issue, and a local privilege escalation flaw. Most map to MITRE ATT&CK's Exploit Public-Facing Application technique under Initial Access, with one mapping to Exploitation for Privilege Escalation. Notably, CVE-2026-129289 could allow execution of attacker-controlled PHP code without user interaction or non-default configuration, making it particularly concerning for internet-facing PHP deployments.
There are currently no reports of these vulnerabilities being exploited in the wild. CIS recommends organizations apply vendor-provided updates after testing, run services with least-privilege accounts, maintain vulnerability management and patching processes, and employ network segmentation and exploit-protection controls to reduce impact if exploitation occurs.
Mentioned in this report
Detection guidance
Windows Web or PHP Process Spawning Shell or Recon/Download Utility
A behavioural hunt for the technique in general, not a signature for the CVEs this report names.
PHP/Apache/nginx worker processes spawning command interpreters or recon and download LOLBins, a typical post-exploitation pattern after PHP RCE. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.
title: Windows Web or PHP Process Spawning Shell or Recon/Download Utility
description: Detects PHP and web server processes spawning command interpreters or
recon and download utilities. This is the typical post-exploitation pattern after
remote code execution in an internet-facing PHP application. It generalises on the
parent/child relation and the child's command line, not on any CVE-specific payload.
tags:
- attack.initial-access
- attack.t1190
- attack.execution
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith:
- \php-cgi.exe
- \php-win.exe
- \php.exe
- \httpd.exe
- \nginx.exe
selection_child_bin:
Image|endswith:
- \whoami.exe
- \powershell.exe
- \pwsh.exe
- \certutil.exe
- \bitsadmin.exe
- \mshta.exe
- \net.exe
- \net1.exe
- \nltest.exe
- \systeminfo.exe
selection_child_cmd:
Image|endswith: \cmd.exe
CommandLine|contains:
- whoami
- certutil
- bitsadmin
- powershell
- net user
- systeminfo
- ipconfig
condition: selection_parent and (selection_child_bin or selection_child_cmd)
falsepositives:
- PHP applications that intentionally shell out to PowerShell or systeminfo for admin
or monitoring features
- Web-hosted management panels run by administrators on the same server
level: high
id: 0f009d29-335d-508b-a039-fc6f4cca12f6
status: experimental
author: Vorant
references:
- https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-could-allow-for-remote-code-execution_2026-137
Windows Local Account Creation by PHP or Web Server Process
A behavioural hunt for the technique in general, not a signature for the CVEs this report names.
A PHP or web server process spawning a command that adds a local user or adds a user to a local group, matching the 'create accounts with full user rights' impact of PHP RCE. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.
title: Windows Local Account Creation by PHP or Web Server Process
description: Detects PHP and web server processes launching net/net1 or cmd to add
local users or to add members to local groups. This matches the account-creation
impact named in the PHP RCE advisory and is rare for a web service account.
tags:
- attack.initial-access
- attack.t1190
- attack.persistence
- attack.t1136.001
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith:
- \php-cgi.exe
- \php-win.exe
- \php.exe
- \httpd.exe
- \nginx.exe
- \w3wp.exe
selection_cmd:
CommandLine|contains|all:
- user
- /add
selection_group:
CommandLine|contains|all:
- localgroup
- administrators
- /add
condition: selection_parent and (selection_cmd or selection_group)
falsepositives:
- Hosting control panels that provision local accounts through a web front end
level: high
id: 58772e8e-80db-54f4-a109-ca6a72b0fdde
status: experimental
author: Vorant
references:
- https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-could-allow-for-remote-code-execution_2026-137
Linux PHP or Web Server Process Spawning Shell With Download or Reverse-Shell Pattern
A behavioural hunt for the technique in general, not a signature for the CVEs this report names.
php-fpm, php-cgi, Apache or nginx spawning a shell whose command line downloads payloads or opens a reverse shell, typical after PHP RCE. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.
title: Linux PHP or Web Server Process Spawning Shell With Download or Reverse-Shell
Pattern
description: Detects PHP and web server processes on Linux spawning a shell whose
command line shows payload download, decode-and-execute, or reverse-shell behaviour.
This is post-exploitation after RCE in an internet-facing PHP service.
tags:
- attack.initial-access
- attack.t1190
- attack.execution
- attack.t1059.004
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|endswith:
- /php-fpm
- /php-cgi
- /php
- /apache2
- /httpd
- /nginx
selection_shell:
Image|endswith:
- /sh
- /bash
- /dash
selection_cmd:
CommandLine|contains:
- /dev/tcp/
- nc -e
- bash -i
- base64 -d
- chmod +x
- wget http
- curl http
condition: selection_parent and selection_shell and selection_cmd
falsepositives:
- Web applications or deployment hooks that legitimately call curl or wget through
PHP shell_exec
level: high
id: 9f9ecf9b-e84b-5c78-a886-af57ffcd55ef
status: experimental
author: Vorant
references:
- https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-could-allow-for-remote-code-execution_2026-137
Behavioural rules are generated from public reporting — validate in your environment before deploying.
Source reporting: https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-could-allow-for-remote-code-execution_2026-137
Free public brief. The Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and KQL where they apply) are in the app with a free account, no card. Slack alerts on the vendors you run come with the paid plans, and a new account gets five days of them.
What this brief leaves out
This page is the free tier: the write-up, the severity, the names. In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries.
It sits in a corpus of 17,321 reports from 146 sources, 698 of them written in the last seven days, and it grows through the day.
A new account starts with five days of all of it, no card, then keeps the last 30 days of reporting free, the research and news included. Slack alerts are a paid-plan feature: name the vendors you run and Slack hears about the reports that touch them, not the rest of the week's. Nothing is charged unless you subscribe.
Create a free account What it costs