Poisoned Pipeline / Techniques / T0288
Return the command output in the framework's own error field
An exploit that runs attacker JavaScript inside a Node.js process needs a
way to read the result back over the same unauthenticated request. A
framework that serialises thrown errors into its production response gives
it one: the operator puts the command output into the error's digest
field, throws, and reads it out of the response body. No attacker
endpoint, no callback domain and no extra request are involved, so network
monitoring on the victim host sees a normal request and a normal error.
React2Keys used this in November 2026 against Next.js applications
vulnerable to React2Shell (CVE-2025-55182). A single unauthenticated POST
carried a crafted multipart body with a weaponised React Flight object;
prototype pollution made the server execute attacker JavaScript in the
live process, and the output came back inside the digest field of a
thrown Error, through Next.js's own production error handling. The exploit
re-sent the body at each redirect hop so that applications behind
auth-middleware redirects were not mistaken for patched, and classified
each host as vulnerable, patched or WAF-blocked from the shape of the
response.
This is not T0219, which writes secrets into a CI platform's log store,
and not T0156, which posts to a webhook. The channel is the target
application's own error contract, and it exists because the framework
chose to serialise error details to the client.
Where this idea came from
From React2Keys, where the React2Shell payload read command output from the digest field of a thrown Error serialised by Next.js production error handling, over the same unauthenticated POST that carried the exploit. Distinct from T0219 (CI log store) and T0156 (webhook).
Mitigations
None linked yet.
Detections
None linked yet.