CVE-2026-58041

MEDIUM CVSS 3.0: 5.3 EPSS 0.29%
Updated Aug 04, 2026
Node.js
Parameter Value
CVSS 5.3 (MEDIUM)
Type CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor Node.js
Public PoC No

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**.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.0

Vulnerable Products

nodejs:node