Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3449: Incorrect Control Flow Scoping in @tootallnate/once

0
Medium
VulnerabilityCVE-2026-3449cvecve-2026-3449
Published: Tue Mar 03 2026 (03/03/2026, 05:00:01 UTC)
Source: CVE Database V5
Product: @tootallnate/once

Description

CVE-2026-3449 is a medium severity vulnerability in versions of the @tootallnate/once package prior to 3. 0. 1. The flaw arises from incorrect control flow scoping during promise resolution when the AbortSignal option is used. Specifically, if the signal is aborted, the associated Promise remains indefinitely pending, causing any await or . then() calls to hang. This behavior can lead to stalled requests, blocked worker threads, and degraded application availability. The vulnerability requires local access with low privileges and no user interaction, and it does not impact confidentiality or integrity. No known exploits are reported in the wild. Organizations using affected versions in asynchronous JavaScript environments should update to version 3.

AI-Powered Analysis

AILast updated: 03/03/2026, 05:32:50 UTC

Technical Analysis

The vulnerability identified as CVE-2026-3449 affects the @tootallnate/once package, a JavaScript utility commonly used to ensure a function is only executed once. Versions prior to 3.0.1 contain a flaw in the handling of promises when combined with the AbortSignal option. AbortSignal is a standard mechanism to abort asynchronous operations. In this case, if the AbortSignal triggers an abort, the promise does not resolve or reject but instead remains in a permanently pending state. This incorrect control flow scoping means that any code awaiting the promise or chaining .then() handlers will hang indefinitely. The root cause is improper cleanup or state transition logic when the abort event occurs, leading to a control-flow leak. This can cause significant issues in applications relying on timely promise resolution, including stalled HTTP requests, blocked event loop or worker threads, and overall degraded availability. The vulnerability requires local access with low privileges and no user interaction, indicating it is exploitable in scenarios where an attacker can trigger abort signals internally. The CVSS 4.8 score reflects medium severity, primarily due to the impact on availability and the limited attack vector. No known exploits have been reported, and no patches are linked in the provided data, but upgrading to version 3.0.1 or later is recommended to resolve the issue.

Potential Impact

The primary impact of CVE-2026-3449 is on application availability and reliability. Applications using the vulnerable @tootallnate/once package in asynchronous workflows that utilize AbortSignal may experience indefinite hangs on promises, leading to stalled requests and blocked worker threads. This can degrade user experience, cause timeouts, and potentially lead to denial of service conditions if critical asynchronous operations never complete. For organizations running high-availability services or real-time systems, this can translate into service disruptions and operational challenges. While confidentiality and integrity are not directly affected, the availability degradation can indirectly impact business continuity and customer trust. The vulnerability is particularly concerning in environments with heavy asynchronous processing, such as web servers, microservices, or serverless functions. Since exploitation requires local access with low privileges, attackers or malicious insiders with limited access could trigger the issue to disrupt service. The absence of known exploits reduces immediate risk, but the vulnerability should be addressed proactively to prevent future abuse.

Mitigation Recommendations

To mitigate CVE-2026-3449, organizations should upgrade the @tootallnate/once package to version 3.0.1 or later, where the issue has been resolved. If immediate upgrading is not feasible, developers should audit their use of AbortSignal with this package and implement timeout or fallback mechanisms to detect and recover from indefinitely pending promises. Adding monitoring to detect stalled asynchronous operations can help identify exploitation attempts or accidental hangs. Avoid relying solely on AbortSignal for critical control flow without additional safeguards. In environments where local access cannot be fully controlled, restrict permissions to limit the ability to trigger abort signals maliciously. Additionally, conduct code reviews and testing focused on promise handling and abort scenarios to ensure robust error and state management. Finally, maintain awareness of updates from the package maintainers and apply patches promptly.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
snyk
Date Reserved
2026-03-02T17:14:02.496Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69a66f1fd1a09e29cbd3d467

Added to database: 3/3/2026, 5:18:23 AM

Last enriched: 3/3/2026, 5:32:50 AM

Last updated: 3/3/2026, 8:00:53 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses