Incident Report: NginX2Root Vulnerabilities
↓ Conclusions ↓
On Monday 23rd November 2026, it was brought to my attention that the NginX web server we use has security vulnerabilities. As a precaution, I immediately shut down the service while I investigated.
The vulnerabilities, known as "nginx2root", are reported in detail in an online technical article. The gist of the issue is as follows.
- The processing of certain types of HTTP/2 requests can result in the vulnerable versions of NginX behaving incorrectly.
- That incorrect behaviour, under certain conditions, could be exploited in order to gain unauthorised access to the server machine.
- The unauthorised access could be with full administrator (root) permissions, which means access to any data regardless of file system permissions. This in turn means that data could be stolen and malicious damage could be done.
Findings from Investigations
Vulnerable versions: 1.9.5 — 1.31.9
Our version on 23-Nov-2026: 1.26.3-3+deb13u10
Vulnerability numbers:
Findings…
-
The NginX we were using was built with the
HTTP2module and is therefore potentially vulnerable, though this depends on our configuration. - HTTP/2 processing is/was not enabled in our configuration.
- Our NginX server does not accept HTTP/2 requests.
- Logs indicate that all HTTP/2 requests were responded to with status code 400 "bad request". This means that those requests were not processed and therefore the vulnerability could not have been triggered. There had been 75 such requests at the time of writing.
Changes Made
Monday 23rd November 2026
- HTTP/2 and HTTP/3 were made explicitly disabled in our NginX configuration.
- Additional diagnostic logging was added to our NginX configuration, so we can monitor for suspicious activity.
Tuesday 24th November 2026
-
The NginX package was upgraded to version
1.26.3-3+deb13u11, which became available. This version is patched against the vulnerabilities.
Conclusions
- The NginX version we were using had the vulnerabilities, but has now been upgraded to a version that has had the patches back-ported.
- Mitigations are in place so we're not vulnerable, should it become necessary to downgrade again.
- There is no evidence that any of the "nginx2root" vulnerabilities were ever exploited on our server.
— Kevin Machin, 25-Nov-2026.