CVE-2026-58041 | BDVDB-2026-355148 Detail
nodejsnode
Description#
A flaw in Node.js node:sqlite allows a stale StatementSyncIterator created through DatabaseSync#createTagStore() to continue executing a cached prepared statement after it has been reset and rebound with new parameters. SQLTagStore resets cached statements using sqlite3_reset() directly, bypassing the iterator invalidation mechanism introduced for StatementSync in recent releases This vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.
Impact#
Per CVSS v3.0: confidentiality impact none, integrity impact high, availability impact none. Attack vector: network.
Weaknesses#
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References#
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.