Articles · Security
A new security flaw, fixed in under five hours: what I did, and how to check your website
At 1:17 am on Tuesday 17 November 2026, a new security flaw was made public: CVE-2026-129948. By 6:14 am the same morning, it was fixed on everything I run. Here's what it was, what I did, and how to check whether it affects your website.
A new security flaw is made public.
DarkRose pushes the alert. Every site is checked within a minute: clients clear, the portal flagged.
I read the alert.
Fixed, and tested on every client article first.
Locked down, ready for the next one.
What the flaw is
Many websites built by developers keep their pages and articles as plain text files. At the top of each file is a short block of settings, such as the title and the date. A popular tool called gray-matter reads that block, and so does Contentlayer, which is built on it.
The flaw: if the settings block starts with a particular marker, the tool doesn't just read it, it runs it as a program. So anyone who can add or change one of those files can make the computer that reads it run their own code. On the server that builds a website, that usually means they can steal the passwords and keys kept there.
It's rated high, 8.8 out of 10. There's no fixed version of the tool yet, so the fix is up to the people who use it.
How it touched us
None of my clients' websites use this tool, so none of them were affected. The care plan's security watch checked every one of them within a minute of the alert arriving.
My client portal did use it. That's the private, signed-in workspace where clients review their site and edit their articles. To use the flaw, someone would first have had to break into a client's code account and plant a file. Nothing like that had happened, but it was a door I wanted shut straight away.
The timeline
- 1:17 am. The flaw is made public.
- 1:53 am. The alert arrives through our commercial-grade cyber threat and risk intelligence service. Every client website, and my own systems, are checked against it automatically. Client websites: clear. The client portal: affected.
- 6:03 am. I read the alert.
- 6:14 am. Fixed. The portal now refuses any file that tries to run code this way, instead of running it. Before it went live, I tested it against every client article: they all read exactly as before.
- 6:17 am. A second layer. The portal now runs locked down, so if a future flaw like this one ever got through, it couldn't reach anything else.
That's under five hours from the flaw being made public, and 11 minutes from reading the alert. The last step is replacing the tool in the portal with one that can only read settings and never run them. It's being tested properly first, and will go in on a planned date.
Trying to break the fix
A fix is only as good as its testing, so before the new reader goes anywhere near the live portal, I tried to break it. I threw 40 test files at it. 29 of them were attacks or deliberately broken files, each one a different way of trying to get a program into an article's settings block:
- the trick this flaw uses, in every spelling and disguise I could find: different names, capital letters, a stray space, hidden characters in front, and Windows-style line endings;
- files that try to switch on the reader's more dangerous features, the ones that can build a program out of plain settings;
- a "bomb" built to make the reader expand a few short lines into billions of copies until the computer runs out of memory;
- settings blocks five megabytes long, and files broken in ways meant to confuse the reader.
Every one of the 29 attacks failed. The reader refused each file, and a tripwire hidden inside every attack confirmed that none of them ran. The other 11 files were odd but harmless, such as empty files and files saved on Windows, and they read exactly as they did before.
Every one of my clients' articles still reads and saves exactly as before, down to the last character.
Alongside that, I ran another 4,000 randomly made files to ensure that the new system read them with the same accuracy as the old system. I'll give it 48 hours as a sandboxed trial in the real world before this replaces the old system.
Ahead of the attackers
The alert was pushed to me by DarkRose, a cyber threat and risk intelligence system by Riposte that I subscribe to, 36 minutes after the flaw was published. Because of that, the fix was in place before any attack using this flaw had been reported anywhere. When I fixed it, there were no public reports of it being used, and it wasn't on the US Cybersecurity and Infrastructure Security Agency's list of vulnerabilities known to be exploited. That's what a security watch is for: closing the door before anyone tries the handle.
Is your website affected?
Most businesses probably won't be, but if your website was built from code by a developer and keeps its pages or articles as text files, then it would be worth checking, especially if people outside your business can add those files.
To check, ask whoever built or looks after your site these three questions:
- Does our site's build use Contentlayer or gray-matter? They can search the project's package.json and lock file for "contentlayer" and "gray-matter".
- Who can add or change our content files? Only our own trusted people, or others too, such as outside contributors or a content system that writes the files for us?
- Does any content file start with "---js" or "---javascript" instead of a plain "---"? A normal file never needs to.
If the answer to the first question is yes, the safe steps until a fixed version comes out are: only accept content files from people you trust, have your developer turn off the part of the tool that runs code (a few lines of work), and keep passwords and keys off the build server wherever possible.
If you're not sure what your site is built with, ask for a free check and I'll help you find out.
Start with a free check of your current site
I'll look at your website from the outside, the way Google, AI assistants and attackers see it, and tell you in plain English what's working and what isn't. That covers security, search, AI search, and whether the software behind it is still being maintained. There's no obligation.
Rather email? mail@cammccollum.com Send email