A few weeks ago I wrote about php2shell, the pair of PHP remote code execution flaws (CVE-2026-109618 and CVE-2026-109619) that the PHP project disclosed and fixed on 21 October. The details leaked before the fix, and we reproduced a working, unauthenticated remote code execution from them with Quant Sentinel before the fix was published. Public claims that a ready-made exploit tool was circulating before the patch were not confirmed. Five days after the disclosure, on 26 October, CISA added both flaws to its Known Exploited Vulnerabilities catalogue and gave US federal agencies until 29 October, three days, to fix them. At the end of that piece I said the approach to running websites has to change, and that it changes in three ways: defences that move at the speed of the attack, a flatter stack, and static wherever you can. This article is the longer version of that argument, with the numbers behind it, and it is also the start of a series. Over the coming weeks we are publishing a step-by-step guide and a video for each part of the plan, recorded on a real site from start to finish, so that you can follow along on your own.
The numbers
The first number is volume. The National Vulnerability Database recorded 6,449 CVEs in 2016 and 48,150 in 2025, not counting rejected records. By the end of October this year it had recorded 89,844, nearly twice last year’s total with two months still to run.
Every CVE record published to the US National Vulnerability Database, by publication date, not counting rejected records.
2026 counts 1 January to 31 October. Source: NVD CVE API 2.0, counted on 15 November 2026
Show the data
| Period | CVEs |
|---|---|
| 2016 | 6,449 |
| 2017 | 14,642 |
| 2018 | 16,510 |
| 2019 | 17,305 |
| 2020 | 18,322 |
| 2021 | 20,149 |
| 2022 | 25,073 |
| 2023 | 28,816 |
| 2024 | 39,953 |
| 2025 | 48,150 |
| 2026 (partial) | 89,844 |
The rise this year is not spread evenly. Publication has climbed almost every month since January, and NVD published 17,051 CVEs in October alone, which is more than in the whole of 2017 and more than two and a half times the total for 2016.
Every CVE record published to the US National Vulnerability Database, by month of publication, not counting rejected records.
Source: NVD CVE API 2.0, counted on 15 November 2026
Show the data
| Period | CVEs |
|---|---|
| Jan | 4,302 |
| Feb | 4,616 |
| Mar | 6,234 |
| Apr | 5,810 |
| May | 6,936 |
| Jun | 7,942 |
| Jul | 9,770 |
| Aug | 12,255 |
| Sep | 14,928 |
| Oct | 17,051 |
I want to be careful with what this shows. A CVE count measures how many vulnerabilities were found, reported and published, so it moves with the number of people and tools looking, and with how fast the records get processed, as well as with how much vulnerable software exists. More automated discovery is one plausible reason for this curve, and I have not seen a published analysis that settles it, but whatever the cause, each of those records is a disclosure that somebody’s patch process has to deal with.
Most of those CVEs will never touch a given website, and a count on its own says little about risk. The second number says more. Mandiant has measured time to exploit for several years: the average number of days between the release of a patch and the exploitation of the vulnerability in the wild, counted as negative when the exploitation came before the patch, and the line only goes one way. In Mandiant’s analysis of 2023 it was 63 days across 2018 and 2019, 32 days across 2021 and 2022, and five days in 2023. In its M-Trends 2026 report, Mandiant estimates the mean for 2025 at minus seven days, which means that on average the exploitation started a week before there was a patch to apply.
Average days from the release of a patch to the first observed exploitation in the wild. Below zero means exploitation started before the patch was released.
The 2023 average excludes a small number of long-tail outliers. With them included, Mandiant gives 47 days for 2023; the direction of the trend is the same. The 2025 figure is Mandiant's estimate. Sources: Mandiant, Time-to-Exploit Trends 2023 (October 2024); Mandiant, M-Trends 2026 (March 2026)
Show the data
| Period | Days |
|---|---|
| 2018–19 | 63 |
| 2020 | 44 |
| 2021–22 | 32 |
| 2023 | 5 |
| 2025 | -7 |
The 2020 figure runs to the start of 2021. Reports of a 2024 figure exist, but I could not find it in a primary Mandiant publication, so the chart leaves that year out rather than guess at it.
The third number is the one that matters most to anyone who runs a site, because it compares the attacker’s clock with the defender’s. Verizon’s 2025 Data Breach Investigations Report looked at vulnerabilities in CISA’s Known Exploited Vulnerabilities catalogue, and it counts the time to mass exploitation from a CVE’s publication to the day CISA adds it to the catalogue. Verizon calls this an upper bound, because a vulnerability that reaches that list is likely to have been causing damage already. For a sample of 17 vulnerabilities in edge devices such as VPNs and firewalls, the median time to mass exploitation was zero days, and the median time for organisations to fully remediate them was 32 days, with only about 54% of them fully remediated during the year. Across the catalogue, the medians were five days to mass exploitation (for CVEs from 2022 onwards) and 38 days to full remediation.
Median days, for vulnerabilities in CISA's Known Exploited Vulnerabilities catalogue. Mass exploitation counts from the CVE's publication to its listing in the catalogue; full remediation is the time an organisation took to fully remediate it.
Source: Verizon 2025 Data Breach Investigations Report, pages 29 to 31
Show the data
| Mass exploitation | Full remediation | |
|---|---|---|
| Edge devices (sample of 17) | 0 | 32 |
| All catalogued | 5 | 38 |
A month of exposure on a typical exploited vulnerability is the normal case, and that is for organisations whose patch work is measured at all. CISA added 282 vulnerabilities to that catalogue in the first ten months of this year, up from 214 in the same months of 2025, 1 Counted by date added, January to October of each year, from the catalogue’s JSON feed, version 2026.11.10 (released 10 November 2026). so the month of exposure is not a rare event that a team can plan around one incident at a time.
What AI changed, and what it did not
It would be easy to blame all of this on AI, and it would also be wrong. Mandiant is careful on this point. It does not consider 2025 to be the year in which breaches were the direct result of AI, and it says that the vast majority of the intrusions it investigated still came from fundamental human and systemic failures. I agree with that, and I think it is the most useful thing in the report, because it tells you where to spend the effort.
What AI has changed is the cost of the attacker’s work. Finding a bug, turning a patch diff into an exploit and writing the scanner that finds every exposed copy used to need skilled people and time. Each of those steps is now cheaper. Google’s Big Sleep agent has found real vulnerabilities in widely used software, and in July 2025 Google said that, working from its threat intelligence, the agent had found an SQLite flaw (CVE-2025-6965) that was known only to threat actors and was at risk of being exploited. In php2shell, the details leaked before the patch, and we reproduced a working exploit from them with Quant Sentinel before the fix shipped. Public claims of a ready-made tool at that time were not confirmed.
The guardrails on hosted models do not slow this down much. In 2024, a team of researchers showed that the refusal behaviour of 13 open chat models is controlled by a single direction inside the model, and that removing that direction stops the model refusing harmful requests with little loss of its other abilities. 2 Arditi et al., Refusal in Language Models Is Mediated by a Single Direction, NeurIPS 2024. The technique is often called abliteration, and abliterated copies of capable open-weight models are published for anyone to download and run on their own hardware, so an attacker who wants a model that will write an exploit can run one of those instead of talking a hosted model into it.
This leaves the defender with the same fundamentals as before and much less time to apply them, because the attacker’s side of the timeline has been automated and the defender’s side mostly has not.
The patch is only the first wait
When a critical flaw is disclosed, the advisory starts a chain of waits, and the attacker’s exploit works through all of them. Only the first wait belongs to the vendor. The rest belong to the people who package the fix and to you.
- Day 0
Day 0, Threat
The advisory
The flaw is public, the patch diff often is too, and scanners start looking for exposed copies.
- Wait 1
Wait 1, Impact
The upstream fix
The maintainers of the runtime, library or CMS ship a fixed release. Sometimes this comes after the disclosure, not with it.
- Wait 2
Wait 2, Impact
The packages and images
Linux distributions rebuild their packages, language package registries publish the new version, and the official container base images are rebuilt on top of both. Each is its own queue.
- Wait 3
Wait 3, Response
Your builds
Every site that uses the fixed component goes through its own CI pipeline: dependency update, build, tests and image push.
- Wait 4
Wait 4, Response
Your deployments
Each build rolls out to each environment, with its own approvals, health checks and change windows.
- Done
Done, Resolved
The last site patched
Only now is the platform closed. Until then, every site still waiting in the queue is exposed.
The third and fourth waits are the ones teams underestimate, and they grow with the size of the platform. A large platform that hosts many CMS sites cannot patch them all at once, because every site goes through its own update, build, test and deploy pipeline, and the CI service can only run so many of those jobs at the same time. Even when each pipeline takes only a few minutes, working through the whole queue can take hours, and that is on a day when no build fails, no runner queue is shared with other teams and no deployment needs a person to approve it. Every one of those sites is exposed for as long as it waits for its turn.
An interim mitigation, such as a WAF rule, can cover some of that gap, but only if the trigger is well understood and the rule cannot be bypassed. Many teams end up taking sites offline until the rebuild reaches them, which keeps them safe and also keeps them down until then.
Now picture the same disclosure for a site that serves static files to the public. A flaw like php2shell is in the runtime that renders pages, and on a static site that runtime is not on the public path. Nothing that an anonymous visitor can send reaches the runtime, so there is nothing to mitigate in a hurry. The CMS that builds the pages still needs the patch, but it can sit behind a login, an IP allow list or a VPN where an anonymous scanner cannot reach it, and the team can patch it in the morning.
The plan
The plan has three parts, and they apply in this order, because each one shrinks the work for the next.
1. Remove what can be removed
Most public websites do not need to run code when someone reads them. A news article, a service page, a policy document and a search results page are the same for every visitor, and a static copy of each one is enough. When Quant answers a request from static content, no application code runs, so a PHP or Node.js vulnerability cannot be reached through that request.
This does not mean leaving Drupal or WordPress. Both have a Quant integration that publishes every change to the static edge as the editor saves it, so the editors keep the CMS they know and the public never touches it. Site search and forms are the two features that usually keep a site dynamic, and both have static replacements: Quant Search for listings and search pages, and Quant Forms for submissions. The Drupal module connects both, and can send each Webform’s submissions to Quant Forms once the form is opted in. The WordPress plugin connects search, with search records sent on every push and search pages built for you. If a site can leave its CMS entirely, Quant Studio builds it as a static site from the start.
For a site that cannot go static yet, the crawler can keep a static copy of it on the edge. A static copy is not the same as going static. It does give you a copy of the public site to serve while the origin is switched off.
2. Put the edge in front of what remains
Some things have to stay dynamic: the CMS itself, an application with logins, an API. For those, the edge is the place to put the controls, because a rule at the edge applies to every request before it reaches the application, and it can change in seconds without a deployment.
- Keep the origin off the internet, so that nobody can go around the edge to reach it, and keep the editorial host behind a login, an IP allow list or a VPN.
- Put a second lock on the admin areas. A password rule or an authentication edge function in front of the admin paths means an attacker has to get past the edge before the CMS login page even loads. On Drupal, cover
/admin,/admin/*,/user/*and/index.php/*, because Drupal also answers under/index.php/. On WordPress, cover/wp-admin,/wp-admin/*,/wp-login.php,/wp-login.php/*,/xmlrpc.phpand/xmlrpc.php/*, because the web server also runs those files for a path with more after the file name. A password on/wp-admin/*also covers/wp-admin/admin-ajax.php, which some themes and plugins call for every visitor, so test the public site after the change. A*needs at least one character, so/admin/*does not cover/adminand each list has both. - Use the WAF on the paths that run code. The WAF inspects proxied requests, which are the ones that reach an application. Start each rule in report mode, read what it would have blocked, then switch it to block. Static content does not need it, because there is nothing behind a static file for a malicious request to reach.
- Rate-limit and challenge the traffic that does not need to be there: login endpoints, search and form posts, and traffic from hosting providers and anonymising networks, with a bot challenge scoped to those sources so that ordinary visitors never see it.
- Send the right security headers, and lock down the scripts the browser runs. The dashboard grades a site’s headers, and an enforced
Content-Security-Policyheader is what moves a site above a B. ScriptAttest builds that policy from the scripts the site really loads.
DDoS mitigation sits underneath all of this as part of the platform, and a static site absorbs a flood far better than an application that renders every request.
3. Test the rest the way an attacker does
What is left after the first two steps is the part of the application that has to be public and has to run code. That part needs testing as often as the attacker works on it, which is far more often than once a year. Quant Sentinel is our AI penetration tester. It runs a team of specialised agents through scoping, reconnaissance, vulnerability analysis and exploitation, and it only reports a finding as exploited when it has machine-checkable proof from the target’s own response, so every exploited finding in the report comes with its evidence. The safe-mode assessment of the demo site in this series, which finds and reports flaws without trying to exploit them, took 43 minutes. Sentinel can also run in a CI pipeline and export its findings as SARIF, and between full assessments a scheduled check replays the regression tests from the last run without any AI model calls.
The series
Each part of the plan gets a guide on the documentation site and a video that shows every step on a real site, from a fresh account to the finished result. The first ones are:
| Episode | What it covers |
|---|---|
| From Drupal site to secured | The Quant module, the first sync, search pages instead of Views, Webforms on Quant Forms, then the domain on Quant and Drupal kept on an editorial host behind a login |
| From WordPress site to secured | The same plan for WordPress, from the plugin’s “Login to Quant” to the first push and a Quant Search page |
| Modernise a stuck site with Quant Studio | Moving a stuck, legacy or CMS-less site to Quant Studio, and modernising it on the way |
| When you cannot go static yet | A static copy of the site made by the crawler, failover to that copy when the origin is down, and optional search and forms on the copy |
| The break-glass runbook | Cutting the public site off from its origin on the next php2shell |
| A second lock on the admin areas | Password rules, authentication functions and IP allow lists |
| The WAF, from report to block | The WAF in report mode, then block mode, with rate limits, on the proxy rule that reaches the CMS |
| Headers and content security policy | The header grade, and ScriptAttest |
| Find it before they do | A Sentinel assessment of the demo site |
You can start on the first part today. The security section of the documentation covers the WAF, security headers, access controls and traffic controls. We will link each episode in the table when its article and film are published, and each article links its guide.
About QuantCDN
Quant is a global static edge: static web hosting on a CDN, with a WAF for the requests that are proxied to an application. We make Drupal and WordPress static, support the popular static site generators, and serve static sites from whatever source a team already works in. For the parts that have to stay dynamic, Quant Cloud runs applications from your own container images behind the same edge, and Quant Sentinel tests them the way an attacker would. Create an account to follow the guides on your own site.
Share