Skip to content
Projects

sfewer-r7/CVE-2026-123007

View on GitHub

About

Proof-of-concept (PoC) scripts for CVE-2026-123007, an integer underflow in NGINX HTTP/2.

Other Projects

How these counts are measured

Measured star growth

in 24h
+2
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

CVE-2026-123007

Overview

This repository contains proof-of-concept (PoC) scripts for CVE-2026-123007. For a technical analysis of the vulnerability, see the Rapid7 blog.

The file NGINX_HTTP2_STANDALONE_REPRODUCTION.md details the reproduction steps.

The file simple-trigger-poc.py is a minimal Python script to trigger the root cause issue.

The file exploit/exploit.py is a PoC exploit script to demonstrate unauthenticated RCE via CVE-2026-123007 against a vulnerable NGINX server running in a Docker container. This PoC is only suitable to demonstrate the given RCE exploitation strategy against a local freshly started Docker container. The PoC will likely fail against a vulnerable NGINX server which has multiple concurrent clients, or which has a "messy" initial heap layout (i.e. a worker process has been running and servicing requests for some time), where available network bandwidth is not sufficient to transfer the large amount of required data in a timely or consistent fashion, or where network proxying is in-place which may alter the exploits use of HTTP/2 frames. The PoC makes no attempt to account for these conditions. Alternative RCE exploitation strategies may be viable, but none are currently known.

Example

The below video shows the PoC exploit achieving unauthenticated RCE against a vulnerable linux/amd64 Docker image running NGINX version 1.31.8.

nginx-http2-rce-720p-8x.gif

Explore related projects

Loading…