How to spot it
If you notice one or more of the signs below, don’t trust the message.
- Your website runs on PHP (many platforms such as WordPress, WooCommerce, OpenCart and Laravel do) and the server’s PHP version is older than 8.5.12, 8.4.27, 8.3.36 or 8.2.35.
- Server logs show unusual multipart requests followed immediately by memory limit errors.
- There are repeated HTTP 500 errors or unexplained PHP worker restarts.
- Logs contain unusually long PHPSESSID cookies or PHP errors mentioning “in Unknown on line 0”.
- Web server processes are seen spawning a shell, or new PHP files you don’t recognise appear on your site.
What you should do
Follow the recommended steps in order.
- Ask your hosting provider to update PHP to a patched version (8.5.12, 8.4.27, 8.3.36 or 8.2.35) right away; PHP-FPM, Apache and any other PHP workers must be restarted afterwards.
- Find out which PHP version you use from your hosting panel or provider. For Linux distribution packages, check the package changelog for these two CVE IDs rather than the version string.
- Updating only your application (WordPress, plugins, theme) is not enough; the flaw is in PHP itself.
- If you run PHP 8.1 or older, these versions no longer receive updates from the PHP project; move to a supported version or ask your provider whether it offers a patch.
- If you cannot update immediately, set session.upload_progress.enabled=0 in php.ini or the server configuration and restart all PHP workers. This closes one confirmed attack path for CVE-2026-109619 and is not a complete fix.
- Have your server logs and files checked since 20 October 2026 for suspicious requests, unknown PHP files and unexpected admin accounts.
Details
What happened?
On 21 October 2026 the PHP development team released emergency security versions fixing two critical vulnerabilities known as “PHP2Shell”: CVE-2026-109618 and CVE-2026-109619. According to PHP’s official advisory, both can allow unauthenticated remote code execution, meaning an attacker could run their own commands on your server.
- CVE-2026-109618: a flaw in how PHP handles out-of-memory conditions; processing can be interrupted while request data is only partly initialised, and that corrupted data may later be treated as valid.
- CVE-2026-109619: internal state belonging to a request can survive after its memory has been freed, and a later request handled by the same PHP worker may use that stale state. One confirmed attack path involves the session upload progress feature (session.upload_progress), which is enabled by default.
According to The Hacker News, both flaws are rated 9.2 on CVSS v4.0. The same report says Cloudflare and watchTowr observed exploitation attempts after the patches were released; at the time of the report’s update no successful compromise had been confirmed. In the words of PHP’s advisory, there are no complete mitigations: updating is the only safe choice.
Who is affected?
According to PHP, all PHP installations serving web requests are at risk: PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. The risk is highest for mod_php, where a single unauthenticated request was shown to trigger the attack before any application code runs. Security researchers say affected versions go back to PHP 5.4.
Because the flaw is in the PHP runtime rather than your site’s own code, your corporate website, online shop or blog can be affected even if it is securely written, as long as the server is not updated. The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older receive no official updates; the PHP security team published source-level backports for 7.4, 8.0 and 8.1, and some distributions and long-term support vendors provide their own packages.
If you are not sure whether your website’s server is up to date, or you have noticed suspicious activity, we can help with penetration testing, vulnerability scanning and hacked website response.
Sources
- PHP — Güvenlik duyurusu: kritik uzaktan kod çalıştırma açıkları (21 Ekim 2026)
- PHP — PHP 8.4.27 sürüm duyurusu (php.announce, 21 Ekim 2026)
- The Hacker News — PHP Issues Emergency Patches for Two Critical PHP2Shell RCE Flaws (21 Ekim 2026)
- Sansec — PHP2Shell: Critical PHP RCE (21 Ekim 2026)
- Abstract Security — PHP2Shell (21 Ekim 2026)
If you received this message
Don’t click the links or share passwords or verification codes. If you’ve lost access to your account or already shared information, submit a request right away; if you’re not sure, write to us.
This alert is for general information only. Platform interfaces and fraud methods change; verify official announcements in the platform’s own help center. Published: · Last updated: