PHP2Shell flaws exploited against servers, firewalls and gateways
Two PHP flaws, CVE-2026-109618 and CVE-2026-109619, are being exploited against internet-facing servers, firewalls and security gateways. Still open: who ran the reported campaign against a U.S. government-affiliated network, and how far that compromise reached.
Where it stands: CISA has listed both flaws as exploited, Palo Alto Networks confirms exploitation against its exposed management interfaces, and Perplexity's detection lead reports remote code execution against honeypot systems. The wider campaign rests on Dream's account. Read on
What happened
PHP2Shell is the nickname for two PHP flaws, CVE-2026-109618 and CVE-2026-109619, that allow unauthenticated remote code execution; the PHP Foundation patched them on 21 October 2026.12 On Monday, 26 October 2026, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) added them to its Known Exploited Vulnerabilities catalog.1 Dream reported on 28 October 2026 that a suspected China-nexus actor used the flaws together with a Linux kernel bug to root 25 servers, including three in a U.S. government-affiliated environment.32 On 28 October 2026 Palo Alto Networks said active exploitation has been observed against its management interfaces exposed to the internet.2
Where it stands
CISA has listed both flaws as exploited, Palo Alto Networks confirms exploitation against its exposed management interfaces, and Perplexity's detection lead reports remote code execution against honeypot systems.12 The wider campaign rests on Dream's account. Dream did not name the affected firewall vendor or the government-affiliated organization, was unable to determine the full extent of the compromise, and said it is working with the vendor and relevant authorities.34 CISA declined to comment on the Dream report.4
Key evidence
- CVE-2026-109618 and CVE-2026-109619 are each rated 9.2 on CVSS and allow unauthenticated remote code execution.1
- The PHP Foundation released fixed PHP versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on 21 October 2026.1
- Perplexity's detection and response lead, Adel Karimi, reported remote code execution against honeypot systems on 24 October 2026.1
- Karimi said the honeypot response included an 800 KiB decoded cookie dump.1
- GreyNoise said it has seen at least six successful exploitations of the two flaws.4
- CISA added CVE-2026-46300, the Linux kernel flaw known as Fragnesia, to its catalog on 28 October 2026, with fixes due by 31 October 2026.52
- Palo Alto says the issue strictly affects the management web interface, including the HTTPS web UI and XML API service.2
- Palo Alto says the risk is highest when management access is allowed from external IP addresses on the internet.2
- Palo Alto says customers who applied the available patches are not affected.2
- Palo Alto says that customers with Frontier Virtual Patching on PAN-OS 12.2.4 and later received advance coverage through Threat ID 543004, released at 10:21 PM PT on 20 October 2026.2
- Palo Alto says less than .01% of its global installed base has internet-facing management interfaces configured.2
- Dream says the attacker used FOFA, a search engine similar to Shodan, to find about 19,000 internet-facing firewalls, then narrowed them to 240 targets.34
- Dream says the attacker paired PHP2Shell with the Fragnesia Linux kernel privilege escalation flaw to gain root access.3
Costs, setbacks, caveats
Warning
- Dream's count is reported as 24 compromised firewalls in one article and as 25 rooted servers in others.43
- For 22 of the 24 firewalls Dream describes, the attacker only planted webshells for later access.4
- One of the government-affiliated servers crashed shortly after it was rooted on 23 October 2026 and never came back online.3
- Dream says the attacker likely still has persistent remote access to the organization's internal network and a complete organizational blueprint.43
- Whether the attacker obtained valid credentials is unclear: one article reports account credentials and private keys were obtained, while another says it is unclear whether valid credentials were found.43
- The attribution to a Chinese actor rests on Dream's reading of Chinese language use, known Chinese tools and Chinese AI models.4
- The honeypot evidence covers one favorable configuration and is not a measure of exploit reliability on other setups.1
- Censys estimates that more than 32.51 million PHP services are still running an affected version; this is an estimate of exposure, not a count of compromised systems.1
- For some PAN-OS versions no fix was available when the advisory was updated, so Palo Alto recommended mitigations such as routing management traffic through a data-plane interface.2
Where sources disagree
- The State espionage framing argues the operation is aimed at U.S. government systems, pointing to three servers in a government-affiliated environment that the attacker focused on after mass scanning.53
- The State espionage framing argues the infrastructure points to a Chinese-linked operator, citing Claude Code, FOFA API keys and an AI platform configured with DeepSeek and Kimi models.3
- The Limited exploitation framing argues that most exploitation needs customized code, as dozens of experts have said custom work will be necessary for most exploitation of the PHP bugs.4
- The Limited exploitation framing argues the reported reach is small: 22 of 24 firewalls were left with planted webshells, and only one target's servers went past the initial stage.4
- The Limited exploitation framing argues the public proof of concept is not usable as is: a forum member quoted by Flare says it needs offsets from libphp.so that differ for every build.3
Timeline
- Palo Alto releases advance protection for PAN-OS 12.2.4 and later through Threat ID 543004, at 10:21 PM PT.2
- The PHP Foundation releases PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 with fixes for the flaws.1
- According to Dream, the attacker roots the first of the government-affiliated servers at 6:14 p.m. UTC.3
- According to Dream, the attacker roots a second government-affiliated server at 10:09 a.m. UTC.3
- According to Dream, a third government server is compromised through a reverse SSH tunnel at 11:35 a.m. UTC.3
- Perplexity's Adel Karimi reports remote code execution against honeypot systems.1
- CISA adds CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities catalog.1
- Dream's campaign report is published and reported in the press.3
- Palo Alto updates its advisory to say active exploitation has been observed against internet-exposed management interfaces.2
- Recorded Future News reports GreyNoise's six successful exploitations and Dream's account of the campaign.4
Open questions
- Which firewall vendor did Dream's report describe? Dream has not named it, and Palo Alto says it is aware of the report.32
- Is the Palo Alto activity part of Dream's campaign? The sources do not say whether they are the same activity.25
- Is a ransomware group using PHP2Shell against Palo Alto firewalls? Kevin Beaumont says he is aware of one, but no source gives evidence for it.5
- Did the attacker obtain valid credentials or create backdoor accounts? The articles disagree on credentials, and it is unclear whether backdoor accounts were created.43
- When did the campaign take place? One article says Dream observed the activity on 25 October 2026, while its own timeline gives 23 and 24 October.3
- Were the 22 other firewalls with planted webshells cleaned up? Dream said they remained parked with active webshells, and no source reports their status since.3
- Does the exploit work beyond the tested setup? Perplexity's test covered one profile, and the sources do not show reliability on other builds.1
- Which government organization was affected? Dream did not specify the servers' affiliation, and CISA declined to comment.43
- How widely is the method used against other devices? Viakoo's John Gallagher warned it could reach other operational technology devices, but no source reports such attacks.4
Sources cited
- The Hacker News · CISA Confirms Active Exploitation of Two PHP2Shell Flaws Enabling Remote Code Execution · Ravie Lakshmanan · 27 October 2026
The evidence demonstrates this chain on the intentionally favorable single-worker mod_php profile; it is not a measurement of exploit reliability on other worker counts, PHP builds, or applications.
12345678910111213 - The Hacker News · Attackers Exploit PHP2Shell Flaws in Internet-Exposed Palo Alto Networks Management Interfaces · 29 October 2026
Active exploitation has been observed targeting the Palo Alto Networks management interface exposed to the internet
12345678910111213141516 - The Hacker News · PHP2Shell Attack Roots 25 Servers, Breaches U.S. Government-Affiliated Network · Ravie Lakshmanan · 28 October 2026
The name of the affected vendor was not disclosed, but the Israeli company said it notified the entity.
1234567891011121314151617181920 - The Record · Limited reports of PHP bug exploitation emerge · Jonathan Greig · 29 October 2026
Cybersecurity firm GreyNoise said it has seen at least six successful exploitations of CVE-2026-109618 and CVE-2026-109619, colloquially known as “PHP2Shell.”
123456789101112131415 - Help Net Security · Chinese hackers used VMware ESX zero-day; PHP2Shell and Fragnesia chained to root firewalls · 29 October 2026
Dream did not name the maker of the rooted firewalls.
12345