On 21 October 2026 the PHP project released emergency versions to fix two critical flaws nicknamed PHP2Shell. PHP is the language behind WordPress, many online shops and a good share of the management panels small businesses use. INCIBE, Spain's national cybersecurity institute, has rated it critical.
What has happened
The two vulnerabilities (CVE-2026-109618 and CVE-2026-109619) score 9.2 out of 10 and let an attacker run code on the server without needing a username or password. According to Tenable and SecurityWeek, the details leaked before the coordinated publication, and Amazon detected exploitation attempts four days before a patch existed. Cloudflare has also reported attack traffic.
The fixed versions are:
| PHP branch | Patched version |
|---|---|
| 8.5 | 8.5.12 |
| 8.4 | 8.4.27 |
| 8.3 | 8.3.36 |
| 8.2 | 8.2.35 |
| 7.4 to 8.1 | No official version; code patches only, for those who compile PHP |
| 7.3 and earlier | No patch from the project |
It affects any installation that serves web pages (PHP-FPM, Apache with mod_php, LiteSpeed and others), with a higher risk in mod_php. Tenable reports that Calif researchers confirmed unauthenticated exploitation on specific versions of WordPress, Drupal, Joomla and Magento.
On 23 October INCIBE widened the alert: PHP is also inside devices from QNAP, Synology, Mitel and Palo Alto Networks. In QNAP's case, as at 24 October there were still no fixed versions for its NAS devices.
Update as at 4 November
- Exploitation confirmed. The US cybersecurity agency, CISA, added both vulnerabilities to its catalogue of exploited flaws on 26 October.
- Firewalls attacked. According to SecurityWeek (30 October), a China-linked group chained PHP2Shell with another flaw to take control of Palo Alto Networks firewalls whose management interface was exposed to the Internet. Palo Alto has already released patches for its supported versions.
- WordPress: no known cases for now. Wordfence, a WordPress security company, recorded more than 77,000 attack requests, but as at 28 October it was not aware of any WordPress site compromised this way. That does not mean you needn't update: the attempts continue.
- QNAP. We have not found confirmation that QNAP has yet released fixed versions. Check its advisory QSA-26-18 before exposing the NAS again.



