workerd is vulnerable to Denial of Service (DoS)
67
Medium Risk
The JavaScript-backed ReadableStream implementation in workerd runs a stream's pull() callback while delivering a draining read result through an internal event. When pull() aborts the in-flight request during that draining read, the pump's coroutine frame is destroyed from inside the still-firing event, and the runtime aborts the whole process with a fatal Promise callback destroyed itself error. A request that triggers this abort can terminate the workerd process and take down other isolates sharing it, causing a denial of service. The fix moves the pump's isolate-lock work onto the request's task set and reaches the reader through a weak reference so dropping the pump no longer destroys a firing event or runs against a freed reader.
You are affected if you are using a version that falls within the vulnerable range and your Worker streams request or response bodies that can be aborted (for example through request cancellation) while a draining read is in progress.
workerd is vulnerable to Denial of Service (DoS) in versions 1.20260305.1 - 1.20260807.2.
Upgrade the workerd library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant