GitHub Advisory Database
GHSA-vpq2-c234-7xj6
@tootallnate/once vulnerable to Incorrect Control Flow Scoping
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @tootallnate/once | From 3.0.0 before 3.0.1 (fixed in 3.0.1) |
| npm | @tootallnate/once | All versions before 2.0.1 (fixed in 2.0.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3449
- https://github.com/TooTallNate/once/issues/8
- https://github.com/TooTallNate/once/commit/b9f43cc5259bee2952d91ad3cdbd201a82df448a
- https://github.com/TooTallNate/once
- https://github.com/TooTallNate/once/releases/tag/v2.0.1
- https://security.snyk.io/vuln/SNYK-JS-TOOTALLNATEONCE-15250612