r/programming • • 8d ago

Unauthenticated Remote Code Execution in NGINX: CVE-2026-123633 and CVE-2026-123007

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

120 comments sorted by

View all comments

7

u/tophatstuff 8d ago

Hot take, but the only people who should enable HTTP/2+ on public-facing endpoints are CDN operators. Everyone else, turn it off.

This is an engineering decision that has let me skip several would-be emergencies and keeps paying off.

7

u/agentoutlier 8d ago

Many disagree:  https://http1mustdie.com/

Now with AI desync attacks could be more possible.

5

u/elmuerte 8d ago

And all the HTTP2 and HTTP3 implementations have plenty of bugs in the payload processing allowing, amongst others: request smuggling.

So yeah, HTTP1 implementations often screw up dividing header and body. But the new protocol implementations are not much safer yet. In fact, due to the complexity of multiplexing, I wouldn't be surprised that more attack vectors will show up.

3

u/agentoutlier 7d ago

Despite my comment appearing that I’m against 1.1 I am not. Just playing devils advocate.

HTTP/2 end to end is quite difficult to get right and often requires mTLS in some settings which is its own headache.

-2

u/bwainfweeze 8d ago

Agreed, with notes. The cost benefit of HTTP/2 and 3 is largely proportional to the speed of light delay between the source and the sink. Using the grug brained implementation behind the ingress is worth entertaining at least.

Where that gets a little weird again is fanout. Or more precisely, recursion depth because the cost of fanout is approximate to the slowest response rather than the sum. Depth is sequential.

4

u/Hottage 7d ago

I read this like it was Geordi LaForge giving a techno babble explanation of why the Enterprise is stuck in a time loop.