The short version
- The flaws. CVE-2026-109618 and CVE-2026-109619 are critical PHP bugs, both scored 9.2, that can lead to remote code execution. Technical details leaked online before the coordinated release. CERT-EU says that, based on the score, neither needs authentication to exploit.
- The exploitation. Sansec predicted mass exploitation would likely start within 15 minutes of the patch release, and Cloudflare has since reported millions of exploitation attempts. WatchTowr and Huntress had seen no in-the-wild use when the flaws were first described.
- The intrusion. Palo Alto Networks Unit 42 says attackers reached a government entity in Europe and, within two hours, accessed password hashes and multi-factor authentication secrets. They also set up an NTLM relay tunnel into Active Directory and tried to escalate to Domain Admin.
- The targeting. CYFIRMA says a suspected North Korea-linked operation used PHP2Shell to scan 216 unpatched or partly mitigated hosts from 21 compromised nodes. It attributes the activity to a Korean-speaking operator in the Lazarus Group ecosystem with moderate confidence.
- The scale. Bitsight's scans count nearly 37 million internet-facing systems running PHP or PHP-related software, with most of the exposures in the US, Germany, France, the Netherlands and Japan.
Timeline
| Date | Event |
|---|---|
| October | PHP warns users to prepare for patches to two critical flaws, scheduled for 21 October at 14:00 UTC, and says the release could come earlier if details are published or exploitation appears. |
| 21 Oct | Details of the two vulnerabilities leak ahead of the coordinated release; public reporting names them PHP2Shell. |
| 21 Oct | WatchTowr says it reproduced CVE-2026-109618 but withholds technical detail until patches are out. |
| 22 Oct | ReliaQuest publishes an update saying it reproduced CVE-2026-109618 in a lab and identified a log sequence defenders can hunt for. |
| 25 Oct | Unit 42 reports the intrusion at the European government entity and says commands were structured for an AI model to read. |
| 25 Oct | CYFIRMA reports a suspected North Korea-linked campaign scanning PHP hosts from 21 compromised nodes; Defused Cyber reports PHP2Shell probes against GlobalProtect honeypots. |
What was disclosed
Details of two critical PHP vulnerabilities were leaked before a coordinated release. PHP had said patches were planned for 21 October at 14:00 UTC and urged users to prepare, adding that the release could be brought forward if technical details appeared or exploitation was seen. Public reporting calls the pair PHP2Shell. They are tracked as CVE-2026-109618 and CVE-2026-109619, both scored 9.2, and can lead to remote code execution.
CERT-EU says the CVSS score indicates both can be exploited without authentication. At the time of the first reports, public details did not include a root cause, an affected component or an attack path; one report suggested CVE-2026-109618 is a use-after-free bug. Public reporting also suggested that every PHP version from PHP 5 onwards is affected.
WatchTowr said it reproduced CVE-2026-109618 and that the vulnerabilities were real, but withheld technical information until patches shipped. WatchTowr and Huntress had not observed exploitation when the flaws were first described. Sansec warned that mass exploitation would likely begin within 15 minutes of the patch release. Cloudflare later said it detected millions of exploitation attempts after public disclosure.
Who was reached and who is being scanned
Unit 42 says the post-exploitation activity at the European government entity showed signs of agentic AI, meaning AI agents that plan and run steps themselves. Within two hours of the initial exploitation, attackers had accessed password hashes and MFA secrets. They then built an NTLM relay tunnel into Active Directory, a technique for authenticating to other systems with captured credentials, and attempted Domain Admin privilege escalation. Command batches were wrapped in delimiters such as ==SHELLUSER== and ==PASSWD== so an AI model could parse the output.
CYFIRMA reported a separate suspected North Korea-linked operation using PHP2Shell to scan a filtered list of 216 unpatched or partly mitigated hosts in the US, Japan, South Korea, Thailand, Indonesia, Australia, Taiwan, India, Singapore, the UAE, Saudi Arabia and the EU. The targets span government, financial institutions, logistics, airports and aviation, manufacturing and online transaction platforms. The scans move slowly across 21 compromised nodes, which CYFIRMA says makes threshold-based alerting unlikely to catch them.
CYFIRMA attributes the campaign to a Korean-speaking operator tied to the Lazarus Group ecosystem with moderate confidence, citing a closed I2P channel, North Korean vocabulary and previously used command-and-control infrastructure. Its chief executive Kumar Ritesh said: "Organizations in the prioritised sectors and geographies should assume they are in scope for deliberate targeting." Separately, Defused Cyber reported probes against Palo Alto Networks GlobalProtect honeypots carrying a PHP_SESSION_UPLOAD_PROGRESS marker and an empty file upload, sent from an address it describes as a known mass-exploit host.
How the flaw works and how to spot it
Datadog's account of the mechanism says an attacker must size a request so that memory allocation fails at the right moment and must defeat address space layout randomisation to land on valid memory addresses. A form-field name has to be small enough to fit the accepted request body but large enough that copying it exceeds the configured memory limit. PHP makes several copies of a field name while parsing it, and the extra memory is used to force the allocation failure as the name is copied into a hash table.
ReliaQuest reproduced CVE-2026-109618 in a controlled lab and described a detection sequence across PHP, Apache and system logs: a POST request returns a 500 error, PHP reports memory exhaustion and heap corruption, and the Apache worker handling the request crashes. Xint has released a scanner that checks whether a host is exposed. Bitsight's internet-wide scans put nearly 37 million internet-facing systems running PHP or PHP-related software at issue.
The PHP Foundation has warned of a third remote code execution flaw, CVE-2026-115560, which it says occurs only under an unusual combination of configuration and application code. It requires the session serialisation handler to be set to php_binary or php_serialize in configuration and then switched to php at runtime, with session upload progress enabled. The Foundation expects to address it in the regular release cycle.
What is not known yet
- Who carried out the intrusion at the European government entity, and whether it is the same operation as the North Korea-linked scanning.
- How many organisations have actually been compromised, as opposed to scanned or listed as targets.
- Whether anything beyond password hashes and multi-factor authentication secrets was taken from the government entity.
- Which PHP component is at fault, and whether every version from PHP 5 onwards is genuinely affected.
- Whether the moderate-confidence attribution to a Lazarus-linked operator holds up.
What to do
If you run PHP
- Apply the current PHP release and check the PHP project's advisory for the versions it fixes, rather than relying on earlier reports about which versions are affected.
- Hunt for the sequence ReliaQuest described: a POST returning a 500 error, memory exhaustion and heap corruption in PHP logs, and a crashed Apache worker.
- Search affected hosts for web shells and unauthorised changes, and rotate credentials and MFA enrolments on any host showing that sequence.
- Check whether your applications set the session serialisation handler to php_binary or php_serialize and switch it at runtime, the configuration CVE-2026-115560 depends on.
If you expose Palo Alto Networks GlobalProtect
- Review logs for requests carrying a PHP_SESSION_UPLOAD_PROGRESS field with a p2s-rider marker and a file upload with no payload, which Defused Cyber says indicates someone is testing for the vulnerable upload-progress behaviour.
- Block the source address Defused Cyber reported, 204.76.203[.]7, and treat its appearance as a sign your devices are on a target list.
For everyone else
- Inventory internet-facing systems running PHP or PHP-based software and confirm they are patched, given Bitsight's count of nearly 37 million such hosts.
- If you operate PHP in government, finance, logistics, aviation, manufacturing or online transactions, treat external PHP hosts as deliberately targeted rather than opportunistically scanned.
Update log
- First published.
Sources
New incident reports by email
One email a week with the reports published since the last one.