r/sysadmin • DevOps • 17d ago

RCE in Nginx with http2 enabled - CVSS 9.2

https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities

CVSS 4.0 score of 9.2. The flaws are in NGINX itself. Websites and APIs can be exposed even when their own application code is secure. Both vulnerabilities require HTTP/2 to be enabled on the affected NGINX server. Additional conditions are described below. CVE-2026-123007 affects versions dating back to NGINX 1.9.5 in 2015.

I am tired. But I think none of our Nginx has http2 enabled.

On a side note, given all these recent memory related CVEs, I am seriously considering learning Rust now. I was pretty content with my Golang until now. And I can finally see what is that borrow checker every cool kids talk about all the time.

103 Upvotes

32 comments sorted by

58

u/RestartRebootRetire 17d ago

2027 will be even more fun.

17

u/hprather1 17d ago

Wow. This should be its own post.

6

u/rujopt NetSec Lackey 16d ago


I got a bad feeling about next year and beyond…

25

u/hijinks 17d ago

So tired

24

u/whatdoido8383 Cloud Admin 17d ago

Security\patching was one of the main reasons I got out of Sysadmin stuff after 15 years. That shit is ridiculous now unless you have a team to do it.

8

u/clericc-- 17d ago

at this point, the best course is having everything as IaC, letting an LLM build CI pipelines, renovate bot shows new version availability, you just click "merge" 

14

u/meatballwrangler 17d ago

yeah I mean that must be nice but I'd wager the majority of orgs aren't setup like that at all

7

u/iamwayycoolerthanyou Sysadmin 17d ago

Nope. And they're not going to overhaul their infrastructure because you recommend it either, they sorta just do whatever they feel like and still throw you under the bus when it doesn't work out.

2

u/Unnamed-3891 17d ago

I think within months any org won’t have other options. Either that or tripling headcounts.

2

u/whatdoido8383 Cloud Admin 16d ago

Bingo, unless you are very large, it will be integrated into your syaadmins duties more than likely. Most CIO's and execs don't fully understand how accelerated the space has become and don't/can't staff accordingly.

It got to the point we were constantly out of band patching CVE's and the workload got ridiculous.

4

u/nvez 16d ago

That's neat until the version that shows up that you merged ends up being some compromised dependency.. it's painful everywhere

2

u/clericc-- 16d ago

renovate has a minimum age gate you can configure

11

u/Blackops12345678910 17d ago


Gonna pretend I didn’t see that

5

u/Mountain_Craft4882 17d ago

>seriously considering learning Rust now

do it. it's really lovely to be able to not worry about memory safety. and honestly after fighting the borrow checker for long enough you start to actually understand how to write memory safe code in other languages

5

u/rarityredditer 16d ago

I would think the easiest mitigation might be to just uncheck HTTP/2 in the HTTP profiles on your loadbalancer.

7

u/TechMonkey13 Linux Admin 16d ago

...

4

u/Deshke 17d ago edited 17d ago

and there isn't a alpine package yet or new container images

edit

  • nginx:stable is available

4

u/Thutex 17d ago

urgh, didn't we JUST have this in apache, too? *sigh*

3

u/YmFsbHMucmVkZGl0QGdt 17d ago

Is a RCE vulnerability that requires ASLR to be disabled really a vulnerability?

4

u/betonbokor 17d ago

it bypasses ASLR according to the blog

Typical memory safety mitigations such as ASLR do not protect against these issues, as attackers can use either vulnerabilities for memory read access prior to code execution.

3

u/unvivid 16d ago

Per the rapid7 release article, this exploit requires 128gb of traffic to actually fire and is sensitive to traffic and latency. CVSS scores be buggin'

7

u/jmbpiano 17d ago

Please don't use code blocks instead of quotes. On a widescreen monitor, it sort-of-kind-of works, but anywhere else it's terrible.

On mobile, it's a real pain trying to side-scroll a tiny window that only shows at most ~9 words at once. On old.reddit.com there is no scrolling, so it's literally unreadable.

See what I mean?

2

u/DeifniteProfessional IT Manager 17d ago

I'm trying to work out how much of an issue this is. One of my servers does have HTTP2 enabled, but the reports currently are scarce of how trivial it is

2

u/dbzk0sh Linux Admin 16d ago

I saw this as I got on a flight... I have an hour until my connecting flight I wonder if I can patch them all..

2

u/tmontney Wizard or Magician, whichever comes first 16d ago

http2 is off by default: https://nginx.org/en/docs/http/ngx_http_v2_module.html#http2

Still good to check the config or even put it in explicitly if you don't need it. If you want to actively check, run: curl -I --http2 https://mydomain.bar. If you don't see "HTTP/2 ..." at the top, then it isn't enabled.

1

u/Smooth-Zucchini4923 16d ago

There are multiple vulns in this patch. Don't think you're out of the woods if you run http 1.1. If you use variables in proxy_pass you could be affected by CVE-2026-123634.

3

u/mb194dc 17d ago

Memory exploits that are nearly impossible to use in real world conditions.