Intel

AIKIDO-2026-35472

node is vulnerable to Operation on a Resource after Expiration or Release

Operation on a Resource after Expiration or ReleaseCVE-2026-58041 Published 3 days ago

49

Medium Risk

This Affects:

OSnode
24.0.0 - 24.18.0
Fixed in 24.18.1
25.0.0 - 26.5.0
Fixed in 26.5.1
Are you affected? Scan for Free

TL;DR

In Node.js, node:sqlite SQLTagStore can replay a stale StatementSyncIterator after the underlying prepared statement has been reset and rebound with new parameters. Because the cached prepared statement continues executing, this can cause unintended re-execution of cached writes.

Who does this affect?

You are affected if you use node:sqlite DatabaseSync#createTagStore()/SQLTagStore statement caching and continue to use a StatementSyncIterator after its underlying statement has been reset and rebound with new parameters.

Background info

node is vulnerable to Operation on a Resource after Expiration or Release in versions 25.0.0 - 26.5.0 and 24.0.0 - 24.18.0.

How to fix this

Upgrade the node library to a patch version.