
Next.js v16.2.4 Security PoC Collection (CVE-2026-23870, CVE-2026-44575, CVE-2026-44579, CVE-2026-44574, CVE-2026-44578, CVE-2026-44573, CVE-2026-44581, CVE-2026-44580, CVE-2026-44577, CVE-2026-44576, CVE-2026-44582, CVE-2026-44572)
This repository collects reverse-engineered proof-of-concept material for the security issues fixed in Next.js v16.2.5. The root of the repo holds the release-window analysis, and poc/ holds one PoC bundle per advisory.
This collection was reverse-engineered with Neo by ProjectDiscovery. Public workspace: https://neo.projectdiscovery.io/share/d250e203-4313-4be3-b108-837c2f8ea693
All issues covered here are publicly disclosed and patched. The material is intended for defensive research, regression testing, and detection work.
SUMMARY.md - commit-diff analysis for v16.2.4..v16.2.5, including the security-relevant commits that led to this collection.poc/README.md - the full advisory matrix, severity breakdown, hosting-model notes, and the detailed methodology behind the PoCs.poc/<advisory>/ - one directory per GHSA/CVE, usually containing:
README.md - issue write-up and exploit chainvulnerable-code.md - relevant pre-patch source excerptspatch.diff - upstream fix or the closest public patch materialexploit.py and exploit.sh - runnable exploit primitivesexpected-output.txt - reference behaviorvulnerable-app/ - a minimal Next.js app or stub service used for reproductionThis repo covers 12 advisories fixed in the v16.2.4..v16.2.5 release window:
| Directory | Advisory | Severity | Focus |
|---|---|---|---|
poc/CVE-2026-23870_GHSA-8h8q-6873-q5fj/ | CVE-2026-23870 / GHSA-8h8q-6873-q5fj | High | React server-action stream DoS |
poc/CVE-2026-44575_GHSA-267c-6grr-h53f/ | CVE-2026-44575 / GHSA-267c-6grr-h53f | High | App Router prefetch middleware bypass |
poc/CVE-2026-44579_GHSA-mg66-mrh9-m8jx/ | CVE-2026-44579 / GHSA-mg66-mrh9-m8jx | High | next-resume connection exhaustion |
poc/CVE-2026-44574_GHSA-492v-c6pp-mqqv/ | CVE-2026-44574 / GHSA-492v-c6pp-mqqv | High | Dynamic-route and middleware mismatch |
poc/CVE-2026-44578_GHSA-c4j6-fc7j-m34r/ | CVE-2026-44578 / GHSA-c4j6-fc7j-m34r | High | WebSocket upgrade SSRF, self-hosted only |
poc/CVE-2026-44573_GHSA-36qx-fr4f-26g5/ | CVE-2026-44573 / GHSA-36qx-fr4f-26g5 | High | Pages Router i18n data-route bypass |
poc/CVE-2026-44581_GHSA-ffhc-5mcf-pf4q/ | CVE-2026-44581 / GHSA-ffhc-5mcf-pf4q | Moderate | CSP nonce parsing edge case |
poc/CVE-2026-44580_GHSA-gx5p-jg67-6x7h/ | CVE-2026-44580 / GHSA-gx5p-jg67-6x7h | Moderate | next/script XSS |
The detailed severity, CVSS, CWE mapping, and hosting applicability live in poc/README.md.
SUMMARY.md for the release-window analysis.poc/README.md for the full advisory table and attack-surface overview.README.md.Run a single PoC:
TARGET=http://localhost:3000 ./poc/CVE-2026-44574_GHSA-492v-c6pp-mqqv/exploit.sh
Run the whole collection:
TARGET=http://localhost:3000 ./poc/run-all.sh
Most exploits assume a vulnerable Next.js v16.2.4 target. Some directories instead ship a small stub service in vulnerable-app/ when reproducing the bug against a full Next.js install would add too much setup overhead.
next@>=16.2.5 to pick up the upstream fixes.beforeInteractivepoc/CVE-2026-44577_GHSA-h64f-5h5j-jqjh/ | CVE-2026-44577 / GHSA-h64f-5h5j-jqjh | Moderate | Image optimizer decompression bomb, self-hosted only |
poc/CVE-2026-44576_GHSA-wfc6-r584-vfw7/ | CVE-2026-44576 / GHSA-wfc6-r584-vfw7 | Moderate | RSC and HTML cache confusion |
poc/CVE-2026-44582_GHSA-vfv6-92ff-j949/ | CVE-2026-44582 / GHSA-vfv6-92ff-j949 | Low | Weak _rsc cache-busting hash |
poc/CVE-2026-44572_GHSA-3g8h-86w9-wvmq/ | CVE-2026-44572 / GHSA-3g8h-86w9-wvmq | Low | x-nextjs-data redirect cache poisoning |