Why the patch gap on your website matters more now
by Stephen Meehan in Statamic, Maintenance Services, Ai
The patch gap is the time between a security fix being published and that fix running where it's needed. Between 17 August and 7 September 2026, I checked public install data for Statamic and found that 26% of installs were still missing a security fix that had been out for over a month.
Those figures come from Packagist, the directory the PHP packages behind a Statamic site are installed from. It counts installs rather than websites, so treat the number as a rough guide. It still shows how a security gap can stay open.
Harold's smile is hiding a lot. What's your Statamic site hiding? Missed updates and known vulnerabilities don't show on the page. My free Statamic health check finds them from your website's address, and regular Statamic maintenance stops them building up.
What is the patch gap?
Mozilla, the organisation behind the Firefox browser, wrote about it on 29 October 2026 in Defending the patch gap against automated attackers. It defines the patch gap as "the window in time between the appearance of a security fix in the code and the full deployment of that code to most users."
The window in time between the appearance of a security fix in the code and the full deployment of that code to most users
A fix is a set of changes to the code, and those changes point straight at the vulnerability. Anyone can compare the old code with the new and work backwards to it. Then they can attack every copy that hasn't been updated yet. This used to take real skill and time, so few attackers bothered.
Why artificial intelligence makes the gap more dangerous
Mozilla says artificial intelligence (AI) models "can now identify software vulnerabilities as effectively as top security researchers". That's good news overall. Firefox has shipped more than seven times as many security fixes since February 2026 as it did in the same months of 2025.
The same tools make working backwards from a fix cheaper. Mozilla has seen evidence that GLM 5.3, a model anyone can download, can exploit some fixes for vulnerabilities found by more advanced models. Its response was to halve its release cycle so updates reach users every week. It also keeps the tests that show each bug private until the fix has shipped.
On a Statamic website, the patch gap belongs to you
Firefox updates itself, so Mozilla can shrink the gap by shipping faster. A website doesn't work that way.
Statamic, Laravel (the framework it's built on) and PHP (the programming language behind both) are all open source. Their fixes are published in public on GitHub, so the clock starts the moment a fix appears. Nothing changes on your site until someone runs composer update, checks that nothing has broken and deploys it. Composer is the tool that installs those packages.
Mozilla also says keeping code secret is "at best a speed bump", because modern tools can rebuild source code from the finished program. Open source isn't the problem. Out-of-date software is.
On your website, the people who make Statamic start the clock. Whoever looks after your site decides when it stops.
Doesn't a dependency cooldown make the gap wider?
Yes, on purpose. I use a dependency cooldown to stop new package releases installing until they're two days old. It guards against a different risk: an attacker publishing a poisoned version of a package you already trust.
The two fit together once someone decides which release is which. Routine releases wait out the cooldown. Security releases get checked and installed straight away. Running composer audit before every update lists any installed package with a known vulnerability, so the urgent ones stand out.
How short should the patch gap be?
The UK government's Cyber Essentials scheme allows 14 days for critical and high-risk security fixes. Mozilla has moved Firefox to weekly releases. With AI making fixes quicker to reverse, I treat 14 days as the outer limit for critical fixes, not the target.
On my website maintenance plans, critical fixes don't wait for the monthly update, whether they're for Statamic, the server or the packages a site uses. I typically apply them within one business day. On Max, high-severity fixes are treated the same way.
Being in the gap isn't the same as being hacked. Most sites that run behind for a while never get attacked. Keeping the gap short means you're not relying on that luck.
If you don't know how long your site's gap is, ask whoever looks after it when the last Statamic security release went on, and how long it took after it was published.
You might also like...
- Every site on my maintenance plans now has the NGINX and PHP fixes
- Patchmageddon and why AI has everyone patching at once
- Every site on my maintenance plans gets the PHP security release this week
- I built Statamic Watchtower to keep up with security releases
- Every site on my maintenance plans gets the NGINX fix this week
- Darkroom 1.4.0 adds favourites and ends the wait between prompts
- Statamic vs WordPress, which suits your business website?
- Do you need the best Statamic agency, or the right developer?
- Plan your Statamic 5 upgrade while it's still supported
- The importance of website maintenance, and what an out-of-date site can cost