How sfewer-r7/cve-2026-123007 works
This repository is a proof-of-concept for triggering and exploiting an NGINX HTTP/2 vulnerability, with a minimal trigger script and a staged exploit for a narrowly profiled local target. The main workflow validates a target and profile, bootstraps the HTTP/2 state, reaches the wrapped-window condition, prepares and reclaims heap state, captures disclosures and forges objects, then dispatches a payload. Profiles and the native bulk sender support that workflow. Edges reflect the runner and shown module references; unsampled details are omitted rather than inferred.
Main entry points: cli.py CLI and Validation · bootstrap.py HTTP/2 Bootstrap · reclaim.py Heap Reclaim and Dispatch · protocol.py HTTP/2 and TLS
Components 17
Entry and Configuration
- Minimal Trigger
simple-trigger-poc.py - Exploit Launcher
exploit/exploit.py - CLI and Validation
exploit/nginx_rce/cli.py - Target Runtime
exploit/nginx_rce/target.py
HTTP/2 Transport
- Bulk Sender Supervisor
exploit/nginx_rce/bulk.py - Native Streamer
exploit/streamer.c - HTTP/2 and TLS
exploit/nginx_rce/protocol.py - Protocol Constants
exploit/nginx_rce/constants.py
Exploit Stages
- Stage Orchestrator
exploit/nginx_rce/runner.py - HTTP/2 Bootstrap
exploit/nginx_rce/bootstrap.py - Disclosure and Forgery
exploit/nginx_rce/memory.py - Heap Reclaim and Dispatch
exploit/nginx_rce/reclaim.py
Profiles and Payload
- Profile Validation
exploit/nginx_rce/profiles.py - Profile Tool
exploit/profiles/profile_tool.py - Profile Data
exploit/profiles
Other components
- Operator
- Vulnerable NGINX
Connections 20
- Operator → Minimal Trigger: runs trigger
README.md - Operator → Exploit Launcher: runs exploit
README.md - Exploit Launcher → CLI and Validation: delegates to
exploit/exploit.py - CLI and Validation → Target Runtime: configures target
exploit/nginx_rce/cli.py - CLI and Validation → Profile Validation: loads profile
exploit/nginx_rce/cli.py - CLI and Validation → Stage Orchestrator: starts run
exploit/nginx_rce/cli.py - Profile Tool → Profile Validation: loads and validates
exploit/profiles/profile_tool.py - Profile Tool → Target Runtime: fingerprints target
exploit/profiles/profile_tool.py - Profile Data → Profile Validation: supplies profile data
exploit/profiles/profile_tool.py - Stage Orchestrator → HTTP/2 Bootstrap: bootstraps
exploit/nginx_rce/runner.py - Stage Orchestrator → Heap Reclaim and Dispatch: runs reclaim stages
exploit/nginx_rce/runner.py - HTTP/2 Bootstrap → Bulk Sender Supervisor: uses sender
exploit/nginx_rce/bootstrap.py - Bulk Sender Supervisor → Native Streamer: launches process
exploit/nginx_rce/bulk.py - HTTP/2 Bootstrap → HTTP/2 and TLS: uses transport
exploit/nginx_rce/bootstrap.py - Heap Reclaim and Dispatch → HTTP/2 and TLS: uses sessions
exploit/nginx_rce/reclaim.py - Heap Reclaim and Dispatch → Disclosure and Forgery: uses memory routines
exploit/nginx_rce/reclaim.py - HTTP/2 Bootstrap → Vulnerable NGINX: sends HTTP/2 traffic
README.md - HTTP/2 and TLS → Vulnerable NGINX: exchanges frames
- Heap Reclaim and Dispatch → Vulnerable NGINX: dispatches payload
README.md - Protocol Constants → HTTP/2 and TLS: defines limits
exploit/nginx_rce/protocol.py