Skip to main content
All incident reports
Incident report

Critical PHP flaws exploited at scale; European government entity breached

Two critical PHP vulnerabilities, together called PHP2Shell, leaked before patches were due on 21 October and are now being exploited at scale. One intrusion reached a European government entity, where password hashes and multi-factor authentication secrets were taken within two hours.

· First published

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

DateEvent
OctoberPHP 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 OctDetails of the two vulnerabilities leak ahead of the coordinated release; public reporting names them PHP2Shell.
21 OctWatchTowr says it reproduced CVE-2026-109618 but withholds technical detail until patches are out.
22 OctReliaQuest publishes an update saying it reproduced CVE-2026-109618 in a lab and identified a log sequence defenders can hunt for.
25 OctUnit 42 reports the intrusion at the European government entity and says commands were structured for an AI model to read.
25 OctCYFIRMA 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 ShadowMap sees: PHP

  • 20 indicators of compromise in ShadowMap's threat feed are linked to CVE-2026-109618 and CVE-2026-109619.

    TypeIndicator (defanged)
    MD52937d8f525dc438fb389b01e30fd4ad8
    MD59a9340cda8e08c72ae09c6b9f6f29af7
    MD5e70423f5a13d21367fadad17c3e90205
    SHA-10c17026dc945b311955497a6b04fb3f290246123
    SHA-142b61b86aa631a22b294f1e98e09d965161a1aef
    SHA-1b04e15873c6690c38c3837569b8012c18ba19d21
    SHA-2561c93ea48fa7ff886a6d81e44869dd7962309e95d01c1561df362b0b18007a562
    SHA-2562d692ee6dcb41c249c55881897b7dec0550b92963e07fccdb11ad655601977c3
    SHA-2564a1502affa36d106d5374bf02cf777956eef651176ec8964b26ff90f103dd506
    SHA-256535b9e298defd3449ba2b10b9828925d3ce344872dcbd9470c0e8db20f0aae83
    SHA-2565e99d6023dce9bb18d845a37fcdbc7ea574fdb20ab8d888ec54c695382d46036
    SHA-25666bcbc8c2b9d847a1e976e57972e10eac98e9b894cbf30510bff1e8d63efb81f
    SHA-2566f84cc354b785157983efa8f4b674d2e1d6c3331017f29ff8d51bc43668d4b0f
    SHA-2569c15dc5a510bf2e8a16c846e61fa35c50ef733b72d4e47b6e8307498a398443c
    SHA-256c1e81cfbaf7e4cccad7d7f43c1a624b791ba1b7f1d176e224455138604837b4c
    URLhxxp://162[.]35[.]99[.]94:8090/metabase-rce-139[.]162[.]86[.]33'
    SHA-2560405d4f79a3cc97fa492f1957cde0d51bc569f5432792f1b8f72077aa3fb2434
    SHA-25605e2daf00fd6d1f91e5ac32b156bae290bb43d4fa0c1521981d804582c6444d4
    SHA-2564188295ae1f7f8a99d15e90eb037eef3eb03f6acd4422bf877c6e3304e70fcb9
    SHA-25659309cca70a714ca7e6a2353d583d29b0ec02e408a413b86e85a621926c3b038

    As of

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

  1. 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.
  2. 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.
  3. Search affected hosts for web shells and unauthorised changes, and rotate credentials and MFA enrolments on any host showing that sequence.
  4. 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

  1. 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.
  2. 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

  1. 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.
  2. 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.

We email you about this topic only; unsubscribe any time. See our Privacy Policy.

Want us to look at your domain?

Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required.