The DWP attack and the end of human defence

The DWP attack and the end of human defence

Lillian Boone

In late November 2026, Britain's Department for Work and Pensions took part of its online estate offline. The reason was simple: someone was trying to get in. The DWP administers benefits and pensions for more than 24 million people, including 8.4 million on Universal Credit. This is not a department you can switch off for a day without consequences. And yet that is exactly what it did, voluntarily.

Three days later, Prime Minister Andy Burnham told MPs something that belongs in every cybersecurity textbook. The speed and nature of the activity, he said, “do indicate that this was an attack enabled by AI tools.” In other words, this was not a group of people manually probing one system. This was a machine working faster than a human team can read logs.

This article is not only about the DWP. The DWP is a symptom. The real problem is broader, and it affects every company, every public body and every institution with a single public IP address.

What we know about the DWP attack

The facts are still cautious because the investigation is ongoing. The incident was detected overnight from Thursday to Friday, 26/27 November. The department took public services offline itself, including parts of Universal Credit and the state pension. Work and Pensions Secretary Pat McFadden spoke of a “serious incident” and made clear that systems would return only when it was safe. “We will not put services back online until we have made sure that it's safe to do so,” he said. “It would be a mistake to rush.”

Importantly, payments continued. Transfers are cleared several days in advance, so benefits reached people as normal. What suffered was the handling of new claims and access to online accounts. There is no evidence so far that personal data was compromised, although investigators have not ruled it out.

There is also no official attribution. Reports have emerged that hostile state involvement is being examined, but for now that remains speculation. What is known is that the National Cyber Security Centre and the Government Cyber Coordination Centre are involved. And it is known that the attack was serious enough for the UK government to announce that AI security will be a central theme of its G20 presidency next year.

That last sentence matters. Politicians do not turn a cyberattack into an international agenda item because someone hacked one server. They do it when they begin to understand the scale.

A government data centre with signs of a digital intrusion

The year of one hundred thousand flaws

In 2025, roughly 48,000 CVEs were published worldwide. In 2026, that number passed 100,000 by mid-November. That is more than double in a single year, and the year is not over. NVD data already showed 86,533 vulnerabilities by late October, against 48,151 for the whole of 2025.

FIRST, the organisation that forecasts vulnerability disclosure volumes, estimated in February that 2026 would bring around 46,000 CVEs. In June it revised the figure upward by 46 percent, to roughly 66,000. Reality has beaten even that.

What is driving the surge? Not a sudden increase in coding mistakes. People write the same code as before, with a similar number of errors. What changed is the tool used to find them. Large language models and specialised agents can read millions of lines of code, generate tests, analyse commit history and spot bug patterns faster than a team of researchers. The same tool that helps vendors ship patches also helps attackers.

Here is the first paradox. More discovered vulnerabilities do not automatically mean more risk. Analysts point out that only a small share of disclosures translate into flaws that can actually be exploited. The problem is that the small share is enough. One unpatched installation is all it takes for an entire security budget to stop mattering.

Chart showing the number of disclosed CVEs in 2025 and 2026

wp2shell, or WordPress as an open door

To see what this looks like in practice, go back a few months. In July and August 2026, the WordPress ecosystem was hit by a flaw the community called wp2shell. It was not a bug in yet another plugin. It was a chain of two flaws in the core itself, which together delivered unauthenticated remote code execution.

The first component, CVE-2026-63030, involved the batch mechanism in the REST API. WordPress lets clients send multiple requests in one package through the `/wp-json/batch/v1` endpoint. A routing error allowed attackers to confuse paths and invoke operations that normally require administrator rights. The second component, CVE-2026-60137, was an SQL injection in the `WPQuery authornotin` query, a class of bug that was supposedly solved years ago and yet returned to the core.

Together they offered what every administrator fears: the ability to write a web shell to the server and execute it without logging in. On a clean, default installation. No plugins, no extra configuration, no prior access.

The affected versions were 6.9.0 to 6.9.4, 7.0.0 to 7.0.1 and 7.1 beta. Fixes arrived in 6.9.5, 7.0.2 and 6.8.6. Public exploits appeared almost immediately, and security teams confirmed active exploitation in production environments.

In Poland, the issue reached the highest level. On 5 August 2026, the Government Plenipotentiary for Cybersecurity issued an official recommendation, consulted with CSIRT NASK, CSIRT GOV and CSIRT MON. That is not standard procedure for a single plugin. It is a signal that the flaw affects entities in the national cybersecurity system, including administration, hospitals, energy and finance.

WordPress powers roughly 40 percent of all websites. In Poland that means hundreds of thousands of installations, from blogs to municipal services. Most of them have no security team. Most of them will not know they have been compromised until the site disappears from Google or starts sending spam.

php2shell, or the foundation of the internet under scrutiny

October brought something more serious still. Two vulnerabilities in the PHP interpreter itself, tracked as CVE-2026-109618 and CVE-2026-109619 and named php2shell. Both scored 9.2 on CVSS v4.0. Both allowed unauthenticated remote code execution. Both sat in the core of the language that runs most of the web.

The first stems from a memory management error when the memory limit is exceeded. The second from stale global state. In practice, an attacker can cause their own code to execute inside the web server process. They do not need an account, a plugin or anything beyond network access to a vulnerable service.

Patches landed on 21 October in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35, with backports for older branches from 7.4 to 8.1. The problem is that exploitation attempts were observed on 17 October, four days before public disclosure. Amazon Threat Intelligence described “broad exploitation attempts in the wild”. On 26 October, CISA added both CVEs to its Known Exploited Vulnerabilities catalog.

There was also a detail that shows what a modern attack chain looks like. Researchers at Dream Research described a campaign that chained php2shell with a Linux kernel flaw called Fragnesia (CVE-2026-46300) to gain root on firewalls. Application, operating system, network device. Three layers, one automated process.

An abstract visualisation of the race between offensive and defensive AI

Why companies and states lose on tempo

In the traditional defence model there is a human who reads alerts, analyses them and makes a decision. That model worked while the attacker was also human. Today the other side is a script that scans the entire address space in an hour, matches software versions against a vulnerability database and runs an exploit wherever it makes sense.

Compare the numbers. A security team at a mid-sized company has a handful of people and eight hours of work. The rest of the day is monitoring, on-call duty and the hope that nothing happens. The automated attacker works 24 hours a day, does not get tired, does not take lunch and does not miss an alert because a shift just ended.

Then there is scale. In 2026, an average SOC receives thousands of events a day. Manual analysis of all of them is physically impossible. Analysts learn to filter, and filtering means skipping. That is exactly what attackers exploit: they do not need to be undetectable, they only need to be one of ten thousand items in the queue.

The state has an additional problem: legacy systems. McFadden spoke of a “combination of old and new systems”. In practice that means mainframes, applications written twenty years ago, integrations without documentation and software whose vendor stopped supporting it long ago. That cannot be patched in a week. Sometimes it cannot be patched in a year.

And finally the human factor in its simplest form. Phishing, weak passwords, an accidental click. NCSC research shows that most successful breaches still start with a person, not with a bug in code. An automated attacker does not need anyone to click. It will find the flaw on its own.

The thesis: only good AI can stop bad AI

This is the core of the argument. If the attacker uses AI, the defender cannot stay with a pencil and a notepad. This is not about AI being fashionable. It is about the arithmetic of response time.

First, speed. Good AI is the only tool capable of detecting and neutralising an automated attack in fractions of a second, before it spreads. A human does not compete with a machine on speed, just as a human does not compete with it on multiplication.

Second, mutation. Modern malware changes with every execution. Classic signatures stop working. A model that learns behavioural patterns instead of specific files sees anomalies where a rule sees nothing.

Third, scale. Defensive AI analyses enormous volumes of network data and can point to attack vectors a human analyst would never notice, because there is no time to review millions of events.

But there is one large caveat. “Good AI” does not mean “AI that makes every decision alone”. It means “AI that operates within boundaries set by humans”. The human does not leave the loop entirely. The human leaves the operational loop, meaning the manual clicking on every alert. The human enters the supervisory loop: setting policy, approving high-impact actions and auditing the model's decisions.

That distinction is critical, otherwise we swap one risk for another. An unsupervised system that can cut off half the network is as dangerous as the attacker. That is why good defensive AI must be auditable, constrained and predictable. It must keep a decision log and a stop mechanism.

What this means in practice

For a company: asset inventory, consistent patch management with clear deadlines, network segmentation, immutable backups and monitoring that does not rely on rules alone. For a public institution, additionally: a business continuity plan tested in practice rather than on paper, and a clear division of responsibility between the vendor, internal IT and the security team.

For both: the assumption that the breach has already happened. That shifts priorities from “how do we prevent it” to “how do we detect it and how do we contain it”. In the DWP case, that is exactly what worked. Systems were taken offline quickly, before the damage could grow. That is not a failure. That is defence that worked, even if it looked like surrender.

And one more thing that is discussed too rarely. AI does not only help attack and defend. AI generates code, and generated code contains bugs. The more code we write with the help of models, the more vulnerabilities reach production. That is another reason why defence has to be automated: the production of software itself has accelerated.

Conclusions

The DWP attack was not an exception. It was a preview. In a year when disclosed vulnerabilities passed one hundred thousand and exploits appear faster than patches, a defence model built on human shift work is no longer enough.

wp2shell and php2shell show the mechanism: one flaw in a popular tool, a public exploit within hours and thousands of vulnerable installations in reach. The DWP shows the consequence: a state has to take services offline for millions of people because there is no other safe option.

The conclusion is not comfortable, but it is simple. If the attacker uses AI, the defender must use better AI. Not to replace people, but to give them time for the decisions that genuinely require a human. Everything else is a race in which the machine on the other side never stops for coffee.

  • Related Posts

    Your LG TV Was Listening All Along

    LG smart TVs keep listening in standby and scanning your home network, all working as designed. This is not a bug, it is how the product functions, and regulators keep arriving years too late.

    How Palantir’s AI Is Rewriting the Playbook of the War With Iran

    AI in warfare is no longer a sci-fi hypothetical — it’s operating infrastructure. An expert analysis of how Palantir’s platforms are shaping targeting, air defense and maritime operations in the Iran conflict.

    Leave a Reply

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

    You Missed

    The DWP attack and the end of human defence

    The DWP attack and the end of human defence

    Your LG TV Was Listening All Along

    Your LG TV Was Listening All Along

    When the Warning Comes Too Late

    When the Warning Comes Too Late

    How Palantir’s AI Is Rewriting the Playbook of the War With Iran

    How Palantir’s AI Is Rewriting the Playbook of the War With Iran

    Cerebras vs NVIDIA: How Wafer-Scale Engines Are Revolutionizing AI Inference

    Cerebras vs NVIDIA: How Wafer-Scale Engines Are Revolutionizing AI Inference

    AI constitution from Anthropic

    AI constitution from Anthropic