In the third week of October 2026 two pieces of news shook everyone who runs a website. The first concerns PHP, the language behind roughly 69% of the world’s websites, WordPress included. The second concerns the use of artificial-intelligence agents to attack hundreds of business websites automatically. We followed both day by day, and they are worth telling calmly, because they affect everyone.

01PHP2Shell: a flaw at the heart of PHP
Let us start with the name, because it helps to grasp the scale of the problem. PHP2Shell is not a bug in a plugin or a theme: it is a defect in the PHP engine itself, the program that interprets and runs website code on the server. When the defect sits there, it does not matter how well the website on top of it is written: it is exposed anyway. And PHP runs roughly 69% of the world’s websites, WordPress included.
Technically there are two distinct vulnerabilities, CVE-2026-109618 and CVE-2026-109619. The first exploits memory exhaustion: if the server runs out of memory at the wrong moment, the internal structures of a request are left only half initialised, yet the end-of-request cleanup treats them as complete and ends up writing where it should not. The second concerns global state: data from one request outlives the memory that held it, and the next request on the same process finds it and uses it. In both cases an attacker sending carefully crafted requests ends up executing code on the server, with no password, no account and no form involved.
The bug had been there for years, from version 5.4 up to 8.5. A hint had already surfaced in 2024, but with no known exploit nobody treated it as urgent. It was found in August 2026 by two independent groups, researchers at Wiz and OpenAI’s Patch the Planet project, both using AI models to read the source code in search of errors. That detail struck us: the same technology that finds the flaws is the one that later exploits them.
Patches came out on 21 October: PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Anyone on 8.1 or earlier, now out of support, has no release to install and must migrate. No partial mitigation holds: the PHP maintainers say so, and we can confirm it, having followed the story from the first reports. Amazon intercepted an exploitation attempt as early as 17 October, four days before the flaw went public, and several European governments chose to switch their websites off rather than take the risk.

02When the one knocking is an AI agent
The second story made us think even harder. Reuters reported an investigation by security firm NorForge: a Chinese-speaking group set AI agents to work against more than 1,200 websites across the United States, Canada, Australia and Japan, and breached over a hundred of them. Nobody was typing commands: the agent explored the site, tried the possible routes and carried on by itself, for an average of 23 hours per target.
The tools were nothing exotic: DeepSeek, GLM, Grok and Claude Code. The last one is a program, not a model, and in the configurations found it was often wired to models other than Anthropic’s. In one of the documented intrusions the way in was PHP again, but at a different point: unsafe deserialisation of objects and old components of the Zend framework. Legitimate code, written years ago, never updated and left listening on the internet.
Put together, the two stories say one thing. The time between the discovery of a flaw and its exploitation is now measured in days, and on the other side there is no longer a person picking the target but software that tries everything, everywhere, until something gives.
03What this means if you own a website
If you own a website the question is simple: what does it run on, and who keeps it updated? If the answer is WordPress on shared hosting with a PHP version chosen years ago, today is a good day to check. Size does not matter: an automated agent does not tell a multinational from the shop around the corner, it just tries.
For us this attention is a habit, not an emergency. We follow security bulletins, we read vendor advisories, and when news like PHP2Shell breaks the first thing we do is ask whether it touches our clients. In this case the answer is no, and below we explain why. But the answer comes because we asked the question straight away, not because we got lucky.
What the experts say
These findings rank among the most severe vulnerabilities discovered in PHP, and arguably in software history.
Wiz researchers
The PHP situation will lead to a mass of incidents. It is one of the biggest vulnerabilities in years.
Kevin Beaumont, security researcher
There are no complete mitigations: updating is the only safe choice.
PHP security team
How we handle it
At Prismal Group we follow security bulletins and vendor advisories every day. When news like PHP2Shell breaks, the first thing we do is check whether and how it affects the websites we have built and our clients.
Security is not a product you buy once but a constant attention. It is how we work every day and the reason why those who entrust us with their website can focus on their own business, knowing someone is watching.
Do you have an existing PHP or WordPress website and want to know whether it is exposed? Get in touch: we will run a check and tell you clearly what is needed.

Static architecture
The websites we build are made of HTML, CSS and JavaScript, with no PHP, no exposed database and no admin panel to keep updated. This keeps the attack surface to a minimum: PHP2Shell, for instance, does not affect them.
Modern infrastructure
We publish on platforms with mandatory HTTPS, a CDN network and built-in attack protection, with security headers and a Content Security Policy in place.
Dependencies under control
The few libraries we use are kept up to date and checked at every release, so no component is left behind for years.
Informed and transparent
We follow advisories, CVEs and vendor communications every day. If a risk concerns a client’s website, we are the ones who tell them, explaining what is happening and what we are doing about it.
Sources
Where the information in this article comes from
- Help Net Security
PHP2Shell: PHP vulnerabilities patched (CVE-2026-109618, CVE-2026-109619)
helpnetsecurity.com
- Wikipedia
PHP2Shell
en.wikipedia.org
- PHP su GitHub
PHP 8.4.27 release notes
github.com
- Milano Finanza
L'intelligenza artificiale ha appena individuato un bug che mette a rischio fino al 70% dei siti web
milanofinanza.it
- Tom's Hardware Italia
Hacker cinese usa agenti di IA per violare oltre 100 siti aziendali
tomshw.it
- The Hacker News
Hackers use autonomous AI agents to breach corporate websites
thehackernews.com
Do you have a website and want to know if it is safe?
Write to us: we will review the situation together and tell you clearly what is needed, no strings attached.
