@tootallnate/once vulnerable to Incorrect Control Flow Scoping
Low severity
GitHub Reviewed
Published
Mar 3, 2026
to the GitHub Advisory Database
•
Updated Mar 4, 2026
Description
Published by the National Vulnerability Database
Mar 3, 2026
Published to the GitHub Advisory Database
Mar 3, 2026
Last updated
Mar 4, 2026
Reviewed
Mar 4, 2026
Versions of the package @tootallnate/once before 3.0.1 are vulnerable to Incorrect Control Flow Scoping in promise resolving when AbortSignal option is used. The Promise remains in a permanently pending state after the signal is aborted, causing any await or .then() usage to hang indefinitely. This can cause a control-flow leak that can lead to stalled requests, blocked workers, or degraded application availability.
References