Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-123007 — Scans nginx hosts for CVE-2026-123007 (HTTP/2 flow-control integer underflow) via passive version/SETTINGS fingerprinting and a non-destructive oracle probe. | Kitploit
Tools/GitHubGitHub/0xnrg/cve-2026-123007
ReconnaissanceVulnerability ScannersWeb Vulnerability ScannersExploitationInformation GatheringNetwork SecurityPenetration TestingFingerprint Spoofing
GitHub0xnrg/cve-2026-123007

CVE-2026-123007

Scans nginx hosts for CVE-2026-123007 (HTTP/2 flow-control integer underflow) via passive version/SETTINGS fingerprinting and a non-destructive oracle probe.

1 day agoNot yet reviewed
Share
View Repository

nginx2root-scanner

Vulnerability scanner for CVE-2026-123007 — a critical unauthenticated RCE in nginx via an HTTP/2 integer underflow (flow-control overcredit).

Written by 0xNRG


About CVE-2026-123007

nginx's HTTP/2 implementation incorrectly handles flow-control credit when streams are reset via a SETTINGS overflow. The cleanup path returns pending DATA credit to the connection window without enforcing the 31-bit HTTP/2 maximum, leaving the unsigned window above 0x7FFFFFFF. A subsequent WINDOW_UPDATE bounds check evaluates MAX - current with unsigned arithmetic, underflows, and accepts roughly 2³³ additional increments. With enough iterations the connection window wraps through its signed midpoint, nginx constructs an inverted output buffer and passes a negative size_t to memcpy, exposing heap and libc memory and enabling unauthenticated RCE.

Affected: nginx 1.9.5 – 1.31.8 (all builds). Confirmed exploitable: 1.31.6, 1.31.8.
Fixed: nginx 1.31.9 (mainline) and 1.30.7 (stable), released 18 November 2026.
Prerequisite: http2 on; must be active on the listener.


What this scanner does

Two modes, both non-destructive:

Fingerprint mode (default)

Passive checks only — no server state is modified.

CheckWhat it detects
HTTPS + TLS 1.3Target is reachable
HTTP/2 ALPNh2 negotiated — exploit prerequisite
Server: headernginx version via HTTP/1.1 HEAD request
HTTP/2 SETTINGSExact match against known-vulnerable profiles

Returns VULNERABLE_CONFIRMED on exact version + SETTINGS match, LIKELY_VULNERABLE on version range match, NOT_VULNERABLE when HTTP/2 is absent.

Oracle probe mode (--probe)

Triggers the actual flow-control accounting error and verifies it via two independent network-observable oracles, then stops immediately. The crash-amplification stage is never started — the target's nginx workers are unharmed.

Oracle 1 — streams 149 and 151 must be reset with FLOW_CONTROL_ERROR and the Range response body must match.
Oracle 2 — a PING ACK must be received on the now-overcredited connection, proving the underflowed guard accepted a second MAX increment.


Requirements

Fingerprint mode — any OS, Python 3.8+, no extra packages.

Oracle probe mode — Linux x86-64, 64-bit CPython 3.10, OpenSSL 3 runtime (libssl.so.3).

# Verify probe prerequisites
python3.10 -c "
import ctypes, ssl, sys
print('cpython:', sys.implementation.name == 'cpython')
print('3.10:   ', sys.version_info[:2] == (3, 10))
print('64-bit: ', ctypes.sizeof(ctypes.c_void_p) == 8)
print('ossl3:  ', ssl.OPENSSL_VERSION_INFO[0] == 3, ssl.OPENSSL_VERSION)
"

Usage

# Single target
python3 nginx2root-scanner.py <target>

# With full URL or custom port
python3 nginx2root-scanner.py https://10.0.0.5:8443/

# Bulk scan from file (one host per line, # comments ignored)
python3 nginx2root-scanner.py --file hosts.txt

# Scan multiple ports per host
python3 nginx2root-scanner.py --file hosts.txt --ports 443,8443,4443

# Control parallelism and timeout (defaults: 50 workers, 3s)
python3 nginx2root-scanner.py --file hosts.txt --workers 100 --timeout 5

# Machine-readable JSON output
python3 nginx2root-scanner.py 10.0.0.5 --json

# Oracle probe — confirms vulnerability without crashing the target
# (Linux + CPython 3.10 + OpenSSL 3 required)
python3.10 nginx2root-scanner.py 10.0.0.5 --probe

Flags

FlagDefaultDescription
target—Single target: URL, IP, or FQDN
--file, -f—File with one target per line
--ports443Comma-separated HTTPS ports to try per host
--workers50Parallel workers (bulk mode)
--timeout3Per-connection timeout in seconds
--probeoffRun non-destructive oracle probe
--jsonoffJSON output instead of human-readable

Exit codes: 0 = not vulnerable / inconclusive · 1 = vulnerable · 2 = error


Example output

Vulnerable target (fingerprint match):

  CVE-2026-123007 — nginx2root scanner
  Written by 0xNRG
  Target : 127.0.0.1:19443
────────────────────────────────────────────────────────────────
  HTTPS reachable    : yes
  HTTP/2 (h2 ALPN)   : yes
  Server header      : nginx/1.31.8
  HTTP/2 SETTINGS    : [3,128], [4,65536], [5,16777215], [9,1]
  Profile match      : nginx/1.31.8
────────────────────────────────────────────────────────────────
  · HTTP/2 negotiated via ALPN h2
  · Server header 'nginx/1.31.8' and HTTP/2 SETTINGS exactly match
    validated vulnerable profile 'nginx/1.31.8'
────────────────────────────────────────────────────────────────
  [!!!] VULNERABLE  (confidence: high)

Not vulnerable (HTTP/2 disabled):

  CVE-2026-123007 — nginx2root scanner
  Written by 0xNRG
  Target : example.com:443
────────────────────────────────────────────────────────────────
  HTTPS reachable    : yes
  HTTP/2 (h2 ALPN)   : no
  Server header      : nginx/1.31.8
  HTTP/2 SETTINGS    : —
  Profile match      : none
────────────────────────────────────────────────────────────────
  · HTTP/2 not negotiated — prerequisite for CVE-2026-123007 is absent
────────────────────────────────────────────────────────────────
  [OK]  NOT VULNERABLE  (confidence: high)

Oracle probe confirmed:

  Oracle probe       : CONFIRMED VULNERABLE
    · TLS connected: TLSv1.3 ALPN=h2
    · Trigger flight assembled (7 MiB + 262 144 KeyUpdates); sending…
    · Oracle 1 PASSED — streams 149/151 reset FLOW_CONTROL_ERROR;
      10-byte Range release matches public body prefix
    · Oracle 2 PASSED — PING ACK received on overcredited connection
      (underflowed WINDOW_UPDATE guard accepted additional MAX increment)
    · VULNERABILITY CONFIRMED: cleanup overcredit observable on this target

Bulk scan example output

────────────────────────────────────────────────────────────────
  SUMMARY
────────────────────────────────────────────────────────────────
  Hosts scanned          : 523
  Ports per host         : 3  (443, 8443, 4443)
  Total probes           : 1569
  Workers / timeout      : 50 / 3.0s
────────────────────────────────────────────────────────────────
  [OK]  NOT VULNERABLE       12
  [?]   INCONCLUSIVE         1
  [!]   ERROR                1556
────────────────────────────────────────────────────────────────
  Servers detected:
    nginx/1.31.8                             10
    Kestrel                                   2
    Microsoft-IIS/10.0                        1
────────────────────────────────────────────────────────────────
  HTTP/2 enabled (require manual review):
    · example.com:443
────────────────────────────────────────────────────────────────

Mitigation

  • Patch: upgrade to nginx 1.31.9 (mainline) or 1.30.7 (stable) and restart workers.
  • Interim: disable HTTP/2 by removing http2 on; from your nginx config.

Disclaimer

This tool is intended for authorized security testing of systems you own or have explicit written permission to test. Do not use against systems without authorization.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    371
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    336
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    322

Explore all tools

Browse our collection of tools

View all tools →