A security research repository documenting our process of reproducing **CVE-2026-123007**
(“nginx2root” HTTP/2 RCE) in an isolated testing environment, including:
- Why RCE is possible even on CPUs with **only AVX and no AVX-512**—the key lies in the memory access geometry of the target
- How to profile an **unprofiled nginx version (1.31.7)**: recovering the nginx image pointer delta from a
- Positive/negative controls (AVX/YMM success vs. SSE failure);
- Measured traffic, duration, and interference characteristics;
- Reusable tools: memcpy access control, HTTP/2 fingerprint detection, binary delta scanning, function signature
> This repository is **intended solely for authorized experimental research**. See [DISCLAIMER.md](DISCLAIMER.md).
| Target | nginx | libc | memcpy Path | Result |
| Official image + official profile | 1.31.8 | glibc 2.41 (Debian 13) | AVX/YMM (`0x162880`) | **RCE**, marker UID 101 |
| Official image + local profile | 1.31.7 | Same | AVX/YMM (`0x162880`) | **RCE**, marker UID 101 |
| Official image + no tunable | 1.31.8 | Same | SSE/XMM (`0xadd00`) | Second leak attempt failed |
- Single successful attempt: **approximately 119 GiB of inbound TLS traffic**; test VM (8 vCPUs) took approximately 350 seconds,
- The exploit is highly sensitive to heap layout and worker timing: requires a “fresh, quiet” target; concurrent requests may
docs/en, docs/zh-CN Background, memcpy geometry, version profiling, traffic and interference analysis
tools/ memcpy access control, HTTP/2 detection, delta scanning, function signature matching, profile generation
profiles/ Locally calibrated nginx 1.31.7 profile (hashes/calibration values only)
scripts/ De-identified templates for experiment initiation, execution, and evidence collection
evidence/ De-identified excerpts from our run logs
## Quick Start (Authorized Lab Environments Only)
1. Prepare an x86-64 Linux host and boot a fixed-version Nginx image configured according to Rapid7 lab specifications,
then inject the glibc tunable that selects AVX/YMM `memcpy`:
export GLIBC_TUNABLES='glibc.cpu.hwcaps=AVX_Fast_Unaligned_Load'
2. Verify the `memcpy` offset inside the target container:
cc -O2 -Wall -o memcpy_gate tools/memcpy_gate.c -ldl
# AVX/YMM: 0x162880 EVEX/YMM: 0x1727c0 SSE: 0xadd00
3. Obtain the publicly available Rapid7 PoC (this repository does not redistribute it), build the client, and make one attempt against a **recently restarted**
target. See [docs/zh-CN/03-calibration.md](docs/zh-CN/03-calibration.md)
and [scripts/run_attempt.sh](scripts/run_attempt.sh).
If the target libc matches a known backend (same glibc/layout), similar Nginx builds typically
only require remapping the Nginx image pointer deltas:
python3 tools/scan_nginx_deltas.py --profile
python3 tools/match_nginx_functions.py \
--deltas ... --out profiles/local-nginx-.json
Example (1.31.8 → 1.31.7): The delta changes from
`send_chain +139856 / resolver -310400 / destroy_pool -398896` to
`+139984 / -310784 / -399344`; the heap and transport parameters just need to remain consistent for the process to succeed.
- [Overview](docs/zh-CN/01-overview.md) · [English](docs/en/01-overview.md)
- [memcpy Geometry](docs/zh-CN/02-memcpy-geometry.md) · [English](docs/en/02-memcpy-geometry.md)
- [Version Calibration](docs/zh-CN/03-calibration.md) · [English](docs/en/03-calibration.md)
- [Traffic and Interference](docs/zh-CN/04-traffic-and-interference.md) · [English](docs/en/04-traffic-and-interference.md)
- Xint nginx2root disclosure site:
- Xint Technical Analysis:
- Rapid7 Public PoC:
- NGINX 1.31.9 Fix:
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
