Fingerprint Next.js and React Server Components stacks for the Flight deserialization fix in CVE-2026-126187, read-only, with honest unknown-version verdicts.
findings.jsonl: one row per target — verdict (version_in_range / transport_fixed / rsc_detected_version_unknown / inconclusive / error / not_product), detected Next version, fingerprint evidence, CVSS 9.5, dependency-tree remediation, and the note that GHSA-673q-mjm6-r5xr is a separate advisory. summary.jsonl: verdict counts and target lists. Unknown-version rows are never clean.
React RSC Flight Check — CVE-2026-126187
Stack and version fingerprint for React Server Components transport packages (react-server-dom-webpack/-turbopack/-parcel, typically reached via Next.js), scoring exposure to CVE-2026-126187 / GHSA-xqc2-xf4c-x3h3 (Flight deserialization RCE, CVSS v4.0 9.5, not KEV, no confirmed wild exploitation but public PoC + lab exist). Read-only GET fingerprinting only — no forged Flight rows, no Server Action invocations, no POSTs; safe exploit-level detection from outside is impossible because the trigger depends on the app's own code shape. Using Next.js is NOT the same as being vulnerable: the precondition is a rare app shape, so the wording stays calibrated. React advisory
Stack Probe — how it works
One homepage GET: detects a Next.js App Router / RSC stack via /_next/ asset paths, self.__next_f flight-stream chunks, x-nextjs-* headers and __NEXT_DATA__/react-server-dom markers. Version comes from X-Powered-By or served HTML when present. Next 16.0.0-16.4.0 = version_in_range (potentially affected — verify dependencies); Next >= 16.4.1 or >= 15.5.28 = transport_fixed (still verify the react-server-dom-* version directly); no version = rsc_detected_version_unknown, the default, pointing at the dependency-tree check. The definitive test is npm audit / lockfile review, not the network.
Target List
A FILE of app URLs, one per line. The workflow fails closed when the input is missing or empty.
Overview
This workflow fingerprints React Server Components stacks for the Flight deserialization fix in CVE-2026-126187. The RSC transport can corrupt its stream framing when a response carries multiple typed-array views over one shared buffer, and corrupted framing lets forged protocol rows invoke a real Server Action with attacker-chosen arguments. The important honesty for this bug: it is not a universal Next.js RCE. The trigger needs an application whose own code shape meets a narrow precondition, which most apps do not, and no exploitation was reported at disclosure. So the workflow stays a stack and version fingerprint: it reads the public pages of each target, detects the Next.js App Router and RSC markers, and compares any visible version against the fixed releases. Each target comes back with a verdict you can feed into exposure management.
Pipeline
Read the target list and GET each site's public pages. No POST bodies are sent at any point.
Detect the stack: Next.js asset paths, Flight stream chunks in the served HTML, Next.js response headers, and framework markers.
Extract any visible Next.js version from the served HTML and static assets, and note whether the transport fix ships in that build.
Classify: a Next.js build inside the affected range is version_in_range, a build carrying the transport fix is transport_fixed, and a detected stack with no readable version stays unknown.
Reconcile one verdict per target and write findings plus summary counts.
Inputs
Target list. URLs of web applications you are authorized to fingerprint. The default file ships a sample fleet list; bind your own.
Outputs
findings.jsonl. One row per target: URL, detected stack markers, the Next.js version found and where it came from, verdict, severity, and evidence.
summary.jsonl. One line with verdict counts and the sorted target lists per verdict.
Integrations
HTTP. Read-only GET requests of public pages, one request set per host, nothing submitted.
Sample output
The records below are illustrative and do not come from a real run. They show a stack inside the affected range, one carrying the fix, and one where the version could not be read.
Does version_in_range mean the app is exploitable?
No. The deserialization trigger needs the application itself to cache a function that returns multiple typed arrays over one shared buffer, plus an attacker-influenced value reaching a Server Action path. Most applications do not meet that shape, which is why the advisory scores attack requirements as present. Treat the verdict as patch priority, not proof of exploitability.
Why fingerprint instead of probing?
Safe exploit-level detection from outside is effectively impossible and would prove nothing useful, since the trigger lives in the application's own code. The fingerprint answers the operational question: which of our apps run a transport build that needs the fix.
Which versions are affected?
The transport packages react-server-dom-webpack, -turbopack and -parcel are affected across the 19.0, 19.1 and 19.2 lines, fixed in 19.0.9, 19.1.10, 19.2.9 and 19.3.1. Next.js 16.0.0 through 16.4.0 is affected, fixed in 16.4.1, and the 15.5.28 backport ships the fix. Verify the transport package version directly rather than trusting the Next.js version alone.
What is CVE-2026-126187?
Deserialization of untrusted data in the React Server Components Flight transport, disclosed with a fix in November 2026. No exploitation was reported at disclosure and the bug is not on CISA KEV.