blog

The nginx HTTP/2 flaw is now reported as being used in attacks. Debian has its fix out

If your website runs on nginx and you haven't installed last week's security update, do it this weekend. Singapore's national Cyber Security Agency says the worst of the HTTP/2 flaws I wrote about on 19 November is now being used in attacks.

There's better news too. When I wrote that post, Debian didn't have a fix. It does now.

What's changed

The flaw is CVE-2026-123007, a memory bug in how nginx handles HTTP/2 traffic. Get it wrong and a stranger can crash your web server, and in some setups run their own code on it. I went through the background in the original post, so I won't repeat it all here.

On 26 November Singapore's Cyber Security Agency (CSA) published an alert titled "Active Exploitation of Vulnerability in F5 NGINX". It says CVE-2026-123007 "is reportedly being actively exploited", and that attack code is public. Its advice is to update "immediately".

To be fair to the picture, not everyone has said the same yet. StepSecurity's write-up, with data as of 24 November, said no exploitation had been reported, and that the flaw wasn't on CISA's list of exploited bugs at that point. So the CSA alert is the first official report of attacks I can find, and it does say "reportedly".

I wouldn't wait for a second opinion. The fix has been out for ten days, working attack code is public, and Red Hat's bulletin rates it Critical. That's enough for me.

Where the fixes are now

From nginx.org. Versions 1.30.7 and 1.31.9 are fixed, according to the nginx security advisories page. Anything from 1.9.5 to 1.31.8 is affected.

Ubuntu. Fixed since 19 November, in USN-9159-1. On 24.04 you want 1.24.0-2ubuntu7.20 or later, and on 22.04 1.18.0-6ubuntu14.23 or later. The Ubuntu CVE page lists the rest.

Debian. This is the change since my last post. Debian 13 got DSA-6642-1, with nginx 1.26.3-3+deb13u11. Debian 12 got DLA-4918-1 from the Debian LTS team, with 1.22.1-9+deb12u11. Both are dated 19 November, so if you checked the security tracker early that day, as I did, you'd have seen "vulnerable". Worth looking again.

Red Hat, AlmaLinux and Rocky. Still waiting. Red Hat's bulletin is marked ongoing and says it "is expediting the release of fixes", but I couldn't see a fixed package listed for RHEL 8, 9 or 10. Until there is one, you need the stopgap below.

Does it affect you?

The same as before. If you're on shared hosting or a managed platform, it's your host's job, and it's fair to ask whether they've done it.

If you run your own server, check you've got nginx and whether HTTP/2 is on:

nginx -v
sudo nginx -T | grep -n http2

If you see http2 on; or a listen line with http2 in it, you're in scope. Don't forget Docker. Each nginx container has its own copy, and your server's updates won't touch it.

What to do this weekend

1. Update, then check the version. On Debian or Ubuntu that's:

sudo apt update
sudo apt install --only-upgrade nginx
apt-cache policy nginx

Compare the installed version with the numbers above. Then sudo nginx -t and sudo systemctl reload nginx.

2. Make sure the old workers have gone. A reload leaves old worker processes running until their connections finish, and those still run the old code. ps -o pid,lstart,args -C nginx should show workers that started after your reload. If in doubt, a full restart sorts it.

3. On Red Hat and friends, switch HTTP/2 off for now. This is the mitigation in Red Hat's bulletin. On nginx 1.25 or newer, add http2 off; to each affected server block. On older versions, remove http2 from your listen lines. If you use HTTP/3, the bulletin says to switch that off too, with http3 off; or by removing quic from listen. Test and reload as above.

Browsers drop back to HTTP/1.1. Most visitors won't notice.

4. Rebuild your containers. Pull the updated nginx image, or rebuild yours, and redeploy. An old image sitting on a server is still an old nginx.

5. Keep an eye on the error log. Workers exiting with signal 11 in /var/log/nginx/error.log, when you haven't changed anything, are worth a proper look. If you think someone may already have got in, patching doesn't undo that.

The bigger point

Ten days from fix to an official "being exploited" alert is quick, but it's no longer surprising. Dev Partners wrote last week about how AI can now turn a security patch into an attack, and the gap keeps getting shorter.

The other lesson is a dull one. "Not fixed yet" on a tracker is a snapshot, not a verdict. If you read my first post and parked Debian until later, later is now.

If nginx sits in front of a bespoke app and you're nervous about what an update or switching HTTP/2 off might do, the team at Dev Partners look after existing software and can check it for you.

And if you'd rather someone else watched the trackers and did the reloads, that's what my support retainers are for.