sfewer-r7/CVE-2026-123007
Security & PrivacyPython PoC scripts that trigger and exploit an integer underflow in NGINX HTTP/2 to demonstrate unauthenticated RCE.
Overview
This repository holds proof-of-concept scripts for CVE-2026-123007, an integer underflow in NGINX's HTTP/2 handling that can lead to remote code execution. It separates the work into a minimal trigger of the root cause and a full exploit chain, so the vulnerability can be studied and reproduced step by step. The technical background is published on the Rapid7 blog post.
What's Included
- NGINX_HTTP2_STANDALONE_REPRODUCTION.md documents the standalone reproduction steps.
- simple-trigger-poc.py is a minimal Python script that triggers the underlying issue.
- exploit/exploit.py is a PoC exploit that demonstrates unauthenticated RCE against a vulnerable NGINX server in a Docker container.
- A short video of the exploit succeeding against NGINX 1.31.8 on
linux/amd64is included at nginx-http2-rce-720p-8x.gif.
Getting Started
- Read the reproduction guide in NGINX_HTTP2_STANDALONE_REPRODUCTION.md for environment setup and the exact ordering of steps.
- Start a vulnerable NGINX instance; the exploit targets a freshly started
linux/amd64Docker container running NGINX 1.31.8. - Run simple-trigger-poc.py first to confirm the integer-underflow trigger works against that instance.
- Run the exploit script from the
exploit/directory to attempt the RCE chain.
Constraints
The exploit is written for a local, freshly started Docker container and makes no attempt to handle other situations. It will likely fail when the server has multiple concurrent clients, a messy initial heap layout from a long-running worker process, insufficient network bandwidth for the large data transfer, or an in-between proxy that alters the HTTP/2 frames. Other RCE strategies may exist but none are currently known. No license is declared in the repository, so reuse terms are unclear.
HotRepo's take
The project entered HotRepo's new-project list on 2026-11-18, picking up 100 stars and 39 forks within a roughly 12.5-hour window starting that morning. That is a fast reception for a CVE PoC that requires a controlled local container to work, which fits the pattern of security practitioners grabbing the code to reproduce a high-severity NGINX flaw rather than of a broadly usable tool. The repository keeps the trigger and the exploit separate, which makes it more useful for learning the mechanics than a single opaque script would be.
Written by AI from the project's README, updated . The project's own docs are the source of truth.
You might also like
- eness/php2shell-CVE-2026-109618-CVE-2026-109619-PoCA weaponized PoC for pre-auth PHP core RCE bugs, aimed at defenders verifying exposure and patch urgency.
- ikow/php2shell-pocExploit and detection toolkit for two critical PHP pre-auth RCE bugs affecting nearly every default PHP install.
- forcequitOS/bad_queryProof-of-concept iOS 26/27 sandbox escape that grants developers access to protected app container paths.
- KillaBoi/StealMyBitcoin-PoCA reproducible PHP memory-limit exploit against one CTF challenge, for people learning memory-corruption techniques.
- Gabriel2392/SVE-2026-3546A proof-of-concept exploit that loads unsigned code on Samsung S-LK devices by fusing Secure Boot keys.