CVE-2026-3449

@tootallnate/once: @tootallnate/once: Denial of Service due to incorrect control flow scoping with AbortSignal

Published Mar 3, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Versions of @tootallnate/once earlier than 3.0.1 contain a flaw in how the library handles AbortSignal options. When the signal is aborted, the library fails to execute the proper control flow scoping, leaving the returned promise in a permanently pending state. Any code that awaits the promise or attaches a .then() handler will block indefinitely, potentially exhausting resources or halting further application logic. This behavior leads to degraded application availability and can evolve into a denial‑of‑service scenario if exploited in a long‑running or high‑traffic context.

Affected Systems

The vulnerability affects the Node.js package @tootallnate/once in all releases prior to version 3.0.1. Users whose code imports this package and passes an AbortSignal option while awaiting the resulting promise are susceptible to the issue.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity risk, while the EPSS score of less than 1 % points to a very low probability of exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The likely attack vector is through any JavaScript context that calls once with an AbortSignal – for example, server‑side API handlers or client‑side code that manages request cancellation. Successful exploitation would manifest as infinitely pending promises that consume event loop cycles or worker threads, effectively causing a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the @tootallnate/once package to version 3.0.1 or later to fix the incorrect control flow scoping flaw (CWE‑1322).
  • If an upgrade is not possible, modify your code to avoid passing an AbortSignal when invoking the library to bypass control‑flow leakage (CWE‑705).
  • Wrap calls to the promise in an explicit timeout or cancellation mechanism so that stalled promises do not block the event loop.

Generated by OpenCVE AI on April 17, 2026 at 13:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vpq2-c234-7xj6 @tootallnate/once vulnerable to Incorrect Control Flow Scoping
History
Type Values Removed Values Added
First Time appeared Tootallnate
Tootallnate once
Vendors & Products Tootallnate
Tootallnate once
Type Values Removed Values Added
Title @tootallnate/once: @tootallnate/once: Denial of Service due to incorrect control flow scoping with AbortSignal
Weaknesses CWE-1322
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Weaknesses CWE-705
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-1322

    Use of Blocking Code in Single-threaded, Non-blocking Context

  • CWE-705

    Incorrect Control Flow Scoping

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
May 4, 2026, 5:23 AM
Reserved
Mar 2, 2026, 5:14 PM
Status
Deferred
Published
Mar 3, 2026, 5:17 AM
Modified
Jun 17, 2026, 10:43 AM
Severity
Moderate
Public date
Mar 3, 2026, 5:00 AM