Skip to content
RCE Write-up Advanced

NGINX ( HTTP/2 ) – Critical Remote Code Execution Vulnerability (CVE-2026-123007)

An integer underflow in nginx's HTTP/2 flow-control accounting allows a remote, unauthenticated attacker to read and overwrite memory in the worker process, potentially achieving remote code execution. No credentials or user interaction are required.

Team NetSPI Follow

Published on netspi.com

Executive / Critical Vulnerability

Team NetSPI, on netspi.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an integer underflow in HTTP/2 flow-control accounting, as stated in the advisory.

Impact

A remote, unauthenticated attacker could read and overwrite memory in the nginx worker process and potentially achieve remote code execution; no exploitation in the wild has been reported, but researchers have confirmed working unauthenticated remote code execution against affected builds.

What the attacker needed

Nginx with HTTP/2 enabled; network access to the server

The fix

It was fixed in nginx Open Source 1.31.9 (mainline) and 1.30.7 (stable), and in NGINX Plus [redacted] and 37.0.8.1.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a bug in nginx, a popular web server, specifically in how it handles HTTP/2, a newer version of the protocol browsers use to talk to websites. A mistake in counting data sizes lets an attacker send special requests that corrupt the server's memory, which can lead to taking control of the server. Anyone on the internet can try it without logging in.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Team NetSPI

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.