Skip to content
ChaiBytes

Hackers Exploit PHP2Shell Vulnerabilities in PHP Web Scripting Language

Security researchers identified active exploitation of two critical PHP vulnerabilities, known as PHP2Shell, starting as early as October 17, 2026 [1, 2].

By , Founder

2 min read

Share

What Happened

Two critical security vulnerabilities in PHP, a widely used web scripting language, have been identified as CVE-2026-109618 and CVE-2026-109619 [2, 3]. Collectively known as PHP2Shell, these flaws involve how the language handles memory during errors or when it runs out of resources [3].

Amazon Web Services (AWS) reported that exploitation attempts were detected as early as October 17, 2026, four days before the public disclosure of the bugs [1, 2]. AWS analysts spotted this activity using honeypots, which are intentionally vulnerable servers used to study attack methods [1]. The initial attempt came from an IP address linked to a commercial anonymization network, such as a VPN or proxy [1, 2].

Public disclosure and the lifting of the security embargo occurred on October 21, 2026, at 14:00 UTC [2]. Following this, proof-of-concept exploits began appearing publicly, with some appearing around 02:00 UTC on the same day [2]. CJ Moses, the chief information security officer at AWS, stated that PHP2Shell is now being broadly exploited in the wild [1]. He noted that the time between a patch being released and a working exploit being created is shrinking, partly because AI-assisted analysis makes it cheaper and faster for actors to turn technical details into exploits [1, 2].

Cloudflare reported that it observed attackers mutating attack payloads to try to bypass protections [3]. Cloudflare deployed web application firewall (WAF) protections starting at 03:02 UTC on October 21, 2026, for both free and paid customers [3].

Who Is Affected

The vulnerabilities affect all web servers running PHP version 5.4 or later [3]. Because PHP is used by approximately 70% of websites and underpins platforms like WordPress and Magento, a large number of internet applications could be at risk [3]. Attackers may be able to cause a denial of service, execute remote code, or expose sensitive data [3].

What to Do Next

To address these vulnerabilities, administrators should take the following steps:

  • Upgrade immediately to fixed versions of PHP, as this is the only complete remediation [2].
  • If patching is not immediately possible, consider blocking multi-part file uploads, though this may affect application functionality [2].
  • Monitor for POST requests containing the string PHP_SESSION_UPLOAD_PROGRESS in form uploads [2].
  • Review web server logs for suspicious activity and check for unexpected file modifications or process executions [2].
  • For those using Cloudflare, ensure WAF protections are enabled [3].
  • Security leaders are advised to investigate systems starting from October 17, 2026, rather than waiting for the disclosure date [2].

About the author

, Founder

Sources

  1. Hackers Exploited the PHP Vulnerabilities Days Before They Were Patched — WIRED
  2. Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot | AWS Security Blog — AWS Official source
  3. Cloudflare deploys protections against php2shell vulnerability | Cloudflare Blog — blog.cloudflare.com Official source

Drafted with AI assistance from the reports above and checked automatically for sourcing. Always confirm dates, fees and requirements on the official website before acting. Report an error · How we correct mistakes

Was this helpful?

Questions or something to add?

Ask below. We read every comment and reply when we can.

Leave a comment

Be respectful. Comments with links are reviewed before they appear. Your email is used only to contact you about your comment, such as a reply from the editor.