Cloudflare Races to Block php2shell Attacks as Hackers Mutate Payloads

Cloudflare Races to Block php2shell Attacks as Hackers Mutate Payloads


Millions of website users faced potential data theft as php2shell vulnerabilities targeted the platforms powering most online services.

Small businesses risked service outages and revenue loss before patches arrived, despite Cloudflare’s early firewall rules.

Delayed patch adoption could expose personal information, highlighting the need for rapid updates across hosted and self‑managed sites.

Cloudflare, a web infrastructure firm, reportedly rolled out security rules to protect websites from two critical PHP vulnerabilities after details of the flaws leaked before their official disclosure on October 21, 2026.

According to the announcement, the vulnerabilities, known collectively as php2shell, could let attackers run malicious code on web servers, steal sensitive data, or disrupt services by sending specially designed web requests.

The company said its protection went live at 03:02 UTC on October 21, about nine hours before the vulnerabilities were publicly disclosed. The rules were made available automatically to customers on free and paid plans using Cloudflare’s web application firewall (WAF), which helps block harmful traffic before it reaches websites.

However, the early leak gave attackers a chance to test their methods before the public announcement. Cloudflare said it spotted attack traffic aimed at its customers and watched as attackers changed their requests to try to get around the security rules.

Cloudflare prepared protection before disclosure 

Cloudflare worked with the PHP Foundation, OpenAI, Wiz, Calif.io and Quarkslab to prepare protections. Its security team tracked how often the rules matched suspicious traffic and compared those results with how the rules worked. This helped the team spot changes in attack methods and update its defenses.

The vulnerabilities affect PHP itself, a programming language used by nearly 70% of websites, according to W3Techs. It also supports popular platforms such as WordPress and Magento, meaning the flaws could affect many websites that rely on PHP to run their services.

The problem comes from how PHP handles memory when something goes wrong while processing a web request. Software needs memory to handle information and complete tasks. But if PHP encounters an error, it may fail to clean up that memory safely, leaving the door open for attackers to misuse it.

The two vulnerabilities work differently 

The two flaws work in slightly different ways. CVE-2026-109618 can occur when PHP runs out of memory before setting up some internal data properly. During cleanup, the software may try to use that unfinished data. CVE-2026-109619 involves PHP holding references to memory that has already been released, potentially allowing a later request to access information it should no longer use.

Attackers may use these weaknesses to crash a PHP process, expose private information or run their own code on a vulnerable server. In a post on X, SlowMist also rated both flaws 9.2 out of 10 under the CVSS v4.0 scoring system, placing them in the critical category.

Cloudflare adds a new layer of detection 

To strengthen its response, Cloudflare introduced a new security feature called full transaction detection. Instead of checking only the incoming request, the system also examines the server’s response to that same request. This gives the firewall more information to help identify attacks while lowering the chance of blocking normal website activity. When a response matches a rule, the system can block it before it reaches the person making the request.

Cloudflare said these php2shell protections are the first managed detections it has released using the new feature. Free customers receive the rules automatically, while Professional, Business and Enterprise customers should check that their Managed Ruleset is running in block mode.

Despite these protections, Cloudflare warned website owners not to rely on the firewall alone. Administrators should update their PHP software as soon as the relevant security patches are available. Those using managed hosting should contact their providers to confirm that updates have been applied.

Cloudflare’s security team said they will continue watching for new attack methods and updating its rules.

Also Read: Crypto Trader Loses $600,000 After Running Fake Cloudflare Command


Disclaimer: The information researched and reported by The Crypto Times is for informational purposes only and is not a substitute for professional financial advice. Investing in crypto assets involves significant risk due to market volatility. Always Do Your Own Research (DYOR) and consult with a qualified Financial Advisor before making any investment decisions.





Leave a Reply

Your email address will not be published. Required fields are marked *