nginx2root: free patched nginx for Debian 9 to 13 (and soon 8 and CentOS 7) while the official updates are missing
Disclosure: I'm the founder of Hosted Power, a Belgian hosting company. The packages are free and open source. Originally published on our blog. On 18 November 2026, Xint published nginx2root: five vulnerabilities in ng
Disclosure: I'm the founder of Hosted Power, a Belgian hosting company. The packages are free and open source. Originally published on our blog.
On 18 November 2026, Xint published nginx2root: five vulnerabilities in nginx (CVE-2026-123007, CVE-2026-123633, CVE-2026-123634, CVE-2026-113425 and CVE-2026-121810 for HTTP/3), plus a Linux kernel bug that turns them into root. The worst one hits every nginx with HTTP/2 enabled, in every release since 2015.
nginx shipped 1.30.7 and 1.31.9. But most servers run their distribution's nginx package, not nginx.org builds:
- Debian 12 and 13: the Debian security tracker still lists nginx as vulnerable; the fix is only in unstable (1.30.6-4).
- Debian 9, 10 and 11: no free security updates at all any more.
- CentOS 7: end of life, EPEL nginx 1.20.1 frozen.
That leaves admins with three bad options: turn off HTTP/2 (which only blocks two of the five routes), build nginx by hand and leave the distro update path, or wait.
What we built
We backported the fixes into Debian's own nginx source package, so the result is identical to the system package in every other way: same package names, modules, configuration paths, build options and dynamic-module ABI.
| Debian | Base package | Hotfix package |
|---|---|---|
| 9 Stretch | 1.10.3-1+deb9u10 |
1.10.3-1+deb9u10.1~hp1 |
| 10 Buster | 1.14.2-2+deb10u9 |
1.14.2-2+deb10u9.1~hp1 |
| 11 Bullseye | 1.18.0-6.1+deb11u9 |
1.18.0-6.1+deb11u9.1~hp1 |
| 12 Bookworm | 1.22.1-9+deb12u10 |
1.22.1-9+deb12u10.1~hp1 |
| 13 Trixie | 1.26.3-3+deb13u10 |
1.26.3-3+deb13u10.1~hp1 |
- 12/13 carry the patches from Debian's own fixed 1.30.6-4.
- 9–11 are built on Freexian's current ELTS sources, with small, checked context adaptations.
- Debian 8 and CentOS 7 (RPM) are being added to the repo.
Made to step aside
The version numbers sit just above the vulnerable package and just below Debian's next update:
1.22.1-9+deb12u10 < 1.22.1-9+deb12u10.1~hp1 < 1.22.1-9+deb12u10.1
No pins, holds, epochs or renamed packages: the moment Debian publishes its fix, a normal apt upgrade (or unattended-upgrades) replaces ours.
Verifiable
Builds are reproducible in clean debian:N containers from pinned, hash-checked Debian sources. Every package is tested by upgrading a stock install, running nginx -t and serving a live HTTP/2 request. The installer only upgrades the nginx packages already on the host and checks the config before and after.
sha256sum -c SHA256SUMS
tar -xJf nginx2root-patches-v1.1.0-debian12-amd64.tar.xz
cd nginx2root-patches-v1.1.0-debian12-amd64
sha256sum -c SHA256SUMS
sudo ./install.sh
Code, patches and releases: https://github.com/HOSTED-POWER/nginx2root-patches
Please review before deploying, restart (not reload) nginx afterwards, and install Debian's official update as soon as it lands. Feedback and issues are very welcome.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.