Vulnerability

PHP announces security update for two critical vulnerabilities

On 21 October 2026, the PHP security team released security updates for two critical vulnerabilities in PHP. These vulnerabilities allow for remote code execution without authentication. PHP urges all users to update immediately.

Clip path group@2x

T-Update

Information about vulnerabilities

This live blog contains information regarding two critical vulnerabilities in PHP.

Update 29 October

PHP2Shell exploited to take over firewalls

Exploitation of PHP2Shell against Palo Alto Networks firewalls has been confirmed. Dream Research found evidence that attackers had compromised 25 firewalls and management systems in the United States, Japan, Taiwan, and South Korea. The attackers combined CVE-2026-109618 and CVE-2026-109619 with a Linux kernel vulnerability (CVE-2026-46300) to gain full administrative privileges.

The attacks began via management interfaces accessible from the internet. At an organisation that Dream links to the US government, the attackers subsequently gained access to an internal management server. There, they stole the password for an LDAP service account and mapped users and groups in Active Directory. Unit 42 has independently verified the attack tooling and the reported results. According to Palo Alto Networks, the available security updates disrupt the observed attack chain.

A caveat is necessary, however. The researchers also found scripts for guessing passwords, creating accounts, and obtaining additional access. The results of these were not available, meaning the full extent of the compromise has not been determined.
‍
Update 27 October

Exploitation PHP2Shell in the wild confirmed

Successful exploitation of PHP2Shell in the wild has been confirmed. On 24 October, researcher Adel Karimi (Perplexity) recorded 35 shell executions on three systems running PHP 8.4.26 and Apache mod_php via honeypots. The attacks originated from two IP addresses and consisted of a chain of four HTTP requests, which first exhausted memory, leaked the memory contents, and subsequently executed a shell command.

The observed traffic shows strong similarities to a public proof-of-concept and, according to Karimi, aligns with CVE-2026-109618. A second payload was not observed. Security researcher Marcus Hutchins describes the findings as the strongest confirmation to date that PHP2Shell is being actively exploited in the wild.

A caveat is necessary, however. The honeypots used were deliberately configured to make successful exploitation more likely, using mod_php and a single worker. The results therefore do not yet indicate the reliability of the exploit in other configurations. As of the morning of 26 October, CISA had not yet added the vulnerabilities to its KEV catalogue.

‍

Update 23 October
Tooling for PHP2Shell exploitation discovered
‍

SOCRadar has discovered tooling for exploiting PHP2Shell on an attacker's server. This includes:
• an exploit for PHP 8.4.26 with Apache mod_php that bypasses ASLR;
• scripts for scanning websites to identify vulnerable configurations.

The attacker scanned approximately 20 websites, located in countries including the United Kingdom, Finland, Poland, and France. According to SOCRadar, none of these sites met the conditions required for the exploit, and no successful compromises were observed.

SOCRadar has published the following Indicators of Compromise (IOCs):
• IP address 206.188.197[.]105: used as a staging and attack server, on ports 8888, 8899, and 9999.
• Uploaded files named MARKER_<8 hexadecimal characters>.txt: used for reconnaissance via session injection.
• Session IDs beginning with "fprint" or "dp" (reconnaissance via upload-progress).

Additionally, a public Proof of Concept (PoC) has been available on GitHub since October 22; the author claims it achieves code execution on x86-64 systems even with ASLR enabled. This has not been independently verified. The PoC is tailored to a specific build and, among other requirements, necessitates that error messages be visible.
VulnCheck previously reported that it possesses its own functional exploit capable of bypassing ASLR.

The recommendation remains unchanged: install available updates immediately and check web server logs for the aforementioned IOCs.

NCSC: initial signs of active exploitation
The NCSC updated its advisory regarding PHP2Shell on 22 October at 16:00. The NCSC is investigating initial signs of active exploitation and reports that Proof of Concepts (PoCs) are known to exist. According to the NCSC, this could cause the situation to escalate rapidly, with the potential for AI to further accelerate such exploitation.
Previously, Amazon Threat Intelligence reported attempts at exploitation "in the wild" dating back to 17 October.
The NCSC has published a decision tree to help organisations determine which measures apply to them.

‍

Update 22 October 2026 12:20

PHP2Shell (CVE-2026-109618 and CVE-2026-109619) also affects network and storage equipment with built-in PHP.

Vendor/ Systems

Palo Alto Networks confirms that all versions of PAN-OS and Panorama are vulnerable. The risk is highest if the management interface is accessible from the internet. Patched PAN-OS versions are not yet available.
QNAP reports that QTS, QuTS hero, and QuTScloud, among others, are vulnerable and advises taking NAS systems offline for the time being. According to QNAP, scanning and attack attempts are being observed.
Fortinet announced updates for today
Cisco is still investigating their products.
 
A PHP update on your own servers does not cover these devices: updates from the vendor are required for this.

Amazon Threat Intelligence reports that PHP2Shell (CVE-2026-109618 and CVE-2026-109619) is now being widely exploited in the wild. The first exploitation attempt on Amazon's honeypots dates back to 17 October, four days before the patches were published. According to Amazon, the various payloads point to multiple actors. Whether the attempts are successful in practice has not yet been confirmed. Amazon is publishing indicators and detection advice, see below. We continue to advise patching immediately and, when investigating potential misuse, looking back to 17 October, not just from 21 October.

‍

Update 21 October 2026 16:00

The PHP security team has published the announcedsecurity updates. PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 address CVE-2026-109618 and CVE-2026-109619. Both vulnerabilities have a CVSS v4.0 score of 9.2. PHP confirms that an unauthenticated remote attacker can execute code.

According to PHP, all installations that process web requests are at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. PHP considers the risk to be highest with mod_php, where an attack can begin before application code is executed.

Update affected installations immediately. Do you use PHP via a hosting provider or vendor? If so, check whether they have implemented the security updates. According to PHP, temporary measures do not offer complete protection. Keep websites and web applications that have been taken offline as a precaution shielded until the necessary security updates have been applied.

‍

Update 21 October 2026 13:30

Tesorion advises that, as a precaution, publicly accessible websites and web applications using PHP should be taken offline as soon as possible until it is clear whether they are vulnerable and the necessary security updates have been applied.

Work with your hosting provider or administrator to identify which websites and applications use PHP. Prepare for the installation of security updates so that they can be applied immediately upon release. The release is scheduled for today at 16:00 Dutch time.

Tesorion Immunity does not use PHP. These vulnerabilities are therefore not applicable to Immunity.

As a precaution, Tesorion has also temporarily taken the customer portal offline. Consequently, the portal is currently unavailable.
‍

Update 21 October 2026 12:00

On 20 October 2026, the PHP security team announced a security update for two critical vulnerabilities in PHP. The release is scheduled for Wednesday, 21 October 2026, at 14:00 UTC. Following this announcement and leaked information, CERT-EU has published an advisory. PHP is widely used for web applications, including WordPress, Drupal, and Magento.

The American company Cloudflare, which acts as a firewall for many popular websites, is now seeing the first attacks. Cloudflare’s firewall is blocking attempts to exploit the vulnerability, the company stated via ‘X’.

‍

Tailored cybersecurity

Background

CVE-2026-109618 and CVE-2026-109619 both have a CVSS v4.0 score of 9.2. CVE-2026-109618 relates to the handling of out-of-memory errors, which can leave request memory in an invalid state. CVE-2026-109619 concerns data retained by a worker from a previous request, even though the associated memory has already been released. All PHP installations that process web requests are at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. Versions lower than 8.2.35, 8.3.36, 8.4.27, and 8.5.12 are affected. These four versions contain the fix. PHP 8.1 and older no longer receive updates from the PHP project. However, the security team has made minimal source backports available for PHP 7.4, 8.0, and 8.1. PHP 8.2 will no longer receive security updates after 31 December 2026.

Risk

PHP rates both vulnerabilities as critical, with a CVSS v4.0 score of 9.2. An attacker can execute code without authentication, using the privileges of the account under which the web worker is running. PHP considers the risk to be highest with mod_php, where a request can trigger the attack before any application code runs. Full remote code execution has been demonstrated against mod_php, and for CVE-2026-109619, against FPM as well. PHP makes no mention of active exploitation in this release.

‍

Advice

  • Update PHP immediately to 8.5.12, 8.4.27, 8.3.36 or 8.2.35. According to PHP, updating is the only secure option.
  • Are you using PHP packages from a Linux distribution or LTS provider? If so, check with that provider to see if updated packages are available. They have received the patches in advance.
  • Are you using the rpms.remirepo.net repository? PHP advises switching to distribution packages or compiling from source, as this repository does not have updates today.
  • Are you running PHP 8.1 or older? Ask your provider about backports or switch to a supported version. For PHP 7.4, 8.0 and 8.1, source backports are available if you compile them yourself.
  • Are you running PHP 8.2? Plan your migration to a newer version, as 8.2 will no longer receive security updates after 31 December 2026.


Unable to update immediately? Take temporary measures. According to PHP, these reduce exposure but do not make an installation secure.

  • To mitigate CVE-2026-109618: set memory_limit=-1, preferably via php_admin_value, and keep post_max_size low (8M without uploads, 32M with uploads). Keep upload_max_filesize below post_max_size.
  • To mitigate CVE-2026-109619: set session.upload_progress.enabled=0 and restart all workers. On PHP 8.5, also set fatal_error_backtraces=0.

‍
Additional information for threat hunting from Amazon:

  1. Search web server logs for POST requests containing the string PHP_SESSION_UPLOAD_PROGRESS.
  2. Check web application servers for unexpected processes running under PHP workers (such as shell, curl, or wget) and for modified files.
  3. Begin the investigation from 17 October 2026, the earliest known attempted exploitation.
  4. Investigate traffic from the IP addresses published by Amazon: 103.216.220.92, 31.223.184.166, 37.19.200.5, 134.209.159.64, 103.114.163.188, and 95.217.98.37. This is shared anonymisation infrastructure; Amazon advises investigating rather than blocking blindly.
  5. Test public PoC code only in an isolated environment.

For vendors:

  • Palo Alto Networks PAN-OS and Panorama: there are no patched versions available yet. Restrict the management interface to trusted internal IP addresses or a jump host. Customers with Advanced Threat Prevention can deploy signatures 543004, 97622, 97623, 97624, and 97625. Install the update as soon as Palo Alto releases it.
  • QNAP: take NAS systems offline for the time being. Disable port forwarding, UPnP, myQNAPcloud Link, and the built-in web server. Use a VPN if remote access is required. QNAP is working on updates, with no release date yet.
  • Fortinet: FortiOS, FortiManager, FortiAnalyzer, FortiWeb, FortiMail, FortiSASE, FortiAuthenticator, FortiSwitch, FortiNAC, and FortiClient are not vulnerable. Follow the advice in FG-IR-26-186 for products that are still under investigation.
  • Cisco: follow the advice in cisco-sa-php-october26 for products that are still under investigation.

Patching does not undo a prior compromise of an edge device!

Additional measures

  1. Inventory appliances with a web or management interface based on PHP, such as firewalls, NAS systems, network management, and monitoring tools, and check the status per vendor.
  2. Check whether management interfaces for PAN-OS, QNAP, and similar devices are accessible from the internet and restrict them to trusted IP addresses.
  3. Monitor for suspicious logins, new administrative accounts, and configuration changes on these devices, retrospectively from 17 October 2026.
  4. Follow the advice from Palo Alto Networks, QNAP, Fortinet, and Cisco; these will be updated as soon as there are updates or new product assessments.


Supplement 23 October

Search web server and firewall logs from 17 October for traffic to or from 206.188.197[.]105, for uploads with the filename MARKER_<8 hexadecimal characters>.txt, and for session IDs starting with fprint or dp. Also check whether PHP processes are unexpectedly launching shells or download tools.

Additional advice
Block traffic to or from 206.188.197[.]105 at the perimeter and search web and proxy logs for previous connections.

‍

If you have any questions about the potential impact on your local area, or if you would like some support, please contact T-CERT.

‍

Sources

Ellipse 6

Sign up for T-Updates

Receive the latest news about malware or vulnerabilities in your inbox every Wednesday

More than 1,000 organizations have already joined us.

Tesorion uses your data to send the requested information. In addition, your data may be used for commercial follow-up. You can unsubscribe from this at any time via the link in the email. For more information, read our privacy policy.

Ellipse 6